ATLAS Offline Software
Loading...
Searching...
No Matches
GenEvent_p3.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_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
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
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
135inline 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
std::vector< long int > m_randomStates
Container of random numbers for the generator states.
Definition GenEvent_p3.h:97
double m_eventScale
Energy scale.
Definition GenEvent_p3.h:74
int m_signalProcessVtx
Barcode of the GenVertex holding the signal process.
Definition GenEvent_p3.h:88
unsigned int m_verticesEnd
End position in the vector of vertices composing this event.
double m_alphaQED
value of the QED coupling.
Definition GenEvent_p3.h:82
unsigned int m_particlesEnd
End position in the vector of particles composing this event.
int m_signalProcessId
Id of the processus being generated.
Definition GenEvent_p3.h:66
std::vector< double > m_weights
Weights for this event.
Definition GenEvent_p3.h:93
GenEvent_p3()
Default constructor.
friend class McEventCollectionCnv_p3
Definition GenEvent_p3.h:29
unsigned int m_particlesBegin
Begin position in the vector of particles composing this event.
double m_alphaQCD
value of the QCD coupling.
Definition GenEvent_p3.h:78
int m_eventNbr
Event number.
Definition GenEvent_p3.h:70
unsigned int m_verticesBegin
Begin position in the vector of vertices composing this event.