1 |
#ifndef TrigLevel2_h |
#ifndef TrigLevel2_h |
2 |
#define TrigLevev2_h |
#define TrigLevel2_h |
3 |
// |
// |
4 |
#include <TObject.h> |
#include <TObject.h> |
5 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
6 |
|
|
7 |
|
#include <TrigStruct.h> |
8 |
|
|
9 |
class TrigLevel2 : public TObject { |
class TrigLevel2 : public TObject { |
10 |
private: |
private: |
11 |
|
|
12 |
public: |
public: |
13 |
int evcount; |
UInt_t evcount; |
14 |
int pmtpl[3]; |
UInt_t pmtpl[3]; |
15 |
int trigrate[6]; |
UInt_t trigrate[6]; |
16 |
int dltime[2]; |
UInt_t dltime[2]; |
17 |
int s4calcount[2]; |
UInt_t s4calcount[2]; |
18 |
int pmtcount1[24]; |
UInt_t pmtcount1[24]; |
19 |
int pmtcount2[24]; |
UInt_t pmtcount2[24]; |
20 |
int patternbusy[3]; |
UInt_t patternbusy[3]; |
21 |
int patterntrig[6]; |
UInt_t patterntrig[6]; |
22 |
int trigconf; |
UInt_t trigconf; |
23 |
|
Int_t unpackError; |
24 |
// |
// |
25 |
// here you can define methods to make life simplier during the analysis |
// here you can define methods to make life simplier during the analysis |
26 |
// |
// |
32 |
// |
// |
33 |
// 16 June 06: Included GetTrigLevel2 |
// 16 June 06: Included GetTrigLevel2 |
34 |
TrigLevel2* GetTrigLevel2(){return this;}; |
TrigLevel2* GetTrigLevel2(){return this;}; |
35 |
|
void SetFromLevel2Struct(cTrigLevel2 *l2); |
36 |
|
void GetLevel2Struct(cTrigLevel2 *l2) const; |
37 |
|
|
38 |
|
|
39 |
|
void Clear(); //emiliano |
40 |
|
|
41 |
ClassDef(TrigLevel2,1); |
ClassDef(TrigLevel2,2); |
42 |
}; |
}; |
43 |
|
|
44 |
#endif |
#endif |