Go to the documentation of this file.00001 #ifndef TMBSCRATEEVENT_H
00002 #define TMBSCRATEEVENT_H
00003
00004 #include "TGo4EventElement.h"
00005
00006 #include "T1290Data.h"
00007
00008
00009
00010
00011
00012 #define NUM_SCALERS 3
00013 #define N_SCALERS_CH 16
00014
00015
00016 #define MAX_MADC 4
00017
00018 #define N_MADC_CHA 32
00019
00020
00021 #define MAX_1182 2
00022
00023 #define NUM_1182_CH 8
00024
00025
00026 #define MAX_1290 7
00027
00028
00029 class TMbsCrateEvent : public TGo4EventElement {
00030
00031 public:
00032
00033 TMbsCrateEvent();
00034 TMbsCrateEvent(const char* name, Short_t id=0);
00035 virtual ~TMbsCrateEvent();
00036
00038 virtual void Clear(Option_t *t="");
00039
00040 Bool_t IsPulser() const { return fIsPulser; }
00041
00042
00043 Bool_t fIsPulser;
00044
00045
00046 UShort_t fData1182[MAX_1182][NUM_1182_CH];
00047
00048 UShort_t fMadc[MAX_MADC][N_MADC_CHA];
00049
00051 T1290Data fMtdc[MAX_1290];
00052
00053 ClassDef(TMbsCrateEvent,1)
00054 };
00055
00056 #endif //TEVENT_H
00057