LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
EmEveIdCalculator.h
Go to the documentation of this file.
1 
11 
17 
22 
28 
31 
32 // sim::ParticleList::AdoptEveIdCalculator( new sim::EmEveIdCalculator );
33 
36 
40 
45 
50 
54 
55 #ifndef SIM_EmEveIdCalculator_H
56 #define SIM_EmEveIdCalculator_H
57 
59 
61 namespace sim {
62 
64  {
65  public:
66  // Constructor and destructor, which here do nothing.
68  : EveIdCalculator() // Make sure the parent class constructor is called
69  {}
70  virtual ~EmEveIdCalculator() {}
71 
72  private:
73  // This is the method that does the actual eve ID calculation.
74  virtual int DoCalculateEveId( const int trackID );
75  };
76 
77 } // namespace sim
78 
79 #endif // SIM_EmEveIdCalculator_H
virtual int DoCalculateEveId(const int trackID)
Monte Carlo Simulation.
Interface for calculating the "ultimate mother" of a particle in a simulated event.