1 |
// Author E.Mocchiutti, modified 20060511 S.Orsi |
// Author E.Mocchiutti, modified 20060511 S.Orsi, modified 20070209 P. Hofverberg |
2 |
#ifndef AcLevel2_h |
#ifndef AcLevel2_h |
3 |
#define AcLevel2_h |
#define AcLevel2_h |
4 |
// |
// |
5 |
#include <TObject.h> |
#include <TObject.h> |
6 |
|
#include <TString.h> |
7 |
// |
// |
8 |
#include <AcStruct.h> |
#include <AcStruct.h> |
9 |
// |
// |
10 |
class AcLevel2 : public TObject { |
class AcLevel2 : public TObject { |
11 |
private: |
private: |
12 |
|
bool IsHit(TString); |
13 |
|
|
14 |
public: |
public: |
15 |
Int_t status[2]; |
Int_t status[2]; |
16 |
Int_t hitmap[2]; |
Int_t hitmap[2]; |
17 |
Int_t hitstatus[2]; |
Int_t hitstatus[2]; |
18 |
Int_t trigger[2]; |
Int_t trigger[2]; |
19 |
|
|
20 |
|
bool CAShit(TString card=""); // CAS hit? Default (main || extra). Arguments "main","extra" |
21 |
|
bool CARDhit(TString card=""); // CARD hit? Default (main || extra). Arguments "main" ,"extra" |
22 |
|
bool CAThit(TString card=""); // CAT hit? Default (main || extra). Arguments "main","extra" |
23 |
|
bool AChit(TString card=""); // AC hit? Default (main || extra). Arguments "main","extra" |
24 |
|
|
25 |
Int_t unpackError; // Emiliano |
Int_t unpackError; // Emiliano |
26 |
|
|
27 |
// constructor |
// constructor |
28 |
AcLevel2(); |
AcLevel2(); |
29 |
AcLevel2* GetAcLevel2(){return this;}; // Elena |
AcLevel2* GetAcLevel2(){return this;}; // Elena |