Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
27 for (
const auto&
part: *itr)
34 const HepMC::FourVector pmom =
part->momentum();
36 if (pmom.perp()==0 || std::abs(pmom.eta())>
m_etaMax)
continue;
61 return StatusCode::SUCCESS;
69 return StatusCode::SUCCESS;
int m_particleNumber
Number of particles in one event.
std::string find(const std::string &s)
return a remapped string
std::vector< int > m_particleIDs
list holds all the particle IDs for one event
double m_eventEnergy
Amount of energy that I've seen in one event.
std::vector< double > m_particleEnergies
list holds energy of each particle
const McEventCollection * events_const() const
Access the current event's McEventCollection (const)
#define ATH_MSG_VERBOSE(x)
std::vector< double > m_particleEtas
list holds eta of each particle
Base class for common behaviour of MC truth algorithms.
const std::array< int, 4 > m_pidsToSkip
::StatusCode StatusCode
StatusCode definition for legacy code.
bool isStable(const T &p)
Identify if the particle is stable, i.e. has not decayed.
Gaudi::Property< double > m_etaMax
double m_total_Energy
Amount of energy that I've seen.
virtual StatusCode execute() override
SimTimeEstimate(const std::string &name, ISvcLocator *pSvcLocator)
bool isSimInteracting(const T &p)
Identify if the particle could interact with the detector during the simulation, e....
int m_total_Events
Number of events that I've seen.
virtual StatusCode finalize() override