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();
77 if (
hit.hasCaloCell()) {
78 auto const&
pos =
hit.positionREP();
79 out <<
" rep:" <<
pos.rho() <<
"," <<
pos.eta() <<
"," <<
pos.phi() <<
"|";