EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventDjangoh.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EventDjangoh.h
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;
59  Int_t dpartontrck;
60  Int_t evtstatus;
61  Double32_t dY;
62  Double32_t dQ2;
63  Double32_t dX;
64  Double32_t dW2;
65  Double32_t dNu;
66  Double32_t dtrueY;
67  Double32_t dtrueQ2;
68  Double32_t dtrueX;
69  Double32_t dtrueW2;
70  Double32_t dtrueNu;
71  Double32_t sigTot;
72  Double32_t sigTotErr;
73  Double32_t D;
74  Double32_t F1NC;
75  Double32_t F3NC;
76  Double32_t G1NC;
77  Double32_t G3NC;
78  Double32_t A1NC;
79  Double32_t F1CC;
80  Double32_t F3CC;
81  Double32_t G1CC;
82  Double32_t G5CC;
83 
84  ClassDef(erhic::EventDjangoh, 2)
85 };
86 
87 // DJANGOH gives particle output according to the LEPTO convention, whereby
88 // the exchange boson comes before the scattered lepton. This is different
89 // to the PYTHIA convention (lepton then boson), which is the default from
90 // EventMC.
91 inline const ParticleMC* EventDjangoh::ExchangeBoson() const {
92  return GetTrack(2);
93 }
94 
96  return GetTrack(3);
97 }
98 
99 } // namespace erhic
100 
101 #endif // INCLUDE_EICSMEAR_ERHIC_EVENTDJANGOH_H_