#include <EmEveIdCalculator.h>
Definition at line 63 of file EmEveIdCalculator.h.
sim::EmEveIdCalculator::EmEveIdCalculator |
( |
| ) |
|
|
inline |
virtual sim::EmEveIdCalculator::~EmEveIdCalculator |
( |
| ) |
|
|
inlinevirtual |
int sim::EmEveIdCalculator::DoCalculateEveId |
( |
const int |
trackID | ) |
|
|
privatevirtual |
This is the core method to calculate the eve ID. If another class is going to override the default calculation, this the method that must be implemented.
Reimplemented from sim::EveIdCalculator.
Definition at line 22 of file EmEveIdCalculator.cxx.
41 for(
auto i = particleHistory.rbegin(); i != particleHistory.rend(); ++i){
51 if ( process.find(
"conv") != std::string::npos ||
52 process.find(
"LowEnConversion") != std::string::npos ||
53 process.find(
"Pair") != std::string::npos ||
54 process.find(
"compt") != std::string::npos ||
55 process.find(
"Compt") != std::string::npos ||
56 process.find(
"Brem") != std::string::npos ||
57 process.find(
"phot") != std::string::npos ||
58 process.find(
"Photo") != std::string::npos ||
59 process.find(
"Ion") != std::string::npos ||
60 process.find(
"annihil") != std::string::npos)
continue;
64 return (*i)->TrackId();
const sim::ParticleList * m_particleList
The documentation for this class was generated from the following files: