ATLAS Offline Software
Public Member Functions | Protected Attributes | Friends | List of all members
GenParticle_p1 Class Reference

#include <GenParticle_p1.h>

Collaboration diagram for GenParticle_p1:

Public Member Functions

 GenParticle_p1 ()
 Default constructor: More...
 
 GenParticle_p1 (const double px, const double py, const double pz, const double ene, const int pdgId, const int status, const std::size_t flowSize, const double thetaPolarization, const double phiPolarization, const int prodVtx, const int endVtx, const int barcode)
 Constructor with (almost all) parameters (can't construct right away the flow vector) More...
 

Protected Attributes

double m_px
 x-component of the 4-momentum of this particle More...
 
double m_py
 y-component of the 4-momentum of this particle More...
 
double m_pz
 z-component of the 4-momentum of this particle More...
 
double m_ene
 e-component of the 4-momentum of this particle More...
 
int m_pdgId
 identity of this particle, according to the Particle Data Group notation More...
 
int m_status
 Status of this particle, as defined for HEPEVT. More...
 
std::vector< std::pair< int, int > > m_flow
 Flow for this particle. More...
 
double m_thetaPolarization
 polarization More...
 
double m_phiPolarization
 phi polarization More...
 
int m_prodVtx
 Barcode of the production vertex of this particle. More...
 
int m_endVtx
 Barcode of the decay vertex of this particle. More...
 
int m_barcode
 barcode of this particles (uniquely identifying this particle within a given GenEvent) More...
 

Friends

class GenEventCnv_p1
 
class McEventCollectionCnv_p2
 

Detailed Description

Definition at line 22 of file GenParticle_p1.h.

Constructor & Destructor Documentation

◆ GenParticle_p1() [1/2]

GenParticle_p1::GenParticle_p1 ( )
inline

Default constructor:

Inline methods:

Definition at line 123 of file GenParticle_p1.h.

123  :
124  m_px ( 0 ),
125  m_py ( 0 ),
126  m_pz ( 0 ),
127  m_ene ( 0 ),
128  m_pdgId ( 0 ),
129  m_status ( 0 ),
130  m_flow ( 0 ),
131  m_thetaPolarization ( 0. ),
132  m_phiPolarization ( 0. ),
133  m_prodVtx ( 0 ),
134  m_endVtx ( 0 ),
135  m_barcode ( 0 )
136 {}

◆ GenParticle_p1() [2/2]

GenParticle_p1::GenParticle_p1 ( const double  px,
const double  py,
const double  pz,
const double  ene,
const int  pdgId,
const int  status,
const std::size_t  flowSize,
const double  thetaPolarization,
const double  phiPolarization,
const int  prodVtx,
const int  endVtx,
const int  barcode 
)
inline

Constructor with (almost all) parameters (can't construct right away the flow vector)

Definition at line 138 of file GenParticle_p1.h.

149  :
150  m_px ( px ),
151  m_py ( py ),
152  m_pz ( pz ),
153  m_ene ( ene ),
154  m_pdgId ( pdgId ),
155  m_status ( status ),
156  m_flow ( flowSize ),
157  m_thetaPolarization ( thetaPolarization ),
158  m_phiPolarization ( phiPolarization ),
159  m_prodVtx ( prodVtx ),
160  m_endVtx ( endVtx ),
161  m_barcode ( barcode )
162 {}

Friends And Related Function Documentation

◆ GenEventCnv_p1

friend class GenEventCnv_p1
friend

Definition at line 25 of file GenParticle_p1.h.

◆ McEventCollectionCnv_p2

friend class McEventCollectionCnv_p2
friend

Definition at line 27 of file GenParticle_p1.h.

Member Data Documentation

◆ m_barcode

int GenParticle_p1::m_barcode
protected

barcode of this particles (uniquely identifying this particle within a given GenEvent)

Definition at line 116 of file GenParticle_p1.h.

◆ m_endVtx

int GenParticle_p1::m_endVtx
protected

Barcode of the decay vertex of this particle.

0 means no production vertex

Definition at line 111 of file GenParticle_p1.h.

◆ m_ene

double GenParticle_p1::m_ene
protected

e-component of the 4-momentum of this particle

Definition at line 77 of file GenParticle_p1.h.

◆ m_flow

std::vector< std::pair<int, int> > GenParticle_p1::m_flow
protected

Flow for this particle.

Definition at line 89 of file GenParticle_p1.h.

◆ m_pdgId

int GenParticle_p1::m_pdgId
protected

identity of this particle, according to the Particle Data Group notation

Definition at line 81 of file GenParticle_p1.h.

◆ m_phiPolarization

double GenParticle_p1::m_phiPolarization
protected

phi polarization

Definition at line 101 of file GenParticle_p1.h.

◆ m_prodVtx

int GenParticle_p1::m_prodVtx
protected

Barcode of the production vertex of this particle.

0 means no production vertex

Definition at line 106 of file GenParticle_p1.h.

◆ m_px

double GenParticle_p1::m_px
protected

x-component of the 4-momentum of this particle

Definition at line 65 of file GenParticle_p1.h.

◆ m_py

double GenParticle_p1::m_py
protected

y-component of the 4-momentum of this particle

Definition at line 69 of file GenParticle_p1.h.

◆ m_pz

double GenParticle_p1::m_pz
protected

z-component of the 4-momentum of this particle

Definition at line 73 of file GenParticle_p1.h.

◆ m_status

int GenParticle_p1::m_status
protected

Status of this particle, as defined for HEPEVT.

Definition at line 85 of file GenParticle_p1.h.

◆ m_thetaPolarization

double GenParticle_p1::m_thetaPolarization
protected

polarization

theta polarization

Definition at line 97 of file GenParticle_p1.h.


The documentation for this class was generated from the following file:
test_pyathena.px
px
Definition: test_pyathena.py:18
GenParticle_p1::m_px
double m_px
x-component of the 4-momentum of this particle
Definition: GenParticle_p1.h:65
GenParticle_p1::m_prodVtx
int m_prodVtx
Barcode of the production vertex of this particle.
Definition: GenParticle_p1.h:106
GenParticle_p1::m_status
int m_status
Status of this particle, as defined for HEPEVT.
Definition: GenParticle_p1.h:85
GenParticle_p1::m_endVtx
int m_endVtx
Barcode of the decay vertex of this particle.
Definition: GenParticle_p1.h:111
GenParticle_p1::m_flow
std::vector< std::pair< int, int > > m_flow
Flow for this particle.
Definition: GenParticle_p1.h:89
GenParticle_p1::m_thetaPolarization
double m_thetaPolarization
polarization
Definition: GenParticle_p1.h:97
GenParticle_p1::m_barcode
int m_barcode
barcode of this particles (uniquely identifying this particle within a given GenEvent)
Definition: GenParticle_p1.h:116
GenParticle_p1::m_py
double m_py
y-component of the 4-momentum of this particle
Definition: GenParticle_p1.h:69
GenParticle_p1::m_pdgId
int m_pdgId
identity of this particle, according to the Particle Data Group notation
Definition: GenParticle_p1.h:81
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
GenParticle_p1::m_ene
double m_ene
e-component of the 4-momentum of this particle
Definition: GenParticle_p1.h:77
GenParticle_p1::m_pz
double m_pz
z-component of the 4-momentum of this particle
Definition: GenParticle_p1.h:73
Amg::pz
@ pz
Definition: GeoPrimitives.h:40
GenParticle_p1::m_phiPolarization
double m_phiPolarization
phi polarization
Definition: GenParticle_p1.h:101
Amg::py
@ py
Definition: GeoPrimitives.h:39
merge.status
status
Definition: merge.py:17