00001 #ifndef TMBTdc_H 00002 #define TMBTdc_H 00003 00004 #ifndef ROOT_TObject 00005 #include "TObject.h" 00006 #endif 00007 00008 #include "TString.h" 00009 00010 /* 00011 TDC for FPD 00012 \ingroup reco 00013 */ 00014 class TMBTdc : public TObject { 00015 00016 00017 private: 00018 00019 // Data structure relevant for read out information from TDC boards. 00020 // There are 3 boards with 8 channels on every board , 00021 // in total 24 ID objects of the following type : 00022 00023 Int_t _TRaw; // raw time for given TDC channel 00024 Int_t _QTDC; 00025 Int_t _TDCR; 00026 Int_t _Halo; 00027 Int_t _Hit; 00028 Int_t _Crossing; 00029 Int_t _Turn; 00030 // Int_t _ID; // ID of the channel 00031 TString _detname; // detector name ( mapped from ID channel ) 00032 00033 public: 00034 00035 TMBTdc(); 00036 TMBTdc (Int_t TRaw, Int_t QTDC, Int_t TDCR, Int_t Halo, Int_t Hit, Int_t Crossing, Int_t Turn, TString _detname); 00037 ~TMBTdc(); 00038 // virtual ~TMBTdc() {;} 00039 00040 // Getters 00041 Int_t GetTRaw() const {return _TRaw;} 00042 Int_t GetQTDC() const {return _QTDC;} 00043 Int_t GetTDCR() const {return _TDCR;} 00044 Int_t GetHalo() const {return _Halo;} 00045 Int_t GetHit() const {return _Hit;} 00046 Int_t GetCrossing() const {return _Crossing;} 00047 Int_t GetTurn() const {return _Turn;} 00048 // Int_t GetID() const {return _ID;} 00049 TString GetDetName() const {return _detname;} 00050 00051 ClassDef(TMBTdc, 1) // TMBTdc class 00052 00053 }; 00054 00055 #endif 00056
1.3.4