| 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 <TClonesArray.h> |
#include <TString.h> |
| 7 |
|
// |
| 8 |
|
#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 |
//ULong64_t OBT; |
|
| 20 |
//Int_t pro_num; |
bool CAShit(TString card=""); // CAS hit? Default (main || extra). Arguments "main","extra" |
| 21 |
//ULong64_t pkt_num; |
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 |
| 26 |
|
|
| 27 |
// constructor |
// constructor |
| 28 |
AcLevel2(); |
AcLevel2(); |
| 29 |
AcLevel2* GetAcLevel2(){return this;}; // Elena |
AcLevel2* GetAcLevel2(){return this;}; // Elena |
| 30 |
|
void GetLevel2Struct(cAcLevel2 *) const; |
| 31 |
|
void SetFromLevel2Struct(cAcLevel2 *); |
| 32 |
|
|
| 33 |
|
void Clear(); // emiliano |
| 34 |
// |
// |
| 35 |
ClassDef(AcLevel2, 1); |
ClassDef(AcLevel2, 2); |
| 36 |
}; |
}; |
| 37 |
|
|
| 38 |
|
|