ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
GeneratorObjectsTPCnv
GeneratorObjectsTPCnv
GenParticle_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
// GenParticle_p3.h
8
// Header file for class GenParticle_p3
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef GENERATOROBJECTSTPCNV_GENPARTICLE_P3_H
12
#define GENERATOROBJECTSTPCNV_GENPARTICLE_P3_H
13
14
// STL includes
15
#include <vector>
16
#include <utility>
//> for std::pair
17
18
// Forward declaration
19
class
McEventCollectionCnv_p3
;
20
21
class
GenParticle_p3
22
{
23
// Make the AthenaPoolCnv class our friend
24
friend
class
McEventCollectionCnv_p3
;
25
27
// Public methods:
29
public
:
30
33
GenParticle_p3
();
34
37
GenParticle_p3
(
const
double
px,
const
double
py,
const
double
pz,
38
const
double
mass,
const
int
pdgId,
39
const
int
status,
40
const
std::size_t flowSize,
41
const
double
thetaPolarization,
42
const
double
phiPolarization,
43
const
int
prodVtx,
44
const
int
endVtx,
45
const
int
barcode,
46
const
short
recoMethod );
47
49
// Const methods:
51
53
// Non-const methods:
55
57
// Protected data:
59
protected
:
60
63
float
m_px
;
64
67
float
m_py
;
68
71
float
m_pz
;
72
75
float
m_m
;
76
79
int
m_pdgId
;
80
83
int
m_status
;
84
87
std::vector< std::pair<int, int> >
m_flow
;
88
91
//std::pair<double, double> m_polarization;
92
95
float
m_thetaPolarization
;
96
99
float
m_phiPolarization
;
100
104
int
m_prodVtx
;
105
109
int
m_endVtx
;
110
114
int
m_barcode
;
115
124
short
m_recoMethod
;
125
};
126
130
131
inline
GenParticle_p3::GenParticle_p3
():
132
m_px
( 0 ),
133
m_py
( 0 ),
134
m_pz
( 0 ),
135
m_m
( 0 ),
136
m_pdgId
( 0 ),
137
m_status
( 0 ),
138
m_flow
( 0 ),
139
m_thetaPolarization
( 0. ),
140
m_phiPolarization
( 0. ),
141
m_prodVtx
( 0 ),
142
m_endVtx
( 0 ),
143
m_barcode
( 0 ),
144
m_recoMethod
( 0 )
145
{}
146
147
inline
GenParticle_p3::GenParticle_p3
(
const
double
px,
148
const
double
py,
149
const
double
pz,
150
const
double
m,
151
const
int
pdgId,
152
const
int
status,
153
const
std::size_t flowSize,
154
const
double
thetaPolarization,
155
const
double
phiPolarization,
156
const
int
prodVtx,
157
const
int
endVtx,
158
const
int
barcode,
159
const
short
recoMethod ):
160
m_px
( px ),
161
m_py
( py ),
162
m_pz
( pz ),
163
m_m
( m ),
164
m_pdgId
( pdgId ),
165
m_status
( status ),
166
m_flow
( flowSize ),
167
m_thetaPolarization
( thetaPolarization ),
168
m_phiPolarization
( phiPolarization ),
169
m_prodVtx
( prodVtx ),
170
m_endVtx
( endVtx ),
171
m_barcode
( barcode ),
172
m_recoMethod
( recoMethod )
173
{}
174
175
#endif
//> GENERATOROBJECTSTPCNV_GENPARTICLE_P3_H
GenParticle_p3::m_pz
float m_pz
z-component of the 4-momentum of this particle
Definition
GenParticle_p3.h:71
GenParticle_p3::m_status
int m_status
Status of this particle.
Definition
GenParticle_p3.h:83
GenParticle_p3::m_phiPolarization
float m_phiPolarization
phi polarization
Definition
GenParticle_p3.h:99
GenParticle_p3::m_recoMethod
short m_recoMethod
switch to know which method to chose to better recover the original HepLorentzVector.
Definition
GenParticle_p3.h:124
GenParticle_p3::GenParticle_p3
GenParticle_p3()
Default constructor:
Definition
GenParticle_p3.h:131
GenParticle_p3::m_barcode
int m_barcode
barcode of this particles (uniquely identifying this particle within a given GenEvent)
Definition
GenParticle_p3.h:114
GenParticle_p3::m_m
float m_m
m-component of the 4-momentum of this particle
Definition
GenParticle_p3.h:75
GenParticle_p3::m_prodVtx
int m_prodVtx
Barcode of the production vertex of this particle.
Definition
GenParticle_p3.h:104
GenParticle_p3::m_px
float m_px
x-component of the 4-momentum of this particle
Definition
GenParticle_p3.h:63
GenParticle_p3::m_flow
std::vector< std::pair< int, int > > m_flow
Flow for this particle.
Definition
GenParticle_p3.h:87
GenParticle_p3::m_py
float m_py
y-component of the 4-momentum of this particle
Definition
GenParticle_p3.h:67
GenParticle_p3::m_endVtx
int m_endVtx
Barcode of the decay vertex of this particle.
Definition
GenParticle_p3.h:109
GenParticle_p3::m_pdgId
int m_pdgId
identity of this particle, according to the Particle Data Group notation
Definition
GenParticle_p3.h:79
GenParticle_p3::McEventCollectionCnv_p3
friend class McEventCollectionCnv_p3
Definition
GenParticle_p3.h:24
GenParticle_p3::m_thetaPolarization
float m_thetaPolarization
polarization
Definition
GenParticle_p3.h:95
McEventCollectionCnv_p3
Definition
McEventCollectionCnv_p3.h:37
Generated on
for ATLAS Offline Software by
1.17.0