00001 00002 // DQHotColdElectronics 00003 // ==================== 00004 // This class monitors the TP singles summary blocks 00005 // and records electronics with hot/cold trigger rates. 00006 // The min/max rates are stored in f[Min/Max][Va/Qie]Rate 00007 00008 #ifndef DQHOTCOLDELECTRONICS_H 00009 #define DQHOTCOLDELECTRONICS_H 00010 00011 #include "RawData/RawTpSinglesSummaryBlock.h" 00012 #include "RawData/RawDigitDataBlock.h" 00013 #include "RawReadout.h" 00014 00015 #include "TObject.h" 00016 #include "TObjArray.h" 00017 00018 class DQHotColdElectronics : public TObject 00019 { 00020 00021 public: 00022 DQHotColdElectronics(); 00023 DQHotColdElectronics(const DQHotColdElectronics& rhs); 00024 ~DQHotColdElectronics(); 00025 00026 void Process(RawTpSinglesSummaryBlock* rdb); 00027 00028 Int_t GetTime() const; 00029 Int_t GetSource() const; 00030 Int_t GetNumberOfCrates() const; 00031 Int_t GetNumberOfCratesInReadout() const; 00032 Int_t GetColdChips(Int_t sm=0) const; 00033 Int_t GetHotChips(Int_t sm=0) const; 00034 00035 Int_t GetLast() const; 00036 TObject* At(Int_t i) const; 00037 00038 private: 00039 00040 Int_t fTime; 00041 Int_t fSource; 00042 Int_t fNumberOfCrates; 00043 Int_t fNumberOfCratesInReadout; 00044 Double_t fFrameTime; 00045 00046 Int_t fColdChipMask[2]; 00047 Int_t fHotChipMask[2]; 00048 00049 RawReadout* fRawReadout; 00050 00051 TObjArray* fHotColdElectronicsList; 00052 00053 ClassDef(DQHotColdElectronics,1); 00054 00055 }; 00056 00057 #endif
1.3.9.1