| 1 |
mocchiut |
1.7 |
// Author E.Mocchiutti, modified 20060511 S.Orsi, modified 20070209 P. Hofverberg |
| 2 |
mocchiut |
1.1 |
#ifndef AcLevel2_h |
| 3 |
|
|
#define AcLevel2_h |
| 4 |
|
|
// |
| 5 |
|
|
#include <TObject.h> |
| 6 |
mocchiut |
1.7 |
#include <TString.h> |
| 7 |
mocchiut |
1.6 |
// |
| 8 |
pam-fi |
1.4 |
#include <AcStruct.h> |
| 9 |
mocchiut |
1.1 |
// |
| 10 |
|
|
class AcLevel2 : public TObject { |
| 11 |
|
|
private: |
| 12 |
mocchiut |
1.7 |
bool IsHit(TString); |
| 13 |
mocchiut |
1.1 |
|
| 14 |
|
|
public: |
| 15 |
pam-se |
1.2 |
Int_t status[2]; |
| 16 |
|
|
Int_t hitmap[2]; |
| 17 |
|
|
Int_t hitstatus[2]; |
| 18 |
|
|
Int_t trigger[2]; |
| 19 |
mocchiut |
1.7 |
|
| 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 |
mocchiut |
1.6 |
Int_t unpackError; // Emiliano |
| 26 |
mocchiut |
1.7 |
|
| 27 |
mocchiut |
1.1 |
// constructor |
| 28 |
|
|
AcLevel2(); |
| 29 |
pam-se |
1.2 |
AcLevel2* GetAcLevel2(){return this;}; // Elena |
| 30 |
pam-fi |
1.4 |
void GetLevel2Struct(cAcLevel2 *) const; |
| 31 |
|
|
void SetFromLevel2Struct(cAcLevel2 *); |
| 32 |
|
|
|
| 33 |
mocchiut |
1.3 |
void Clear(); // emiliano |
| 34 |
mocchiut |
1.1 |
// |
| 35 |
mocchiut |
1.6 |
ClassDef(AcLevel2, 2); |
| 36 |
mocchiut |
1.1 |
}; |
| 37 |
|
|
|
| 38 |
|
|
|
| 39 |
mocchiut |
1.7 |
#endif |