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
EventDjangoh.h
Go to the documentation of this file.
1 
10 #ifndef INCLUDE_EICSMEAR_ERHIC_EVENTDJANGOH_H_
11 #define INCLUDE_EICSMEAR_ERHIC_EVENTDJANGOH_H_
12 
13 #include <string>
14 
15 #include <Rtypes.h>
16 
17 #include "eicsmear/erhic/EventMC.h"
18 
19 namespace erhic {
20 
21 class ParticleMC;
22 
26 class EventDjangoh : public EventMC {
27  public:
43  virtual bool Parse(const std::string&);
44 
48  virtual const ParticleMC* ExchangeBoson() const;
49 
53  virtual const ParticleMC* ScatteredLepton() const;
54 
55  Int_t nucleon;
56  Int_t IChannel;
57  Int_t dprocess;
58  Int_t dstruckparton;
59  Int_t dpartontrck;
60  Double32_t dY;
61  Double32_t dQ2;
62  Double32_t dX;
63  Double32_t dW2;
64  Double32_t dNu;
65  Double32_t dtrueY;
66  Double32_t dtrueQ2;
67  Double32_t dtrueX;
68  Double32_t dtrueW2;
69  Double32_t dtrueNu;
70  Double32_t sigTot;
71  Double32_t sigTotErr;
72  Double32_t D;
73  Double32_t F1NC;
74  Double32_t F3NC;
75  Double32_t G1NC;
76  Double32_t G3NC;
77  Double32_t A1NC;
78  Double32_t F1CC;
79  Double32_t F3CC;
80  Double32_t G1CC;
81  Double32_t G5CC;
82 
83  ClassDef(erhic::EventDjangoh, 2)
84 };
85 
86 // DJANGOH gives particle output according to the LEPTO convention, whereby
87 // the exchange boson comes before the scattered lepton. This is different
88 // to the PYTHIA convention (lepton then boson), which is the default from
89 // EventMC.
90 inline const ParticleMC* EventDjangoh::ExchangeBoson() const {
91  return GetTrack(2);
92 }
93 
95  return GetTrack(3);
96 }
97 
98 } // namespace erhic
99 
100 #endif // INCLUDE_EICSMEAR_ERHIC_EVENTDJANGOH_H_
virtual const ParticleMC * ExchangeBoson() const
Definition: EventDjangoh.h:90
virtual const ParticleMC * ScatteredLepton() const
Definition: EventDjangoh.h:94
virtual const ParticleMC * GetTrack(UInt_t) const
Definition: EventMC.h:225
virtual bool Parse(const std::string &)