--- DarthVader/AnticounterLevel2/inc/AcLevel2.h 2006/11/09 17:05:42 1.6 +++ DarthVader/AnticounterLevel2/inc/AcLevel2.h 2007/02/12 08:17:19 1.7 @@ -1,20 +1,29 @@ -// Author E.Mocchiutti, modified 20060511 S.Orsi +// Author E.Mocchiutti, modified 20060511 S.Orsi, modified 20070209 P. Hofverberg #ifndef AcLevel2_h #define AcLevel2_h // #include +#include // #include // class AcLevel2 : public TObject { private: + bool IsHit(TString); public: Int_t status[2]; Int_t hitmap[2]; Int_t hitstatus[2]; Int_t trigger[2]; + + bool CAShit(TString card=""); // CAS hit? Default (main || extra). Arguments "main","extra" + bool CARDhit(TString card=""); // CARD hit? Default (main || extra). Arguments "main" ,"extra" + bool CAThit(TString card=""); // CAT hit? Default (main || extra). Arguments "main","extra" + bool AChit(TString card=""); // AC hit? Default (main || extra). Arguments "main","extra" + Int_t unpackError; // Emiliano + // constructor AcLevel2(); AcLevel2* GetAcLevel2(){return this;}; // Elena