#include NDLevel2::NDLevel2(){ this->Clear(); } void NDLevel2::Clear(){ upperBack = 0.; bottomBack = 0.; trigPhysics = 0.; unpackError = 0; } /** * Fills a struct cNDLevel2 with values from a NDLevel2 object (to put data into a F77 common). */ void NDLevel2::GetLevel2Struct(cNDLevel2 *l2) const{ l2->upperback = upperBack; l2->bottomback = bottomBack; l2->trigphysics = trigPhysics; } void NDLevel2::SetFromLevel2Struct(cNDLevel2 *l2){ upperBack = l2->upperback; bottomBack = l2->bottomback; trigPhysics = l2->trigphysics; } ClassImp(NDLevel2)