00001 #ifndef TRICHEVENT_H 00002 #define TRICHEVENT_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 00012 #define NUM_MAPMP_CELLS 1024 00013 #define MAPM_X 32 00014 #define MAPM_Y 32 00015 00016 #define NX_HISTORY 5 00017 00018 00019 00020 00021 00022 class TRICHEvent : public TGo4EventElement { 00023 public: 00024 TRICHEvent(); 00025 TRICHEvent(const char* name, Short_t id=0); 00026 virtual ~TRICHEvent(); 00027 00029 virtual void Clear(Option_t *t=""); 00030 00031 00032 /* adc values of MAPM and geometric cell coordinates */ 00033 Int_t fMAPM_Integral[NUM_MAPMP_CELLS]; // adc value 00034 Int_t fMAPM_Integral_raw[NUM_MAPMP_CELLS]; // raw adc value 00035 Double_t fMAPM_X[NUM_MAPMP_CELLS]; // x pos (bins) 00036 Double_t fMAPM_Y[NUM_MAPMP_CELLS]; // y pos (bins) 00037 Double_t fMAPM_Xcoord[NUM_MAPMP_CELLS]; // x coord (mm) 00038 Double_t fMAPM_Ycoord[NUM_MAPMP_CELLS]; // y coord (mm) 00039 ULong_t fMAPM_DeltaT[NUM_MAPMP_CELLS]; // message time difference relative to sync 00040 00041 ClassDef(TRICHEvent,1) 00042 }; 00043 #endif //TRICHEVENT_H 00044 00045 00046