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_
erhic::EventPepsi::genA2
Double32_t genA2
Needed to calculate g1.
Definition: EventPepsi.h:83
erhic::EventPepsi::gendilut
Double32_t gendilut
Needed to calculate g1.
Definition: EventPepsi.h:79
erhic::EventPepsi::geneta
Double32_t geneta
Needed to calculate g1.
Definition: EventPepsi.h:87
erhic::EventPepsi::D
Double32_t D
True variables needed to calculate g1
Definition: EventPepsi.h:75
erhic::EventPepsi::Dilute
Double32_t Dilute
True variables needed to calculate g1
Definition: EventPepsi.h:68
erhic::EventPepsi::genA1
Double32_t genA1
Needed to calculate g1.
Definition: EventPepsi.h:82
erhic
Definition: EventDis.cxx:14
erhic::EventPepsi::F2
Double32_t F2
True variables needed to calculate g1
Definition: EventPepsi.h:70
erhic::EventPepsi::geneps
Double32_t geneps
Needed to calculate g1.
Definition: EventPepsi.h:88
erhic::EventPepsi::DePol
Double32_t DePol
True variables needed to calculate g1
Definition: EventPepsi.h:74
erhic::EventPepsi::Eta
Double32_t Eta
True variables needed to calculate g1
Definition: EventPepsi.h:76
erhic::EventPepsi::trueY
Double32_t trueY
Generated y of the event.
Definition: EventPepsi.h:58
erhic::EventPepsi::trueNu
Double32_t trueNu
Generated nu of the event.
Definition: EventPepsi.h:62
erhic::EventPepsi::SigCorr
Double32_t SigCorr
Needed in the radiative correction code.
Definition: EventPepsi.h:90
erhic::EventPepsi::Chi
Double32_t Chi
True variables needed to calculate g1
Definition: EventPepsi.h:78
erhic::EventPepsi::genR
Double32_t genR
Needed to calculate g1.
Definition: EventPepsi.h:84
erhic::EventPepsi::trueX
Double32_t trueX
Generated x of the event.
Definition: EventPepsi.h:60
EventMC.h
erhic::EventPepsi::FixedWeight
Double32_t FixedWeight
Weight calculated from generation limits.
Definition: EventPepsi.h:63
erhic::EventPepsi::trueQ2
Double32_t trueQ2
Generated Q2 of the event.
Definition: EventPepsi.h:59
erhic::EventPepsi::radgamEnucl
Double32_t radgamEnucl
Definition: EventPepsi.h:91
erhic::EventPepsi::gend
Double32_t gend
Needed to calculate g1.
Definition: EventPepsi.h:86
erhic::EventPepsi::subprocess
Int_t subprocess
PEPSI subprocess LST(23)
Definition: EventPepsi.h:57
erhic::EventPepsi::Eps
Double32_t Eps
True variables needed to calculate g1
Definition: EventPepsi.h:77
erhic::EventPepsi::genDepol
Double32_t genDepol
Needed to calculate g1.
Definition: EventPepsi.h:85
erhic::EventPepsi::partontrck
Int_t partontrck
Number of parton track LST(26)
Definition: EventPepsi.h:55
erhic::EventPepsi::genchi
Double32_t genchi
Needed to calculate g1.
Definition: EventPepsi.h:89
erhic::EventPepsi::ExtraWeight
Double32_t ExtraWeight
PEPSI total cross section in pb from numerical integration PARL(23)
Definition: EventPepsi.h:66
erhic::EventPepsi::trueW2
Double32_t trueW2
Generated W2 of the event.
Definition: EventPepsi.h:61
erhic::EventPepsi::struckparton
Int_t struckparton
Parton hit in the target LST(25)
Definition: EventPepsi.h:54
erhic::EventPepsi::R
Double32_t R
True variables needed to calculate g1
Definition: EventPepsi.h:73
erhic::EventPepsi::genF1
Double32_t genF1
Needed to calculate g1.
Definition: EventPepsi.h:80
erhic::ParticleMC
Definition: erhic/ParticleMC.h:403
erhic::EventPepsi::nucleon
Int_t nucleon
PDG code of the hadron beam.
Definition: EventPepsi.h:53
erhic::EventPepsi::F1
Double32_t F1
True variables needed to calculate g1
Definition: EventPepsi.h:69
erhic::EventPepsi::ScatteredLepton
virtual const ParticleMC * ScatteredLepton() const
Returns a pointer to the scattered lepton, or NULL if it cannot be found.
Definition: EventPepsi.h:104
erhic::EventPepsi::A2
Double32_t A2
True variables needed to calculate g1
Definition: EventPepsi.h:72
erhic::EventPepsi
Describes an event from the generator PEPSI.
Definition: EventPepsi.h:26
erhic::EventPepsi::genevent
Int_t genevent
Trials required for this event.
Definition: EventPepsi.h:56
erhic::EventPepsi::Parse
virtual bool Parse(const std::string &)
Parses the event information from a text string with the following format (no newlines): \verbatime "...
Definition: EventPepsi.cxx:17
erhic::EventPepsi::Weight
Double32_t Weight
Total weight including everything.
Definition: EventPepsi.h:64
erhic::EventPepsi::A1
Double32_t A1
True variables needed to calculate g1
Definition: EventPepsi.h:71
erhic::EventPepsi::dxsec
Double32_t dxsec
Cross section included in the weight.
Definition: EventPepsi.h:65
erhic::EventMC::GetTrack
virtual const ParticleMC * GetTrack(UInt_t) const
Returns the nth track.
Definition: erhic/EventMC.h:227
erhic::EventMC
Abstract base class for DIS Monte Carlo events.
Definition: erhic/EventMC.h:30
erhic::EventPepsi::ExchangeBoson
virtual const ParticleMC * ExchangeBoson() const
Returns a pointer to the exchange boson, or NULL if it cannot be found.
Definition: EventPepsi.h:100
erhic::EventPepsi::genF2
Double32_t genF2
Needed to calculate g1.
Definition: EventPepsi.h:81