29 LiteHit(
unsigned int p,
unsigned int c,
double pe,
unsigned char i) : pecorr(pe), partIdx(i)
33 assert(
sizeof(
short) == 2);
38 int Plane()
const {
return cellIdx/256;}
39 int Cell()
const {
return cellIdx%256;}
bool compareByPlane(const LiteHit &a, const LiteHit &b)
bool compareByCell(const LiteHit &a, const LiteHit &b)
std::ostream & operator<<(std::ostream &os, const lem::Heads &hs)
bool operator<(const LiteHit &rhs) const
LiteHit(unsigned int p, unsigned int c, double pe, unsigned char i)
void SetPlaneCell(int p, int c)
assert(nhit_max >=nhit_nbins)
Compressed hit info, basic component of LEM events.