#include <MCTruthEmEveIdCalculator.h>
Definition at line 69 of file MCTruthEmEveIdCalculator.h.
 
  
  
      
        
          | truth::MCTruthEmEveIdCalculator::MCTruthEmEveIdCalculator  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | virtual truth::MCTruthEmEveIdCalculator::~MCTruthEmEveIdCalculator  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | int truth::MCTruthEmEveIdCalculator::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 truth::MCTruthEveIdCalculator.
Definition at line 29 of file MCTruthEmEveIdCalculator.cxx.
   34     const MCTruthParticleHistory particleHistory( 
m_particleList, trackID );
 
   48     for(
auto i = particleHistory.rbegin(); i != particleHistory.rend(); ++i){
 
   51       std::string process = (*i)->Process();
 
   58       if ( process.find(
"conv")              != std::string::npos ||
 
   59            process.find(
"LowEnConversion")   != std::string::npos ||
 
   60            process.find(
"Pair")              != std::string::npos ||
 
   61            process.find(
"compt")             != std::string::npos ||
 
   62            process.find(
"Compt")             != std::string::npos ||
 
   63            process.find(
"Brem")              != std::string::npos ||
 
   64            process.find(
"phot")              != std::string::npos ||
 
   65            process.find(
"Photo")             != std::string::npos ||
 
   66            process.find(
"Ion")               != std::string::npos ||
 
   67            process.find(
"annihil")           != std::string::npos) 
continue;         
 
   71       return (*i)->TrackId();
 
const MCTruthParticleList * m_particleList
 
 
 
 
The documentation for this class was generated from the following files: