ATLAS Offline Software
Loading...
Searching...
No Matches
GenEvent_p4.h
Go to the documentation of this file.
1
2
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
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
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
142inline 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
double m_alphaQED
value of the QED coupling.
Definition GenEvent_p4.h:83
friend class McEventCollectionCnv_p4
Definition GenEvent_p4.h:29
double m_alphaQCD
value of the QCD coupling.
Definition GenEvent_p4.h:79
double m_eventScale
Energy scale.
Definition GenEvent_p4.h:75
std::vector< double > m_weights
Weights for this event.
Definition GenEvent_p4.h:94
int m_signalProcessId
Id of the processus being generated.
Definition GenEvent_p4.h:67
int m_eventNbr
Event number.
Definition GenEvent_p4.h:71
std::vector< double > m_pdfinfo
Container of HepMC::PdfInfo object translated to vector<double> for simplicity.
Definition GenEvent_p4.h:99
unsigned int m_verticesEnd
End position in the vector of vertices composing this event.
unsigned int m_particlesEnd
End position in the vector of particles composing this event.
GenEvent_p4()
Default constructor.
unsigned int m_verticesBegin
Begin position in the vector of vertices composing this event.
unsigned int m_particlesBegin
Begin position in the vector of particles composing this event.
int m_signalProcessVtx
Barcode of the GenVertex holding the signal process.
Definition GenEvent_p4.h:89
std::vector< long int > m_randomStates
Container of random numbers for the generator states.