8 id_(id),energy_(energy), time_(time), flags_(flags), aux_(aux) {
12 static const uint32_t
masks[] = {
13 0x00000000u,0x00000001u,0x00000003u,0x00000007u,0x0000000fu,0x0000001fu,
14 0x0000003fu,0x0000007fu,0x000000ffu,0x000001ffu,0x000003ffu,0x000007ffu,
15 0x00000fffu,0x00001fffu,0x00003fffu,0x00007fffu,0x0000ffffu,0x0001ffffu,
16 0x0003ffffu,0x0007ffffu,0x000fffffu,0x001fffffu,0x003fffffu,0x007fffffu,
17 0x00ffffffu,0x01ffffffu,0x03ffffffu,0x07ffffffu,0x0fffffffu,0x1fffffffu,
18 0x3fffffffu,0x7fffffffu,0xffffffffu};
38 s <<
" flags=0x" << std::hex << hit.
flags() << std::dec <<
" ";
39 s <<
" aux=0x" << std::hex << hit.
aux() << std::dec <<
" ";
const DetId & detid() const
void setFlagField(uint32_t value, int base, int width=1)
std::vector< Variable::Flags > flags
std::ostream & operator<<(std::ostream &out, const ALILine &li)
uint32_t rawId() const
get the raw id
const T & max(const T &a, const T &b)
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
uint32_t flagField(int base, int width=1) const
static const uint32_t masks[]