42 #ifndef sim_LArVoxelID_h 43 #define sim_LArVoxelID_h 45 #include <TLorentzVector.h> 66 LArVoxelID(
const int x = 0,
const int y = 0,
const int z = 0,
const int t = 0);
75 LArVoxelID(
const double x,
const double y,
const double z,
const double t);
110 operator TLorentzVector()
const;
115 operator TVector3()
const;
164 return (*lhs) < (*rhs);
169 #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)