00001 #ifndef SCALERS_EVENT_H 00002 #define SCALERS_EVENT_H 00003 00004 00005 /* 00006 * Put all definitions here and use them in processor, 00007 * since they are necessary for data structure of event 00008 */ 00009 00010 #include "MBSUNPACK/MbsCrateDefines.h" 00011 #ifdef WITHGO4ROC 00012 #include "TGo4Version.h" 00013 #if __GO4BUILDVERSION__ > 40502 00014 #include "go4iostream.h" 00015 #endif 00016 #include "TTriglogEvent.h" 00017 #else 00018 #include <vector> 00019 #include "Riostream.h" 00020 #endif // WITHGO4ROC 00021 #include "TObject.h" 00022 00023 class Scalers_Event : public TObject { 00024 public: 00025 Scalers_Event() : TObject() { Clear(); }; 00026 ~Scalers_Event(){ Clear(); }; 00027 00029 void Clear(); 00030 00031 // Oct 12 00032 Double_t fDTimeSinceFirstEventSecondsTriglog; 00033 Double_t fDTimeSinceLastEventSecondsTriglog; 00034 00035 // Starting Nov 12 00036 Double_t fDTimeSinceFirstEventSecondsScalOrMu; 00037 Double_t fDTimeSinceLastEventSecondsScalOrMu; 00038 00039 Double_t fDTriglogRate[NUM_SCALERS][N_SCALERS_CH]; 00040 Double_t fDScalOrMuRate[SCALORMU_NB_SCAL]; 00041 00042 Double_t fDDetectorRate[SCALORMU_NB_SCAL]; 00043 00044 ClassDef(Scalers_Event,1) 00045 }; 00046 #endif //SCALERS_EVENT_H 00047 00048 00049