ATLAS Offline Software
Loading...
Searching...
No Matches
GenParticle_p5 Class Reference

#include <GenParticle_p5.h>

Collaboration diagram for GenParticle_p5:

Public Member Functions

 GenParticle_p5 ()
 Default constructor:
 GenParticle_p5 (const double px, const double py, const double pz, const double mass, 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, const double generated_mass, const short recoMethod)
 Constructor with (almost all) parameters (can't construct right away the flow vector)

Protected Attributes

float m_px
 x-component of the 4-momentum of this particle
float m_py
 y-component of the 4-momentum of this particle
float m_pz
 z-component of the 4-momentum of this particle
float m_m
 m-component of the 4-momentum of this particle
int m_pdgId
 identity of this particle, according to the Particle Data Group notation
int m_status
 Status of this particle, as defined for HEPEVT.
std::vector< std::pair< int, int > > m_flow
 Flow for this particle.
float m_thetaPolarization
 polarization
float m_phiPolarization
 phi polarization
int m_prodVtx
 Barcode of the production vertex of this particle.
int m_endVtx
 Barcode of the decay vertex of this particle.
int m_barcode
 barcode of this particles (uniquely identifying this particle within a given GenEvent)
float m_generated_mass
 mass of this particle when it was generated
short m_recoMethod
 switch to know which method to chose to better recover the original HepLorentzVector.

Friends

class McEventCollectionCnv_p5

Detailed Description

Definition at line 21 of file GenParticle_p5.h.

Constructor & Destructor Documentation

◆ GenParticle_p5() [1/2]

GenParticle_p5::GenParticle_p5 ( )
inline

Default constructor:

Inline methods:

Definition at line 136 of file GenParticle_p5.h.

136 :
137 m_px ( 0 ),
138 m_py ( 0 ),
139 m_pz ( 0 ),
140 m_m ( 0 ),
141 m_pdgId ( 0 ),
142 m_status ( 0 ),
143 m_flow ( 0 ),
144 m_thetaPolarization ( 0. ),
145 m_phiPolarization ( 0. ),
146 m_prodVtx ( 0 ),
147 m_endVtx ( 0 ),
148 m_barcode ( 0 ),
149 m_generated_mass( 0 ),
150 m_recoMethod ( 0 )
151{}
std::vector< std::pair< int, int > > m_flow
Flow for this particle.
float m_thetaPolarization
polarization
float m_py
y-component of the 4-momentum of this particle
int m_prodVtx
Barcode of the production vertex of this particle.
float m_px
x-component of the 4-momentum of this particle
int m_barcode
barcode of this particles (uniquely identifying this particle within a given GenEvent)
int m_status
Status of this particle, as defined for HEPEVT.
float m_pz
z-component of the 4-momentum of this particle
int m_endVtx
Barcode of the decay vertex of this particle.
float m_phiPolarization
phi polarization
int m_pdgId
identity of this particle, according to the Particle Data Group notation
short m_recoMethod
switch to know which method to chose to better recover the original HepLorentzVector.
float m_m
m-component of the 4-momentum of this particle
float m_generated_mass
mass of this particle when it was generated

◆ GenParticle_p5() [2/2]

GenParticle_p5::GenParticle_p5 ( const double px,
const double py,
const double pz,
const double mass,
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,
const double generated_mass,
const short recoMethod )
inline

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

Definition at line 153 of file GenParticle_p5.h.

166 :
167 m_px ( px ),
168 m_py ( py ),
169 m_pz ( pz ),
170 m_m ( m ),
171 m_pdgId ( pdgId ),
172 m_status ( status ),
173 m_flow ( flowSize ),
174 m_thetaPolarization ( thetaPolarization ),
175 m_phiPolarization ( phiPolarization ),
176 m_prodVtx ( prodVtx ),
177 m_endVtx ( endVtx ),
178 m_barcode ( barcode ),
179 m_generated_mass( static_cast<float>(generated_mass) ),
180 m_recoMethod ( recoMethod )
181{}

◆ McEventCollectionCnv_p5

friend class McEventCollectionCnv_p5
friend

Definition at line 24 of file GenParticle_p5.h.

Member Data Documentation

◆ m_barcode

int GenParticle_p5::m_barcode
protected

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

Definition at line 115 of file GenParticle_p5.h.

◆ m_endVtx

int GenParticle_p5::m_endVtx
protected

Barcode of the decay vertex of this particle.

0 means no production vertex

Definition at line 110 of file GenParticle_p5.h.

◆ m_flow

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

Flow for this particle.

Definition at line 88 of file GenParticle_p5.h.

◆ m_generated_mass

float GenParticle_p5::m_generated_mass
protected

mass of this particle when it was generated

Definition at line 119 of file GenParticle_p5.h.

◆ m_m

float GenParticle_p5::m_m
protected

m-component of the 4-momentum of this particle

Definition at line 76 of file GenParticle_p5.h.

◆ m_pdgId

int GenParticle_p5::m_pdgId
protected

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

Definition at line 80 of file GenParticle_p5.h.

◆ m_phiPolarization

float GenParticle_p5::m_phiPolarization
protected

phi polarization

Definition at line 100 of file GenParticle_p5.h.

◆ m_prodVtx

int GenParticle_p5::m_prodVtx
protected

Barcode of the production vertex of this particle.

0 means no production vertex

Definition at line 105 of file GenParticle_p5.h.

◆ m_px

float GenParticle_p5::m_px
protected

x-component of the 4-momentum of this particle

Definition at line 64 of file GenParticle_p5.h.

◆ m_py

float GenParticle_p5::m_py
protected

y-component of the 4-momentum of this particle

Definition at line 68 of file GenParticle_p5.h.

◆ m_pz

float GenParticle_p5::m_pz
protected

z-component of the 4-momentum of this particle

Definition at line 72 of file GenParticle_p5.h.

◆ m_recoMethod

short GenParticle_p5::m_recoMethod
protected

switch to know which method to chose to better recover the original HepLorentzVector.

It is based on isTimelike(), isSpacelike(), isLightlike() and sign(ene) If m_recoMethod == 0: use HepLorentzVector::setVectM( 3vect(px,py,pz), m ) 1: use +(p**2 + m**2) to get the energy (where m**2 is signed) 2: use -(p**2 + m**2) to get the energy (where m**2 is signed) (ex: gluon with negative energy)

Definition at line 129 of file GenParticle_p5.h.

◆ m_status

int GenParticle_p5::m_status
protected

Status of this particle, as defined for HEPEVT.

Definition at line 84 of file GenParticle_p5.h.

◆ m_thetaPolarization

float GenParticle_p5::m_thetaPolarization
protected

polarization

theta polarization

Definition at line 96 of file GenParticle_p5.h.


The documentation for this class was generated from the following file: