#ifndef STNTUPLE_OBJ_TTl3d_hh #define STNTUPLE_OBJ_TTl3d_hh #include "TObject.h" #include "Stntuple/base/TBitset.hh" class TTl3d: public TObject { //------------------------------------------------------------------------------ // data members - this is initial version, not bitmap for modules yet //------------------------------------------------------------------------------ public: Short_t fNPaths; // # of paths Short_t fNModSeq; // # of module sequences Short_t fNModules; // ***** not implemented yet Short_t fL3ExeVersion; Short_t fPhysTable; Short_t fCalibJobSet; TBitset fPaths; // each bit is 1 is path passed //------------------------------------------------------------------------------ // functions //------------------------------------------------------------------------------ public: // ****** constructors and destructor TTl3d(); TTl3d(Int_t fNPaths); virtual ~TTl3d(); // ****** init methods Int_t Init (Int_t NPaths); // ****** accessors Int_t NPaths () { return fNPaths; } Int_t NModSeq () { return fNModSeq; } Int_t NModules () { return fNModules; } Int_t L3ExeVersion() { return fL3ExeVersion; } Int_t PhysTable () { return fPhysTable; } Int_t CalibJobSet () { return fCalibJobSet; } TBitset* Paths () { return &fPaths; } Int_t PathPassed(Int_t I) { return fPaths.GetBit(I); } Int_t NPassedPaths(); // ****** modifiers void SetL3ExeVersion(Int_t Version) { fL3ExeVersion = Version; } void SetNModSeq (Int_t NModSeq) { fNModSeq = NModSeq; } void SetPhysTable (Int_t Table ) { fPhysTable = Table ; } void SetCalibJobSet (Int_t JobSet ) { fCalibJobSet = JobSet ; } // ****** overloaded methods of TObject void Clear(Option_t* Opt = ""); void Print(Option_t* Opt = "") const; ClassDef(TTl3d,1) }; #endif