/[PAMELA software]/DarthVader/AnticounterLevel2/inc/AcLevel2.h
ViewVC logotype

Contents of /DarthVader/AnticounterLevel2/inc/AcLevel2.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Feb 12 08:17:19 2007 UTC (17 years, 9 months ago) by mocchiut
Branch: MAIN
Changes since 1.6: +11 -2 lines
File MIME type: text/plain
New method added in AcLevel2

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

  ViewVC Help
Powered by ViewVC 1.1.23