1 #ifndef __sbnanalysis_util_Interaction__
2 #define __sbnanalysis_util_Interaction__
5 #include "nusimdata/SimulationBase/MCParticle.h"
18 double ECCQE(
const TVector3& l_momentum,
double l_energy);
33 const std::vector<geo::BoxBoundedGeo> &boxes);
46 double MCParticleContainedLength(
const simb::MCParticle &particle,
const std::vector<geo::BoxBoundedGeo> &active_volumes);
59 #endif // __sbnanalysis_util_Interaction__
double ContainedLength(const TVector3 &v0, const TVector3 &v1, const std::vector< geo::BoxBoundedGeo > &boxes)
double MCParticleLength(const simb::MCParticle &particle)
double ECCQE(const TVector3 &l_momentum, double l_energy)
Access the description of detector geometry.
double MCParticleContainedLength(const simb::MCParticle &particle, const std::vector< geo::BoxBoundedGeo > &active_volumes)
Provides a base class aware of world box coordinates.