![]() |
ATLAS Offline Software
|
#include <Base.h>
Public Member Functions | |
| Base () | |
| Default constructor: | |
| Base (const Base &rhs) | |
| Copy constructor: | |
| Base & | operator= (const Base &rhs) |
| Assignment operator: | |
| virtual | ~Base () |
| Constructor with parameters: | |
| void | set_dataType (ParticleDataType::DataType x) |
| void | set_charge (ChargeType x) |
| void | set_pdgId (int x) |
| void | reset_charge () |
| void | reset_pdgId () |
| void | set_origin (const VxContainer *theContainer, int index) |
| void | set_origin (const VxContainer *theContainer, const Trk::VxCandidate *vertex) |
| void | set_origin (const ElementLink< VxContainer > &origin) |
| AthenaBarCodeImpl & | getAthenaBarCodeImpl () |
| 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 enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h. | |
| std::ostream & | dump (std::ostream &out) const |
Print IParticle content. | |
| const AthenaBarCodeImpl & | getAthenaBarCodeImpl () const |
Private Attributes | |
| ParticleDataType::DataType | m_dataType |
| the enum storing the (data) type of this particle | |
| ElementLink< VxContainer > | m_origin |
| Persistent pointer to the origin of this particle. | |
| bool | m_hasCharge |
| Switch to tell if this particle has a charge. | |
| 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) | |
| AthenaBarCodeImpl | m_abc |
| The AthenaBarCode Part. | |
|
inline |
Default constructor:
Definition at line 163 of file Base.h.
|
inlineexplicit |
Copy constructor:
Definition at line 174 of file Base.h.
|
inlinevirtual |
|
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
|
inline |
| std::ostream & Base::dump | ( | std::ostream & | out | ) | const |
Print IParticle content.
Definition at line 44 of file Base.cxx.
|
inline |
|
inline |
|
inline |
method to check if charge information is available
|
inline |
method to check if particle id information is available
Assignment operator:
Definition at line 185 of file Base.h.
|
inline |
| const ElementLink< VxContainer > & Base::originLink | ( | ) | const |
Return the ElementLink to particle Origin.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
Value of the charge of the particle (this has real meaning, only if hasCharge() returns true)
|
private |
|
private |
|
private |
|
private |
|
private |
Value for the PDG identity (this has real meaning, only if hasPdgId() returns true)