18 unsigned short bitmask = 0;
21 bitmask = bitmask | 1;
22 bitmask = bitmask | (absx << 1);
24 bitmask = bitmask | (1 << 4);
25 bitmask = bitmask | (absy << 5);
27 bitmask = bitmask | (1 << 8);
28 bitmask = bitmask | (absz << 9);
47 unsigned short absx =
abs(x);
48 unsigned short absy =
abs(y);
49 unsigned short absz =
abs(z);
51 unsigned short bitmask = 0;
54 bitmask = bitmask | 1;
55 bitmask = bitmask | (absx << 1);
57 bitmask = bitmask | (1 << 4);
58 bitmask = bitmask | (absy << 5);
60 bitmask = bitmask | (1 << 8);
61 bitmask = bitmask | (absz << 9);
76 out <<
"hit id:" << hit.
detId() <<
" l:" << hit.
layer() <<
" E:" << hit.
energy() <<
" t:" << hit.
time();
79 out <<
" rep:" << pos.
rho() <<
"," << pos.eta() <<
"," << pos.phi() <<
"|";
float rho() const
transverse momentum
std::vector< unsigned short > neighbourInfos_
std::vector< unsigned int > neighbours_
indices to existing neighbours (1 common side)
unsigned int neighbours4_
float time() const
timing for cleaned hits
unsigned detId() const
rechit detId
void addNeighbour(short x, short y, short z, unsigned int)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
unsigned int getNeighbour(short x, short y, short z) const
unsigned int neighbours8_
PFLayer::Layer layer() const
rechit layer
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Abs< T >::type abs(const T &t)
float energy() const
rechit energy
RhoEtaPhi const & positionREP() const