• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/cern-oct12/go4/TMbsCrateEvent.h (r4864/r3260)

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  * Put all definitions here and use them in processor,
00009  * since they are necessary for data structure of event
00010  */
00011 
00012 #define NUM_SCALERS 3
00013 #define N_SCALERS_CH 16
00014 
00015 // number of MADC modules
00016 #define MAX_MADC 4
00017 // number of channels in MADC module
00018 #define N_MADC_CHA 32
00019 
00020 // number of LeCroy 1182 modules
00021 #define MAX_1182 2
00022 // number of channels in LeCroy 1182 modules
00023 #define NUM_1182_CH 8
00024 
00025 // number of 1290 TDC modules
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       /* Variable indicate if data were produced by pulser */
00043       Bool_t fIsPulser;
00044 
00045       /* data of 1182 QDC*/
00046       UShort_t fData1182[MAX_1182][NUM_1182_CH];
00047       /* content of madc channels*/
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 

Generated on Tue Dec 10 2013 04:52:17 for ROCsoft by  doxygen 1.7.1