EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EventPepsi.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EventPepsi.h
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 
68  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_