eic-smear  1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
EventPepsi.h
Go to the documentation of this file.
1 
10 #ifndef INCLUDE_EICSMEAR_ERHIC_EVENTPEPSI_H_
11 #define INCLUDE_EICSMEAR_ERHIC_EVENTPEPSI_H_
12 
13 #include <string>
14 
15 #include <Rtypes.h>
16 
17 #include "eicsmear/erhic/EventMC.h"
18 
19 namespace erhic {
20 
26 class EventPepsi : public EventMC {
27  public:
41  virtual bool Parse(const std::string&);
42 
46  virtual const ParticleMC* ExchangeBoson() const;
47 
51  virtual const ParticleMC* ScatteredLepton() const;
52 
53  Int_t nucleon;
54  Int_t struckparton;
55  Int_t partontrck;
56  Int_t genevent;
57  Int_t subprocess;
58  Double32_t trueY;
59  Double32_t trueQ2;
60  Double32_t trueX;
61  Double32_t trueW2;
62  Double32_t trueNu;
63  Double32_t FixedWeight;
64  Double32_t Weight;
65  Double32_t dxsec;
66  Double32_t ExtraWeight;
67  Double32_t Dilute;
69  Double32_t F1;
70  Double32_t F2;
71  Double32_t A1;
72  Double32_t A2;
73  Double32_t R;
74  Double32_t DePol;
75  Double32_t D;
76  Double32_t Eta;
77  Double32_t Eps;
78  Double32_t Chi;
79  Double32_t gendilut;
80  Double32_t genF1;
81  Double32_t genF2;
82  Double32_t genA1;
83  Double32_t genA2;
84  Double32_t genR;
85  Double32_t genDepol;
86  Double32_t gend;
87  Double32_t geneta;
88  Double32_t geneps;
89  Double32_t genchi;
90  Double32_t SigCorr;
91  Double32_t radgamEnucl;
92 
93  ClassDef(erhic::EventPepsi, 1)
94 };
95 
96 // DJANGOH gives particle output according to the LEPTO convention, whereby
97 // the exchange boson comes before the scattered lepton. This is different
98 // to the PYTHIA convention (lepton then boson), which is the default from
99 // EventMC.
100 inline const ParticleMC* EventPepsi::ExchangeBoson() const {
101  return GetTrack(2);
102 }
103 
105  return GetTrack(3);
106 }
107 
108 } // namespace erhic
109 
110 #endif // INCLUDE_EICSMEAR_ERHIC_EVENTPEPSI_H_
Double32_t Weight
Total weight including everything.
Definition: EventPepsi.h:64
Double32_t SigCorr
Needed in the radiative correction code.
Definition: EventPepsi.h:90
Double32_t A1
True variables needed to calculate g1
Definition: EventPepsi.h:71
Double32_t ExtraWeight
Definition: EventPepsi.h:66
virtual const ParticleMC * ExchangeBoson() const
Definition: EventPepsi.h:100
Double32_t geneps
Needed to calculate g1.
Definition: EventPepsi.h:88
Double32_t gendilut
Needed to calculate g1.
Definition: EventPepsi.h:79
Double32_t FixedWeight
Weight calculated from generation limits.
Definition: EventPepsi.h:63
Double32_t trueQ2
Generated Q2 of the event.
Definition: EventPepsi.h:59
Double32_t DePol
True variables needed to calculate g1
Definition: EventPepsi.h:74
virtual const ParticleMC * ScatteredLepton() const
Definition: EventPepsi.h:104
Double32_t genA1
Needed to calculate g1.
Definition: EventPepsi.h:82
Double32_t D
True variables needed to calculate g1
Definition: EventPepsi.h:75
Double32_t F1
True variables needed to calculate g1
Definition: EventPepsi.h:69
Double32_t R
True variables needed to calculate g1
Definition: EventPepsi.h:73
Double32_t genR
Needed to calculate g1.
Definition: EventPepsi.h:84
Double32_t Eta
True variables needed to calculate g1
Definition: EventPepsi.h:76
Double32_t genF2
Needed to calculate g1.
Definition: EventPepsi.h:81
Double32_t Dilute
True variables needed to calculate g1
Definition: EventPepsi.h:68
Double32_t genA2
Needed to calculate g1.
Definition: EventPepsi.h:83
Double32_t geneta
Needed to calculate g1.
Definition: EventPepsi.h:87
Int_t genevent
Trials required for this event.
Definition: EventPepsi.h:56
Double32_t Chi
True variables needed to calculate g1
Definition: EventPepsi.h:78
Double32_t trueW2
Generated W2 of the event.
Definition: EventPepsi.h:61
Double32_t A2
True variables needed to calculate g1
Definition: EventPepsi.h:72
Double32_t dxsec
Cross section included in the weight.
Definition: EventPepsi.h:65
Int_t struckparton
Parton hit in the target LST(25)
Definition: EventPepsi.h:54
Double32_t genDepol
Needed to calculate g1.
Definition: EventPepsi.h:85
Double32_t trueNu
Generated nu of the event.
Definition: EventPepsi.h:62
virtual const ParticleMC * GetTrack(UInt_t) const
Definition: EventMC.h:225
Double32_t genF1
Needed to calculate g1.
Definition: EventPepsi.h:80
Int_t partontrck
Number of parton track LST(26)
Definition: EventPepsi.h:55
Int_t subprocess
PEPSI subprocess LST(23)
Definition: EventPepsi.h:57
Int_t nucleon
PDG code of the hadron beam.
Definition: EventPepsi.h:53
Double32_t trueY
Generated y of the event.
Definition: EventPepsi.h:58
virtual bool Parse(const std::string &)
Definition: EventPepsi.cxx:17
Double32_t gend
Needed to calculate g1.
Definition: EventPepsi.h:86
Double32_t F2
True variables needed to calculate g1
Definition: EventPepsi.h:70
Double32_t genchi
Needed to calculate g1.
Definition: EventPepsi.h:89
Double32_t trueX
Generated x of the event.
Definition: EventPepsi.h:60
Double32_t Eps
True variables needed to calculate g1
Definition: EventPepsi.h:77