#include <Base.h>
Definition at line 33 of file Base.h.
◆ Base() [1/2]
◆ Base() [2/2]
Copy constructor:
Definition at line 174 of file Base.h.
◆ ~Base()
Constructor with parameters:
Destructor:
Definition at line 200 of file Base.h.
◆ charge()
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 224 of file Base.h.
◆ dataType()
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 204 of file Base.h.
◆ dump()
std::ostream & Base::dump |
( |
std::ostream & |
out | ) |
const |
Print IParticle
content.
Definition at line 44 of file Base.cxx.
46 std::stringstream
buf;
50 << std::setw(5) << std::boolalpha << this->
hasCharge()
51 << std::scientific << std::right << std::setw(16) << std::setprecision(8)
54 <<
"[pdg-Id ] = " << std::setw(5) << std::boolalpha << this->
hasPdgId()
55 << std::fixed << std::right << std::setw(16) << std::setprecision(8)
56 << this->
pdgId() <<
"\n"
60 }
else {
buf <<
" --Null ptr-- ";
◆ getAthenaBarCodeImpl() [1/2]
◆ getAthenaBarCodeImpl() [2/2]
◆ hasCharge()
bool Base::hasCharge |
( |
| ) |
const |
|
inline |
method to check if charge information is available
Definition at line 218 of file Base.h.
◆ hasPdgId()
bool Base::hasPdgId |
( |
| ) |
const |
|
inline |
method to check if particle id information is available
Definition at line 230 of file Base.h.
◆ operator=()
Assignment operator:
Definition at line 185 of file Base.h.
187 if (
this != &rhs ) {
◆ origin()
Return a RecVertex corresponding to particle Origin
Definition at line 210 of file Base.h.
214 : &(**m_origin).recVertex();
◆ originLink()
◆ pdgId()
int Base::pdgId |
( |
| ) |
const |
|
inline |
Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h
Definition at line 236 of file Base.h.
◆ reset_charge()
void Base::reset_charge |
( |
| ) |
|
|
inline |
◆ reset_pdgId()
void Base::reset_pdgId |
( |
| ) |
|
|
inline |
◆ set_charge()
◆ set_dataType()
◆ set_origin() [1/3]
◆ set_origin() [2/3]
◆ set_origin() [3/3]
◆ set_pdgId()
void Base::set_pdgId |
( |
int |
x | ) |
|
|
inline |
◆ m_abc
The AthenaBarCode Part.
Definition at line 148 of file Base.h.
◆ m_charge
Value of the charge of the particle (this has real meaning, only if hasCharge() returns true)
Definition at line 136 of file Base.h.
◆ m_dataType
the enum storing the (data) type of this particle
Definition at line 123 of file Base.h.
◆ m_hasCharge
bool ParticleEvent::Base::m_hasCharge |
|
private |
Switch to tell if this particle has a charge.
Definition at line 131 of file Base.h.
◆ m_hasPdgId
bool ParticleEvent::Base::m_hasPdgId |
|
private |
Switch to tell if this particle has a PDG Identity.
Definition at line 140 of file Base.h.
◆ m_origin
Persistent pointer to the origin of this particle.
Definition at line 127 of file Base.h.
◆ m_pdgId
int ParticleEvent::Base::m_pdgId |
|
private |
Value for the PDG identity (this has real meaning, only if hasPdgId() returns true)
Definition at line 145 of file Base.h.
The documentation for this class was generated from the following files:
ChargeType m_charge
Value of the charge of the particle (this has real meaning, only if hasCharge() returns true)
bool m_hasPdgId
Switch to tell if this particle has a PDG Identity.
int m_pdgId
Value for the PDG identity (this has real meaning, only if hasPdgId() returns true)
bool hasCharge() const
method to check if charge information is available
bool m_hasCharge
Switch to tell if this particle has a charge.
ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
ElementLink< VxContainer > m_origin
Persistent pointer to the origin of this particle.
ParticleDataType::DataType m_dataType
the enum storing the (data) type of this particle
int pdgId() const
Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg....
const AthenaBarCodeImpl & getAthenaBarCodeImpl() const
bool hasPdgId() const
method to check if particle id information is available
ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
const Trk::RecVertex * origin() const
Return a RecVertex corresponding to particle Origin