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

#include <GenParticle_p2.h>

Collaboration diagram for GenParticle_p2:

Public Member Functions

 GenParticle_p2 ()
 Default constructor: More...
 
 GenParticle_p2 (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...
 
float m_thetaPolarization
 polarization More...
 
float 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 McEventCollectionCnv_p2
 

Detailed Description

Definition at line 21 of file GenParticle_p2.h.

Constructor & Destructor Documentation

◆ GenParticle_p2() [1/2]

GenParticle_p2::GenParticle_p2 ( )
inline

Default constructor:

Inline methods:

Definition at line 112 of file GenParticle_p2.h.

112  :
113  m_px ( 0 ),
114  m_py ( 0 ),
115  m_pz ( 0 ),
116  m_ene ( 0 ),
117  m_pdgId ( 0 ),
118  m_status ( 0 ),
119  m_flow ( 0 ),
120  m_thetaPolarization ( 0. ),
121  m_phiPolarization ( 0. ),
122  m_prodVtx ( 0 ),
123  m_endVtx ( 0 ),
124  m_barcode ( 0 )
125 {}

◆ GenParticle_p2() [2/2]

GenParticle_p2::GenParticle_p2 ( 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 127 of file GenParticle_p2.h.

138  :
139  m_px ( px ),
140  m_py ( py ),
141  m_pz ( pz ),
142  m_ene ( ene ),
143  m_pdgId ( pdgId ),
144  m_status ( status ),
145  m_flow ( flowSize ),
146  m_thetaPolarization ( thetaPolarization ),
147  m_phiPolarization ( phiPolarization ),
148  m_prodVtx ( prodVtx ),
149  m_endVtx ( endVtx ),
150  m_barcode ( barcode )
151 {}

Friends And Related Function Documentation

◆ McEventCollectionCnv_p2

friend class McEventCollectionCnv_p2
friend

Definition at line 24 of file GenParticle_p2.h.

Member Data Documentation

◆ m_barcode

int GenParticle_p2::m_barcode
protected

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

Definition at line 105 of file GenParticle_p2.h.

◆ m_endVtx

int GenParticle_p2::m_endVtx
protected

Barcode of the decay vertex of this particle.

0 means no production vertex

Definition at line 100 of file GenParticle_p2.h.

◆ m_ene

double GenParticle_p2::m_ene
protected

e-component of the 4-momentum of this particle

Definition at line 66 of file GenParticle_p2.h.

◆ m_flow

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

Flow for this particle.

Definition at line 78 of file GenParticle_p2.h.

◆ m_pdgId

int GenParticle_p2::m_pdgId
protected

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

Definition at line 70 of file GenParticle_p2.h.

◆ m_phiPolarization

float GenParticle_p2::m_phiPolarization
protected

phi polarization

Definition at line 90 of file GenParticle_p2.h.

◆ m_prodVtx

int GenParticle_p2::m_prodVtx
protected

Barcode of the production vertex of this particle.

0 means no production vertex

Definition at line 95 of file GenParticle_p2.h.

◆ m_px

double GenParticle_p2::m_px
protected

x-component of the 4-momentum of this particle

Definition at line 54 of file GenParticle_p2.h.

◆ m_py

double GenParticle_p2::m_py
protected

y-component of the 4-momentum of this particle

Definition at line 58 of file GenParticle_p2.h.

◆ m_pz

double GenParticle_p2::m_pz
protected

z-component of the 4-momentum of this particle

Definition at line 62 of file GenParticle_p2.h.

◆ m_status

int GenParticle_p2::m_status
protected

Status of this particle, as defined for HEPEVT.

Definition at line 74 of file GenParticle_p2.h.

◆ m_thetaPolarization

float GenParticle_p2::m_thetaPolarization
protected

polarization

theta polarization

Definition at line 86 of file GenParticle_p2.h.


The documentation for this class was generated from the following file:
GenParticle_p2::m_endVtx
int m_endVtx
Barcode of the decay vertex of this particle.
Definition: GenParticle_p2.h:100
GenParticle_p2::m_pz
double m_pz
z-component of the 4-momentum of this particle
Definition: GenParticle_p2.h:62
test_pyathena.px
px
Definition: test_pyathena.py:18
GenParticle_p2::m_py
double m_py
y-component of the 4-momentum of this particle
Definition: GenParticle_p2.h:58
GenParticle_p2::m_px
double m_px
x-component of the 4-momentum of this particle
Definition: GenParticle_p2.h:54
GenParticle_p2::m_ene
double m_ene
e-component of the 4-momentum of this particle
Definition: GenParticle_p2.h:66
GenParticle_p2::m_pdgId
int m_pdgId
identity of this particle, according to the Particle Data Group notation
Definition: GenParticle_p2.h:70
PowhegPy8EG_H2a.pdgId
dictionary pdgId
Definition: PowhegPy8EG_H2a.py:128
GenParticle_p2::m_flow
std::vector< std::pair< int, int > > m_flow
Flow for this particle.
Definition: GenParticle_p2.h:78
GenParticle_p2::m_prodVtx
int m_prodVtx
Barcode of the production vertex of this particle.
Definition: GenParticle_p2.h:95
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
GenParticle_p2::m_thetaPolarization
float m_thetaPolarization
polarization
Definition: GenParticle_p2.h:86
Amg::pz
@ pz
Definition: GeoPrimitives.h:40
Amg::py
@ py
Definition: GeoPrimitives.h:39
GenParticle_p2::m_status
int m_status
Status of this particle, as defined for HEPEVT.
Definition: GenParticle_p2.h:74
GenParticle_p2::m_phiPolarization
float m_phiPolarization
phi polarization
Definition: GenParticle_p2.h:90
merge.status
status
Definition: merge.py:17
GenParticle_p2::m_barcode
int m_barcode
barcode of this particles (uniquely identifying this particle within a given GenEvent)
Definition: GenParticle_p2.h:105