// ------------------------------------------------------------------------- // ----- PndSdsCell header file ----- // ----- Created by A. Karavdina ----- // ------------------------------------------------------------------------- /** PndSdsCell.h *@author A.Karavdina ** ** A container for a cell (straight track's segment) **/ #ifndef PNDSDSCELL_H #define PNDSDSCELL_H #include #include #include "TObject.h" class PndSdsCell : public TObject { public: /** Default constructor (not for use) **/ PndSdsCell(); PndSdsCell(unsigned int hitUp, unsigned int hitDw); /** Destructor **/ ~PndSdsCell(); /** Accessors **/ void SetHitUp(unsigned int &ih){fhit_upstream = ih;} void SetHitDw(unsigned int &ih){fhit_downstream = ih;} void SetPV(int &ipv){fpv = ipv;} int GetHitUp(){ return fhit_upstream; } int GetHitDw(){ return fhit_downstream; } int GetPV(){return fpv;} private: unsigned int fhit_upstream; // hit upstream unsigned int fhit_downstream; // hit downstream int fpv;// cell position in evolution /* Int_t fsecMC; ///< unique sensor ID */ /* bool fisMerged; */ ClassDef(PndSdsCell,1); }; #endif