00001 #ifndef TEXPLODEREVENT_H 00002 #define TEXPLODEREVENT_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 // Exploder id: 0 1 2 3 4 5 6 7 8 9 10 10 12 13 14 15 00013 // | | | | | | | | | | | | | | | | 00014 /* 00015 #define SFP0_EXP_IN_USE {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} // specify nr of Nxyters in use 00016 // (as function of Exploder id). 00017 #define SFP1_EXP_IN_USE {2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} // must be filled consecutively 00018 // begining with exploder index 0 00019 #define SFP2_EXP_IN_USE {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} // if 0 specified for exploder 00020 // index n, the last exploder used 00021 #define SFP3_EXP_IN_USE {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} // for a given sfp id is n-1. 00022 00023 */ 00024 00025 #define SFP0_EXP_IN_USE {0, 0, 0, 0} // specify nr of Nxyters in use 00026 // (as function of Exploder id). 00027 #define SFP1_EXP_IN_USE {2, 2, 0, 0} // must be filled consecutively 00028 // begining with exploder index 0 00029 #define SFP2_EXP_IN_USE {0, 0, 0, 0} // if 0 specified for exploder 00030 // index n, the last exploder used 00031 #define SFP3_EXP_IN_USE {0, 0, 0, 0} // for a given sfp id is n-1. 00032 00033 // if for exloder index 0 the number 00034 // Nxyters is 0, this SFP is not 00035 // used. 00036 // max is 4 Nxyter per exploder. 00037 //------------------------------------------------------------------------------------------------------- 00038 00039 //#define MAX_SFP 4 00040 //#define MAX_EXP 16 00041 //#define MAX_NXY 2 00042 //#define MAX_CHA 128 00043 #define MAX_SFP 2 00044 #define MAX_EXP 4 00045 #define MAX_NXY 2 00046 #define MAX_CHA 128 00047 00048 00049 00050 class TExploderEvent : public TGo4EventElement { 00051 public: 00052 00053 00054 TExploderEvent(); 00055 TExploderEvent(const char* name, Short_t id=0); 00056 virtual ~TExploderEvent(); 00057 00059 virtual void Clear(Option_t *t=""); 00060 00061 00062 ClassDef(TExploderEvent,1) 00063 }; 00064 #endif //TEVENT_H 00065 00066 00067