er  dev
EREXP1811EventHeader.h
1 #ifndef EREXP1811EventHeader_H_
2 #define EREXP1811EventHeader_H_
3 
4 #include "TLorentzVector.h"
5 #include "TArrayI.h"
6 
7 #include "FairMCEventHeader.h"
8 
9 class EREXP1811EventHeader : public FairMCEventHeader {
10 private:
11  TVector3 fReactionPos;
12  TLorentzVector fHe8;
13  TLorentzVector fH2;
14  TLorentzVector fH3;
15  TLorentzVector fHe3;
16  TLorentzVector fH7;
17  TLorentzVector fn1;
18  TLorentzVector fn2;
19  TLorentzVector fn3;
20  TLorentzVector fn4;
21  Int_t fTrigger = 0;
22  Int_t fTriggerPriority = 0;
23 public:
24  EREXP1811EventHeader() : fTrigger(0), fTriggerPriority(0) {}
25  void SetData(const TVector3& position, const TLorentzVector& He8,
26  const TLorentzVector& H2, const TLorentzVector& He3,
27  const TLorentzVector& H3, const TLorentzVector& H7,
28  const TLorentzVector& n1, const TLorentzVector& n2,
29  const TLorentzVector& n3, const TLorentzVector& n4);
30  void SetTrigger(Int_t trigger) { fTrigger = trigger; }
31 
32  Int_t GetTrigger() const {return fTrigger;}
33  Int_t GetTriggerPriority() const {return fTriggerPriority;}
34  TLorentzVector GetHe8() const { return fHe8; }
35  TLorentzVector GetH2() const { return fH2; }
36  TLorentzVector GetHe3() const { return fHe3; }
37  TLorentzVector GetH3() const { return fH3; }
38  TLorentzVector GetH7() const { return fH7; }
39  TLorentzVector GetN1() const { return fn1; }
40  TLorentzVector GetN2() const { return fn2; }
41  TLorentzVector GetN3() const { return fn3; }
42  TLorentzVector GetN4() const { return fn4; }
43 
44  void Clear();
45 
46  ClassDef(EREXP1811EventHeader,1)
47 };
48 
49 #endif