42 for(sim::ParticleHistory::const_reverse_iterator
i = particleHistory.rbegin();
43 i != particleHistory.rend(); ++
i){
48 LOG_DEBUG(
"EmEveIdCalculator") <<
"calculator: " << *(*i);
55 if ( process.find(
"conv") != std::string::npos ||
56 process.find(
"LowEnConversion") != std::string::npos ||
57 process.find(
"Pair") != std::string::npos ||
58 process.find(
"compt") != std::string::npos ||
59 process.find(
"Compt") != std::string::npos ||
60 process.find(
"Brem") != std::string::npos ||
61 process.find(
"phot") != std::string::npos ||
62 process.find(
"Photo") != std::string::npos ||
63 process.find(
"Ion") != std::string::npos ||
64 process.find(
"annihil") != std::string::npos)
continue;
68 return (*i)->TrackId();
#define LOG_DEBUG(stream)
virtual int DoCalculateEveId(const int trackID)
const sim::ParticleNavigator * m_particleNav
The ParticleNavigator associated with the eve ID calculation.
Example routine for calculating the "ultimate e-m mother" of a particle in a simulated event...