ATLAS Offline Software
GenEvent_p4.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // GenEvent_p2.h
8 // Header file for class GenEvent_p2
9 // Author: S.Binet<binet@cern.ch>
10 // Date: March 2007
12 #ifndef GENERATOROBJECTSTPCNV_GENEVENT_P4_H
13 #define GENERATOROBJECTSTPCNV_GENEVENT_P4_H
14 
15 // STL includes
16 #include <vector>
17 #include <utility> //> for std::pair
18 
19 // forward declarations
21 
23 {
25  // Friend classes
27 
28  // Make the AthenaPoolCnv class our friend
30 
32  // Public methods
34  public:
35 
38  GenEvent_p4();
39 
42  GenEvent_p4( int signalProcessId,
43  int eventNbr,
44  double eventScale,
45  double alphaQCD,
46  double alphaQED,
47  int signalProcessVtx,
48  const std::vector<double>& weights,
49  const std::vector<double>& pdfinfo,
50  const std::vector<long int>& randomStates,
51  unsigned int verticesBegin,
52  unsigned int verticesEnd,
53  unsigned int particlesBegin,
54  unsigned int particlesEnd );
55 
57  // Const methods:
59 
61  // Protected data:
63  protected:
64 
68 
72 
75  double m_eventScale;
76 
79  double m_alphaQCD;
80 
83  double m_alphaQED;
84 
90 
94  std::vector<double> m_weights;
95 
99  std::vector<double> m_pdfinfo;
100 
103  std::vector<long int> m_randomStates;
104 
107  unsigned int m_verticesBegin;
108 
111  unsigned int m_verticesEnd;
112 
115  unsigned int m_particlesBegin;
116 
119  unsigned int m_particlesEnd;
120 
121 };
122 
127  m_signalProcessId ( -1 ),
128  m_eventNbr ( -1 ),
129  m_eventScale ( -1 ),
130  m_alphaQCD ( -1 ),
131  m_alphaQED ( -1 ),
132  m_signalProcessVtx ( 0 ),
133  m_weights ( ),
134  m_pdfinfo ( ),
135  m_randomStates ( ),
136  m_verticesBegin ( 0 ),
137  m_verticesEnd ( 0 ),
138  m_particlesBegin ( 0 ),
139  m_particlesEnd ( 0 )
140 {}
141 
142 inline GenEvent_p4::GenEvent_p4( int signalProcessId,
143  int eventNbr,
144  double eventScale,
145  double alphaQCD,
146  double alphaQED,
147  int signalProcessVtx,
148  const std::vector<double>& weights,
149  const std::vector<double>& pdfinfo,
150  const std::vector<long int>& randomStates,
151  unsigned int verticesBegin,
152  unsigned int verticesEnd,
153  unsigned int particlesBegin,
154  unsigned int particlesEnd ) :
155  m_signalProcessId ( signalProcessId ),
156  m_eventNbr ( eventNbr ),
157  m_eventScale ( eventScale ),
158  m_alphaQCD ( alphaQCD ),
159  m_alphaQED ( alphaQED ),
160  m_signalProcessVtx ( signalProcessVtx ),
161  m_weights ( weights ),
162  m_pdfinfo ( pdfinfo ),
163  m_randomStates ( randomStates ),
164  m_verticesBegin ( verticesBegin ),
165  m_verticesEnd ( verticesEnd ),
166  m_particlesBegin ( particlesBegin ),
167  m_particlesEnd ( particlesEnd )
168 {}
169 
170 
171 
172 #endif //> GENERATOROBJECTSTPCNV_GENEVENT_P4_H
GenEvent_p4::m_randomStates
std::vector< long int > m_randomStates
Container of random numbers for the generator states.
Definition: GenEvent_p4.h:103
GenEvent_p4::m_verticesBegin
unsigned int m_verticesBegin
Begin position in the vector of vertices composing this event.
Definition: GenEvent_p4.h:107
GenEvent_p4
Definition: GenEvent_p4.h:23
GenEvent_p4::m_signalProcessVtx
int m_signalProcessVtx
Barcode of the GenVertex holding the signal process.
Definition: GenEvent_p4.h:89
GenEvent_p4::m_signalProcessId
int m_signalProcessId
Id of the processus being generated.
Definition: GenEvent_p4.h:67
GenEvent_p4::GenEvent_p4
GenEvent_p4()
Default constructor.
Definition: GenEvent_p4.h:126
GenEvent_p4::m_alphaQED
double m_alphaQED
value of the QED coupling.
Definition: GenEvent_p4.h:83
GenEvent_p4::m_verticesEnd
unsigned int m_verticesEnd
End position in the vector of vertices composing this event.
Definition: GenEvent_p4.h:111
GenEvent_p4::m_pdfinfo
std::vector< double > m_pdfinfo
Container of HepMC::PdfInfo object translated to vector<double> for simplicity.
Definition: GenEvent_p4.h:99
McEventCollectionCnv_p4
Definition: McEventCollectionCnv_p4.h:50
GenEvent_p4::m_weights
std::vector< double > m_weights
Weights for this event.
Definition: GenEvent_p4.h:94
GenEvent_p4::m_alphaQCD
double m_alphaQCD
value of the QCD coupling.
Definition: GenEvent_p4.h:79
GenEvent_p4::m_particlesEnd
unsigned int m_particlesEnd
End position in the vector of particles composing this event.
Definition: GenEvent_p4.h:119
GenEvent_p4::m_eventScale
double m_eventScale
Energy scale.
Definition: GenEvent_p4.h:75
GenEvent_p4::m_particlesBegin
unsigned int m_particlesBegin
Begin position in the vector of particles composing this event.
Definition: GenEvent_p4.h:115
GenEvent_p4::m_eventNbr
int m_eventNbr
Event number.
Definition: GenEvent_p4.h:71