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

#include <GenParticle_p4.h>

Collaboration diagram for GenParticle_p4:

Public Member Functions

 GenParticle_p4 ()
 Default constructor:
 GenParticle_p4 (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 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)
short m_recoMethod
 switch to know which method to chose to better recover the original HepLorentzVector.

Friends

class McEventCollectionCnv_p4

Detailed Description

Definition at line 21 of file GenParticle_p4.h.

Constructor & Destructor Documentation

◆ GenParticle_p4() [1/2]

GenParticle_p4::GenParticle_p4 ( )
inline

Default constructor:

Inline methods:

Definition at line 131 of file GenParticle_p4.h.

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

◆ GenParticle_p4() [2/2]

GenParticle_p4::GenParticle_p4 ( 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 short recoMethod )
inline

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

Definition at line 147 of file GenParticle_p4.h.

159 :
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{}

◆ McEventCollectionCnv_p4

friend class McEventCollectionCnv_p4
friend

Definition at line 24 of file GenParticle_p4.h.

Member Data Documentation

◆ m_barcode

int GenParticle_p4::m_barcode
protected

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

Definition at line 114 of file GenParticle_p4.h.

◆ m_endVtx

int GenParticle_p4::m_endVtx
protected

Barcode of the decay vertex of this particle.

0 means no production vertex

Definition at line 109 of file GenParticle_p4.h.

◆ m_flow

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

Flow for this particle.

Definition at line 87 of file GenParticle_p4.h.

◆ m_m

float GenParticle_p4::m_m
protected

m-component of the 4-momentum of this particle

Definition at line 75 of file GenParticle_p4.h.

◆ m_pdgId

int GenParticle_p4::m_pdgId
protected

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

Definition at line 79 of file GenParticle_p4.h.

◆ m_phiPolarization

float GenParticle_p4::m_phiPolarization
protected

phi polarization

Definition at line 99 of file GenParticle_p4.h.

◆ m_prodVtx

int GenParticle_p4::m_prodVtx
protected

Barcode of the production vertex of this particle.

0 means no production vertex

Definition at line 104 of file GenParticle_p4.h.

◆ m_px

float GenParticle_p4::m_px
protected

x-component of the 4-momentum of this particle

Definition at line 63 of file GenParticle_p4.h.

◆ m_py

float GenParticle_p4::m_py
protected

y-component of the 4-momentum of this particle

Definition at line 67 of file GenParticle_p4.h.

◆ m_pz

float GenParticle_p4::m_pz
protected

z-component of the 4-momentum of this particle

Definition at line 71 of file GenParticle_p4.h.

◆ m_recoMethod

short GenParticle_p4::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 124 of file GenParticle_p4.h.

◆ m_status

int GenParticle_p4::m_status
protected

Status of this particle, as defined for HEPEVT.

Definition at line 83 of file GenParticle_p4.h.

◆ m_thetaPolarization

float GenParticle_p4::m_thetaPolarization
protected

polarization

theta polarization

Definition at line 95 of file GenParticle_p4.h.


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