--- DarthVader/AnticounterLevel2/inc/AcLevel2.h 2007/02/13 09:53:07 1.8 +++ DarthVader/AnticounterLevel2/inc/AcLevel2.h 2007/03/15 12:56:26 1.9 @@ -1,4 +1,8 @@ -// Author E.Mocchiutti, modified 20060511 S.Orsi, modified 20070209 P. Hofverberg +/** + * \file inc/AcLevel2.h + * \author Petter Hofverberg + */ + #ifndef AcLevel2_h #define AcLevel2_h // @@ -7,30 +11,34 @@ // #include // +/** + * \Anticounter Level2 class + **/ 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 status[2]; ///< the status word [0] main board, [1] extra board. 0x0 means ok + Int_t hitmap[2]; ///< 16 bit binary hitmap. 1-hit, 0-not hit. Use XHit-functions instead of this + Int_t hitstatus[2]; ///< if hit is correlated with trigger. 1-yes, 0-no. This is checked in XHit-functions + Int_t trigger[2]; ///