42 #ifndef sim_LArVoxelID_h 43 #define sim_LArVoxelID_h 45 #include <TLorentzVector.h> 78 explicit LArVoxelID(
const TLorentzVector& v );
117 operator TLorentzVector()
const;
122 operator TVector3()
const;
161 return (*lhs) < (*rhs);
166 #endif // sim_LArVoxelID_h
LArVoxelID(const int x=0, const int y=0, const int z=0, const int t=0)
Expert constructor based on actual bins.
bool operator<(const LArVoxelID &) const
double operator[](const int) const
virtual ~LArVoxelID()
Destructor.
bool operator==(const LArVoxelID &) const
Test for equality. Handy, but not usually necessary.
friend std::ostream & operator<<(std::ostream &output, const LArVoxelID &)
Code to link reconstructed objects back to the MC truth information.
bool operator()(const sim::LArVoxelID *lhs, const sim::LArVoxelID *rhs)