]>
Commit | Line | Data |
---|---|---|
2f4cac02 | 1 | // $Id: AliJHeader.h,v 1.1 2008/05/02 11:56:23 djkim Exp $ |
2 | ||
3 | #ifndef ALIJHEADER_H | |
4 | #define ALIJHEADER_H | |
5 | ||
6 | ||
7 | //////////////////////////////////////////////////// | |
8 | /*! | |
9 | \file AliJHeader.h | |
10 | \brief | |
11 | \author J. Rak, D.J.Kim, R.Diaz (University of Jyvaskyla) | |
12 | \email: djkim@jyu.fi | |
13 | \version $Revision: 1.1 $ | |
14 | \date $Date: 2008/05/02 11:56:39 $ | |
15 | ||
16 | */ | |
17 | //////////////////////////////////////////////////// | |
18 | ||
19 | #ifndef ROOT_TObject | |
7d365db4 | 20 | //#include <TObject.h> |
2f4cac02 | 21 | #endif |
22 | ||
23 | #include "AliPhJBaseHeader.h" | |
24 | ||
7d365db4 | 25 | class TObject; |
2f4cac02 | 26 | |
27 | class AliJHeader : public AliPhJBaseHeader { | |
28 | ||
29 | public: | |
30 | ||
31 | AliJHeader(); // default constructor | |
32 | AliJHeader(int eventid, | |
33 | short cent, | |
34 | float vrtz, | |
35 | ULong64_t triggmaskAli, | |
36 | UInt_t triggmaskJC, | |
37 | Int_t refmult, | |
38 | UInt_t eventType | |
39 | ); | |
40 | ||
41 | AliJHeader(const AliJHeader& a); | |
42 | ||
43 | virtual ~AliJHeader(){;} // destructor | |
44 | ||
45 | ULong64_t GetTriggerMaskAlice() const {return fTriggerMaskAlice;} | |
46 | UInt_t GetTriggerMaskJCorran() const {return fTriggerMaskJCorran;} | |
47 | Int_t GetSPDTrackletMult() const {return fSPDTrackletMult;} | |
48 | UInt_t GetEventType() const {return fEventType;} | |
49 | ||
50 | void SetTriggerMaskAlice(ULong64_t mask) {fTriggerMaskAlice = mask;} | |
51 | void SetTriggerMaskJCorran(UInt_t mask) {fTriggerMaskJCorran = mask;} | |
52 | void SetSPDTrackletMult(Int_t ref) { fSPDTrackletMult = ref;} | |
53 | void SetEventType(UInt_t eventype) {fEventType = eventype;} | |
54 | ||
55 | AliJHeader& operator=(const AliJHeader& header); | |
56 | ||
57 | private: | |
58 | ||
59 | ULong64_t fTriggerMaskAlice; //Alice Trigger MASK | |
60 | UInt_t fTriggerMaskJCorran; // JCorran Trigger MASK | |
61 | Int_t fSPDTrackletMult; //SPD tracklet multiplicity | |
62 | UInt_t fEventType; // Type of Event | |
63 | ||
64 | ||
65 | ClassDef(AliJHeader,1) | |
66 | ||
67 | }; | |
68 | ||
69 | #endif |