![]() |
ATLAS Offline Software
|
#include <TruthParticleBase.h>
Public Member Functions | |
| TruthParticleBase () | |
| Default constructor: | |
| TruthParticleBase (const TruthParticleBase &rhs) | |
| Copy constructor: | |
| TruthParticleBase & | operator= (const TruthParticleBase &rhs) |
| Assignment operator: | |
| TruthParticleBase (const HepMC::GenParticlePtr mc) | |
| Constructor with parameters: | |
| ~TruthParticleBase () | |
| Destructor: | |
| HepMC::ConstGenParticlePtr | genParticle () const |
return the HepMC::GenParticle which is being proxied | |
| const AthenaBarCodeImpl & | getAthenaBarCodeImpl () const |
| return the (atlas) unique identifier | |
| void | setCharge (const ChargeType charge) |
| Set the charge of this TruthParticleBase. | |
| void | setGenParticle (HepMC::ConstGenParticlePtr particle) |
| Fill the data members of ParticleBase from the GenParticle. | |
| AthenaBarCodeImpl & | getAthenaBarCodeImpl () |
| return the (atlas) unique identifier | |
| void | set_dataType (ParticleDataType::DataType) |
| void | set_charge (ChargeType x) |
| void | set_pdgId (int) |
| void | set_origin (const VxContainer *, int) |
| void | set_origin (const VxContainer *, const Trk::VxCandidate *) |
| ParticleDataType::DataType | dataType () const |
| Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the following values: {Data = 0, Full = 1, FastShower = 2, Fast = 3, True = 4}. | |
| const Trk::RecVertex * | origin () const |
| Return a RecVertex corresponding to particle Origin. | |
| const ElementLink< VxContainer > & | originLink () const |
| Return the ElementLink to particle Origin. | |
| bool | hasCharge () const |
| method to check if charge information is available | |
| ChargeType | charge () const |
| returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface | |
| bool | hasPdgId () const |
| method to check if particle id information is available | |
| int | pdgId () const |
| Return eparticle id. | |
| std::ostream & | dump (std::ostream &out) const |
Print IParticle content. | |
Private Attributes | |
| ChargeType | m_charge |
| The charge of this TruthParticle. | |
| HepMC::ConstGenParticlePtr | m_genParticle |
The HepMC::GenParticle we are proxying. | |
| AthenaBarCodeImpl | m_abc |
The AthenaBarCodeImpl held to provide unique identification throughout the whole Atlas EDM. | |
Definition at line 33 of file TruthParticleBase.h.
| TruthParticleBase::TruthParticleBase | ( | ) |
Default constructor:
Definition at line 28 of file TruthParticleBase.cxx.
| TruthParticleBase::TruthParticleBase | ( | const TruthParticleBase & | rhs | ) |
| TruthParticleBase::TruthParticleBase | ( | const HepMC::GenParticlePtr | mc | ) |
Constructor with parameters:
Definition at line 51 of file TruthParticleBase.cxx.
| TruthParticleBase::~TruthParticleBase | ( | ) |
|
inline |
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface
Definition at line 162 of file TruthParticleBase.h.
|
inline |
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the following values: {Data = 0, Full = 1, FastShower = 2, Fast = 3, True = 4}.
IParticle interface-like declaration
Definition at line 150 of file TruthParticleBase.h.
| std::ostream & TruthParticleBase::dump | ( | std::ostream & | out | ) | const |
Print IParticle content.
Definition at line 83 of file TruthParticleBase.cxx.
|
inline |
return the HepMC::GenParticle which is being proxied
Definition at line 180 of file TruthParticleBase.h.
|
inline |
|
inline |
|
inline |
method to check if charge information is available
Definition at line 156 of file TruthParticleBase.h.
|
inline |
method to check if particle id information is available
Definition at line 168 of file TruthParticleBase.h.
| TruthParticleBase & TruthParticleBase::operator= | ( | const TruthParticleBase & | rhs | ) |
Assignment operator:
Definition at line 41 of file TruthParticleBase.cxx.
| const Trk::RecVertex * TruthParticleBase::origin | ( | ) | const |
Return a RecVertex corresponding to particle Origin.
Definition at line 69 of file TruthParticleBase.cxx.
| const ElementLink< VxContainer > & TruthParticleBase::originLink | ( | ) | const |
Return the ElementLink to particle Origin.
Definition at line 76 of file TruthParticleBase.cxx.
|
inline |
Return eparticle id.
Definition at line 174 of file TruthParticleBase.h.
|
inline |
Definition at line 120 of file TruthParticleBase.h.
|
inline |
Definition at line 119 of file TruthParticleBase.h.
|
inline |
Definition at line 124 of file TruthParticleBase.h.
|
inline |
Definition at line 122 of file TruthParticleBase.h.
|
inline |
Definition at line 121 of file TruthParticleBase.h.
|
inline |
Set the charge of this TruthParticleBase.
Definition at line 186 of file TruthParticleBase.h.
|
inline |
Fill the data members of ParticleBase from the GenParticle.
Definition at line 192 of file TruthParticleBase.h.
|
private |
The AthenaBarCodeImpl held to provide unique identification throughout the whole Atlas EDM.
Definition at line 141 of file TruthParticleBase.h.
|
private |
The charge of this TruthParticle.
Definition at line 134 of file TruthParticleBase.h.
|
private |
The HepMC::GenParticle we are proxying.
Definition at line 137 of file TruthParticleBase.h.