18 unsigned short bitmask=0;
22 bitmask = bitmask | 1 ;
23 bitmask = bitmask | (absx << 1);
25 bitmask = bitmask | (1<<4) ;
26 bitmask = bitmask | (absy << 5);
28 bitmask = bitmask | (1<<8) ;
29 bitmask = bitmask | (absz << 9);
50 unsigned short absx =
abs(x);
51 unsigned short absy =
abs(y);
52 unsigned short absz =
abs(z);
54 unsigned short bitmask=0;
57 bitmask = bitmask | 1 ;
58 bitmask = bitmask | (absx << 1);
60 bitmask = bitmask | (1<<4) ;
61 bitmask = bitmask | (absy << 5);
63 bitmask = bitmask | (1<<8) ;
64 bitmask = bitmask | (absz << 9);
79 out<<
"hit id:"<<hit.
detId()
85 out <<
" rep:"<<
pos.rho()<<
","<<
pos.eta()<<
","<<
pos.phi()<<
"|";
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)
unsigned int getNeighbour(short x, short y, short z) const
unsigned int neighbours8_
PFLayer::Layer layer() const
rechit layer
std::ostream & operator<<(std::ostream &, BeamSpot beam)
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