00001 #ifndef TSCALERSEVENT_H 00002 #define TSCALERSEVENT_H 00003 00004 #include "TGo4EventElement.h" 00005 00006 /* 00007 * Put all definitions here and use them in processor, 00008 * since they are necessary for data structure of event 00009 */ 00010 00011 #include "MBSUNPACK/TMbsCrateEvent.h" 00012 #include "TTriglogEvent.h" 00013 00014 class TScalersEvent : public TGo4EventElement { 00015 public: 00016 00017 00018 TScalersEvent(); 00019 TScalersEvent(const char* name, Short_t id=0); 00020 virtual ~TScalersEvent(); 00021 00023 virtual void Clear(Option_t *t=""); 00024 00025 // Oct 12 00026 Double_t fDTimeSinceFirstEventSecondsTriglog; 00027 Double_t fDTimeSinceLastEventSecondsTriglog; 00028 00029 #if SCALORMU_NB_SCAL != 16 00030 // Starting Nov 12 00031 Double_t fDTimeSinceFirstEventSecondsScalOrMuRate; 00032 Double_t fDTimeSinceLastEventSecondsScalOrMuRate; 00033 #endif 00034 Double_t fDTriglogRate[NUM_SCALERS][N_SCALERS_CH]; 00035 Double_t fDScalOrMuRate[SCALORMU_NB_SCAL]; 00036 00037 Double_t fDDetectorRate[SCALORMU_NB_SCAL]; 00038 00039 ClassDef(TScalersEvent,1) 00040 }; 00041 #endif //TSCALERSEVENT_H 00042 00043 00044