|
ATLAS Offline Software
|
Go to the documentation of this file.
31 for (
const auto&
part: *itr)
38 const HepMC::FourVector pmom =
part->momentum();
40 if (pmom.perp()==0 || std::abs(pmom.eta())>
m_etaMax)
continue;
65 return StatusCode::SUCCESS;
73 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)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
double m_etaMax
Max eta that will be used for simulation.
std::vector< double > m_particleEtas
list holds eta of each particle
Base class for common behaviour of MC truth algorithms.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool isStable(const T &p)
double m_total_Energy
Amount of energy that I've seen.
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....
std::vector< int > m_pidsToSkip
int m_total_Events
Number of events that I've seen.