| 1 |
pam-se |
1.1 |
#include <TObject.h> |
| 2 |
|
|
|
| 3 |
|
|
// |
| 4 |
|
|
// here the class of the data that will be saved in the ntuple |
| 5 |
|
|
// the content must be identical to the structure defined in cfltempl2struct.h |
| 6 |
|
|
// |
| 7 |
|
|
|
| 8 |
|
|
// class AnticounterLevel1 : public TObject { |
| 9 |
|
|
|
| 10 |
|
|
class AcLevel2 : public TObject { |
| 11 |
|
|
public: |
| 12 |
|
|
ClassDef(AcLevel2, 0); |
| 13 |
|
|
// AcLevel2() : TObject(){} |
| 14 |
|
|
AcLevel2(); // : TObject(){}; |
| 15 |
|
|
UShort_t status[2]; |
| 16 |
|
|
UShort_t hitmap[2]; |
| 17 |
|
|
UShort_t hitstatus[2]; |
| 18 |
|
|
UShort_t trigger[2]; |
| 19 |
|
|
ULong64_t OBT; |
| 20 |
|
|
Int_t pro_num; |
| 21 |
|
|
ULong64_t pkt_num; |
| 22 |
|
|
}; |
| 23 |
|
|
|
| 24 |
|
|
AcLevel2::AcLevel2() { |
| 25 |
|
|
status[0]=0; |
| 26 |
|
|
hitmap[0]=0; |
| 27 |
|
|
hitstatus[0]=0; |
| 28 |
|
|
trigger[0]=0; |
| 29 |
|
|
OBT=0ULL; |
| 30 |
|
|
pro_num=0; |
| 31 |
|
|
pkt_num=0ULL; |
| 32 |
|
|
status[1]=0; |
| 33 |
|
|
hitmap[1]=0; |
| 34 |
|
|
hitstatus[1]=0; |
| 35 |
|
|
trigger[1]=0; |
| 36 |
|
|
} |