ER10Heto8HeEventHeader.h

Софья Рымжанова, 05/14/2020 03:28 PM

Download (1.35 KB)

 
1
#ifndef ER10Heto8HeEventHeader_H_
2
#define ER10Heto8HeEventHeader_H_
3

    
4
#include "TLorentzVector.h"
5
#include "TArrayI.h"
6

    
7
#include "FairMCEventHeader.h"
8

    
9
class ER10Heto8HeEventHeader : public FairMCEventHeader {
10
private:
11
  TVector3 fReactionPos;
12
  TLorentzVector fHe8b;
13
  TLorentzVector fHe8d;
14
  TLorentzVector fH3;
15
  TLorentzVector fH1;
16
  TLorentzVector fHe10;
17
  TLorentzVector fn1;
18
  TLorentzVector fn2;
19
  
20
  Int_t fTrigger = 0;
21
  Int_t fTriggerPriority = 0;
22
public:
23
  ER10Heto8HeEventHeader() : fTrigger(0), fTriggerPriority(0) {}
24
  void SetData(const TVector3& position, const TLorentzVector& He8b,
25
               const TLorentzVector& H3, const TLorentzVector& H1,
26
               const TLorentzVector& He8d, const TLorentzVector& He10,
27
               const TLorentzVector& n1, const TLorentzVector& n2);
28
  void SetTrigger(Int_t trigger) { fTrigger = trigger; }
29
  
30
  Int_t GetTrigger() const {return fTrigger;}
31
  Int_t GetTriggerPriority() const {return fTriggerPriority;}
32
  TLorentzVector GetHe8b() const { return fHe8b; }
33
  TLorentzVector GetH3() const { return fH3; }
34
  TLorentzVector GetH1() const { return fH1; }
35
  TLorentzVector GetHe8d() const { return fHe8d; }
36
  TLorentzVector GetHe10() const { return fHe10; }
37
  TLorentzVector GetN1() const { return fn1; }
38
  TLorentzVector GetN2() const { return fn2; }
39

    
40
  void Clear();
41

    
42
  ClassDef(ER10Heto8HeEventHeader,1)
43
};
44

    
45
#endif