#include <ReconstructedParticle.h>
Inheritance diagram for Atlfast::ReconstructedParticle:
Public Methods | |
ReconstructedParticle (const int pdg_id, const HepLorentzVector &vec, const HepMC::GenParticle *progenitor) | |
This is the principle constructor needed by users. | |
ReconstructedParticle (const ReconstructedParticle &src) | |
Copy constructors. | |
ReconstructedParticle (const ReconstructedParticle *src) | |
ReconstructedParticle () | |
default constructor required by Gaudi | |
virtual | ~ReconstructedParticle () |
virtual HepLorentzVector | momentum () const |
virtual double | eta () const |
virtual double | phi () const |
virtual double | pT () const |
virtual double | eT () const |
virtual double | mT () const |
int | pdg_id () const |
pdg identifier of particle | |
const HepMC::GenParticle * | truth () const |
Access to MC truth. | |
virtual const CLID & | clID () const |
Static Public Methods | |
const CLID & | classID () |
Private Attributes | |
int | m_pdg_id |
pdg identity code | |
HepLorentzVector | m_momentum |
4-momentum of particle | |
const HepMC::GenParticle * | m_truth |
Pointer to Truth HepMC::Particile. |
the motivation being that all particles are the same type from the point of view of kinematic state variables, and are only differentiated by having a different "label".
It implements an "IKinematic" interface which is designed to standardise kimematic attribute query method names.
Definition at line 100 of file ReconstructedParticle.h.
|
This is the principle constructor needed by users.
Definition at line 112 of file ReconstructedParticle.h. References m_momentum, m_pdg_id, m_truth, and pdg_id().
00114 : 00115 IKinematic(), 00116 ContainedObject(), 00117 AssociationManager(), 00118 m_pdg_id(pdg_id), 00119 m_momentum(vec), 00120 m_truth(progenitor) {} |
|
Copy constructors.
Definition at line 123 of file ReconstructedParticle.h. References m_momentum, m_pdg_id, and m_truth.
00123 : 00124 IKinematic(), 00125 ContainedObject(), 00126 AssociationManager( src ), 00127 m_pdg_id(src.m_pdg_id), 00128 m_momentum(src.m_momentum), 00129 m_truth(src.m_truth) 00130 { } |
|
Definition at line 132 of file ReconstructedParticle.h. References m_momentum, m_pdg_id, and m_truth.
00132 : 00133 IKinematic(), 00134 ContainedObject(), 00135 AssociationManager( *src ), 00136 m_pdg_id(src->m_pdg_id), 00137 m_momentum(src->m_momentum), 00138 m_truth(src->m_truth) {} |
|
default constructor required by Gaudi
Definition at line 141 of file ReconstructedParticle.h. References m_momentum, m_pdg_id, and m_truth.
00141 : 00142 IKinematic(), 00143 ContainedObject(), 00144 AssociationManager(), 00145 m_pdg_id(0), 00146 m_momentum(HepLorentzVector(0.0,0.0,0.0,0.0)), 00147 m_truth(0) {} |
|
Definition at line 150 of file ReconstructedParticle.h.
00150 {} |
|
Definition at line 181 of file ReconstructedParticle.h.
00182 { return CLID_ATLFAST_RECONSTRUCTED_PARTICLE; }
|
|
Definition at line 183 of file ReconstructedParticle.h.
00184 { return CLID_ATLFAST_RECONSTRUCTED_PARTICLE; }
|
|
Implements Atlfast::IKinematic. Definition at line 161 of file ReconstructedParticle.h. References m_momentum.
00161 { 00162 return m_momentum.e()*m_momentum.perp()/m_momentum.rho() ;} |
|
Implements Atlfast::IKinematic. Definition at line 158 of file ReconstructedParticle.h. References m_momentum.
00158 { return m_momentum.pseudoRapidity() ;} |
|
Implements Atlfast::IKinematic. Definition at line 157 of file ReconstructedParticle.h. References m_momentum.
00157 {return m_momentum;} |
|
Implements Atlfast::IKinematic. Definition at line 163 of file ReconstructedParticle.h. References m_momentum.
00163 { return m_momentum.mt() ;} |
|
pdg identifier of particle
Definition at line 172 of file ReconstructedParticle.h. References m_pdg_id. Referenced by ReconstructedParticle().
00172 { return m_pdg_id ; } |
|
Implements Atlfast::IKinematic. Definition at line 159 of file ReconstructedParticle.h. References m_momentum.
00159 { return m_momentum.phi() ; } |
|
Implements Atlfast::IKinematic. Definition at line 160 of file ReconstructedParticle.h. References m_momentum.
00160 { return m_momentum.perp() ;} |
|
Access to MC truth.
Definition at line 177 of file ReconstructedParticle.h. References m_truth.
00177 { return m_truth ; } |
|
4-momentum of particle
Definition at line 192 of file ReconstructedParticle.h. Referenced by eT(), eta(), momentum(), mT(), phi(), pT(), and ReconstructedParticle(). |
|
pdg identity code
Definition at line 189 of file ReconstructedParticle.h. Referenced by pdg_id(), and ReconstructedParticle(). |
|
Pointer to Truth HepMC::Particile.
Definition at line 197 of file ReconstructedParticle.h. Referenced by ReconstructedParticle(), and truth(). |