00001 00002 // DQLightInjection 00003 // ================ 00004 // This class monitors Light Injection blocks 00005 // (ADC summary block in LI stream, TPMT block in DAQMON stream) 00006 00007 #ifndef DQLIGHTINJECTION_H 00008 #define DQLIGHTINJECTION_H 00009 00010 #include "RawData/RawLIAdcSummaryBlock.h" 00011 #include "RawData/RawLiTpmtDigitsBlock.h" 00012 #include "RawReadout.h" 00013 00014 #include "TObject.h" 00015 #include "TObjArray.h" 00016 00017 class DQLightInjection : public TObject 00018 { 00019 00020 public: 00021 DQLightInjection(); 00022 DQLightInjection(const DQLightInjection& rhs); 00023 ~DQLightInjection(); 00024 00025 void Process(RawLIAdcSummaryBlock* rdb); 00026 void Process(RawLiTpmtDigitsBlock* rdb); 00027 00028 Int_t GetTime() const { return fTime; } 00029 Int_t GetCalibPoint() const { return fCalibPoint; } 00030 Int_t GetCalibType() const { return fCalibType; } 00031 Int_t GetPulserBox() const { return fPulserBox; } 00032 Int_t GetPulserLed() const { return fPulserLed; } 00033 Int_t GetPulseHeight() const { return fPulseHeight; } 00034 Int_t GetPulseWidth() const { return fPulseWidth; } 00035 00036 Int_t GetLast() const; 00037 TObject* At(Int_t i) const; 00038 00039 private: 00040 00041 Int_t fTime; 00042 Int_t fCalibPoint; 00043 Int_t fCalibType; 00044 Int_t fPulserBox; 00045 Int_t fPulserLed; 00046 Int_t fPulseHeight; 00047 Int_t fPulseWidth; 00048 00049 RawReadout* fRawReadout; 00050 00051 TObjArray* fTpmtHitList; 00052 00053 ClassDef(DQLightInjection,1); 00054 00055 }; 00056 00057 #endif
1.3.9.1