00001 #ifndef TTRIGLOGEVENT_H 00002 #define TTRIGLOGEVENT_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 #define NUM_SCALERS 3 00012 #define N_SCALERS_CH 16 00013 00014 class TTriglogEvent : public TGo4EventElement { 00015 00016 public: 00017 00018 TTriglogEvent(); 00019 TTriglogEvent(const char* name, Short_t id=0); 00020 virtual ~TTriglogEvent(); 00021 00023 virtual void Clear(Option_t *t=""); 00024 00025 /* system time from mbs, seconds since 1970*/ 00026 UInt_t fMbsTimeSecs; 00027 /* system time from mbs, microseconds since fMbsTimeSecs*/ 00028 UInt_t fMbsTimeMillisec; 00029 /* vulom trigger sync number*/ 00030 UInt_t fVulomSyncNumber; 00031 /* vulom trigger pattern*/ 00032 UInt_t fVulomTriggerPattern; 00033 /* scaler contents*/ 00034 UInt_t fVulomScaler[NUM_SCALERS][N_SCALERS_CH]; // VULOM scaler contents 00035 00036 ClassDef(TTriglogEvent,1) 00037 }; 00038 00039 #endif 00040