#include <TruthParticleBase.h>
Definition at line 33 of file TruthParticleBase.h.
 
◆ TruthParticleBase() [1/3]
      
        
          | TruthParticleBase::TruthParticleBase | ( |  | ) |  | 
      
 
 
◆ TruthParticleBase() [2/3]
◆ TruthParticleBase() [3/3]
◆ ~TruthParticleBase()
      
        
          | TruthParticleBase::~TruthParticleBase | ( |  | ) |  | 
      
 
 
◆ 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 162 of file TruthParticleBase.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 150 of file TruthParticleBase.h.
 
 
◆ dump()
      
        
          | std::ostream & TruthParticleBase::dump | ( | std::ostream & | out | ) | const | 
      
 
Print IParticle content. 
Definition at line 83 of file TruthParticleBase.cxx.
   85   std::stringstream 
buf;
 
   89       << std::setw(5) << std::boolalpha << this->
hasCharge()
 
   90       << std::scientific << std::right << std::setw(16) << std::setprecision(8)
 
   93       << 
"[pdg-Id  ] = " << std::setw(5) << std::boolalpha << this->
hasPdgId()
 
   94       << std::fixed << std::right << std::setw(16) << std::setprecision(8)
 
   95       << this->
pdgId()   << 
"\n" 
   97       << 
"[origin  ] =  --Null ptr-- ";
 
 
 
 
◆ genParticle()
◆ getAthenaBarCodeImpl() [1/2]
◆ getAthenaBarCodeImpl() [2/2]
◆ hasCharge()
  
  | 
        
          | bool TruthParticleBase::hasCharge | ( |  | ) | const |  | inline | 
 
 
◆ hasPdgId()
  
  | 
        
          | bool TruthParticleBase::hasPdgId | ( |  | ) | const |  | inline | 
 
 
◆ operator=()
◆ origin()
◆ originLink()
◆ pdgId()
  
  | 
        
          | int TruthParticleBase::pdgId | ( |  | ) | const |  | inline | 
 
 
◆ set_charge()
  
  | 
        
          | void TruthParticleBase::set_charge | ( | ChargeType | x | ) |  |  | inline | 
 
 
◆ set_dataType()
◆ set_origin() [1/2]
◆ set_origin() [2/2]
◆ set_pdgId()
  
  | 
        
          | void TruthParticleBase::set_pdgId | ( | int |  | ) |  |  | inline | 
 
 
◆ setCharge()
◆ setGenParticle()
◆ m_abc
◆ m_charge
◆ m_genParticle
The documentation for this class was generated from the following files:
 
AthenaBarCodeImpl m_abc
The AthenaBarCodeImpl held to provide unique identification throughout the whole Atlas EDM.
bool hasPdgId() const
method to check if particle id information is available
HepMC::ConstGenParticlePtr m_genParticle
The HepMC::GenParticle we are proxying.
ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
bool hasCharge() const
method to check if charge information is available
const Trk::RecVertex * origin() const
Return a RecVertex corresponding to particle Origin
void setCharge(const ChargeType charge)
Set the charge of this TruthParticleBase.
ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
ChargeType m_charge
The charge of this TruthParticle.