42 #ifndef sim_LArVoxelID_h 43 #define sim_LArVoxelID_h 45 #include <TLorentzVector.h> 78 explicit LArVoxelID(
const TLorentzVector& v );
119 operator TLorentzVector()
const;
124 operator TVector3()
const;
167 return (*lhs) < (*rhs);
174 #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 &)
bool operator()(const sim::LArVoxelID *lhs, const sim::LArVoxelID *rhs)