ATLAS Offline Software
GenEvent_p3.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_P3_H
13 #define GENERATOROBJECTSTPCNV_GENEVENT_P3_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_p3();
39 
42  GenEvent_p3( 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<long int>& randomStates,
50  unsigned int verticesBegin,
51  unsigned int verticesEnd,
52  unsigned int particlesBegin,
53  unsigned int particlesEnd );
54 
56  // Const methods:
58 
60  // Protected data:
62  protected:
63 
67 
71 
74  double m_eventScale;
75 
78  double m_alphaQCD;
79 
82  double m_alphaQED;
83 
89 
93  std::vector<double> m_weights;
94 
97  std::vector<long int> m_randomStates;
98 
101  unsigned int m_verticesBegin;
102 
105  unsigned int m_verticesEnd;
106 
109  unsigned int m_particlesBegin;
110 
113  unsigned int m_particlesEnd;
114 
115 };
116 
121  m_signalProcessId ( -1 ),
122  m_eventNbr ( -1 ),
123  m_eventScale ( -1 ),
124  m_alphaQCD ( -1 ),
125  m_alphaQED ( -1 ),
126  m_signalProcessVtx ( 0 ),
127  m_weights ( ),
128  m_randomStates ( ),
129  m_verticesBegin ( 0 ),
130  m_verticesEnd ( 0 ),
131  m_particlesBegin ( 0 ),
132  m_particlesEnd ( 0 )
133 {}
134 
135 inline GenEvent_p3::GenEvent_p3( int signalProcessId,
136  int eventNbr,
137  double eventScale,
138  double alphaQCD,
139  double alphaQED,
140  int signalProcessVtx,
141  const std::vector<double>& weights,
142  const std::vector<long int>& randomStates,
143  unsigned int verticesBegin,
144  unsigned int verticesEnd,
145  unsigned int particlesBegin,
146  unsigned int particlesEnd ) :
147  m_signalProcessId ( signalProcessId ),
148  m_eventNbr ( eventNbr ),
149  m_eventScale ( eventScale ),
150  m_alphaQCD ( alphaQCD ),
151  m_alphaQED ( alphaQED ),
152  m_signalProcessVtx ( signalProcessVtx ),
153  m_weights ( weights ),
154  m_randomStates ( randomStates ),
155  m_verticesBegin ( verticesBegin ),
156  m_verticesEnd ( verticesEnd ),
157  m_particlesBegin ( particlesBegin ),
158  m_particlesEnd ( particlesEnd )
159 {}
160 
161 
162 
163 #endif //> GENERATOROBJECTSTPCNV_GENEVENT_P3_H
GenEvent_p3
Definition: GenEvent_p3.h:23
McEventCollectionCnv_p3
Definition: McEventCollectionCnv_p3.h:47
GenEvent_p3::m_verticesBegin
unsigned int m_verticesBegin
Begin position in the vector of vertices composing this event.
Definition: GenEvent_p3.h:101
GenEvent_p3::m_alphaQCD
double m_alphaQCD
value of the QCD coupling.
Definition: GenEvent_p3.h:78
GenEvent_p3::m_signalProcessId
int m_signalProcessId
Id of the processus being generated.
Definition: GenEvent_p3.h:66
GenEvent_p3::m_particlesEnd
unsigned int m_particlesEnd
End position in the vector of particles composing this event.
Definition: GenEvent_p3.h:113
GenEvent_p3::m_alphaQED
double m_alphaQED
value of the QED coupling.
Definition: GenEvent_p3.h:82
GenEvent_p3::m_eventScale
double m_eventScale
Energy scale.
Definition: GenEvent_p3.h:74
GenEvent_p3::m_particlesBegin
unsigned int m_particlesBegin
Begin position in the vector of particles composing this event.
Definition: GenEvent_p3.h:109
GenEvent_p3::m_eventNbr
int m_eventNbr
Event number.
Definition: GenEvent_p3.h:70
GenEvent_p3::m_verticesEnd
unsigned int m_verticesEnd
End position in the vector of vertices composing this event.
Definition: GenEvent_p3.h:105
GenEvent_p3::m_weights
std::vector< double > m_weights
Weights for this event.
Definition: GenEvent_p3.h:93
GenEvent_p3::GenEvent_p3
GenEvent_p3()
Default constructor.
Definition: GenEvent_p3.h:120
GenEvent_p3::m_signalProcessVtx
int m_signalProcessVtx
Barcode of the GenVertex holding the signal process.
Definition: GenEvent_p3.h:88
GenEvent_p3::m_randomStates
std::vector< long int > m_randomStates
Container of random numbers for the generator states.
Definition: GenEvent_p3.h:97