1 #ifndef ALIFMDSTRIPINDEX_H
2 #define ALIFMDSTRIPINDEX_H
61 UInt_t irg = (rng ==
'I' || rng ==
'i' ? 0 : 1);
62 UInt_t id = (((str & 0x1FF) << 0) |
63 ((sec & 0x03F) << 9) |
64 ((irg & 0x001) << 16) |
65 ((det & 0x003) << 17));
81 str = ((tmp >> 0) & 0x1FF);
82 sec = ((tmp >> 9) & 0x03F);
83 rng = ((tmp >> 16) & 0x001) ?
'O' :
'I';
84 det = ((tmp >> 17) & 0x003);
return jsonbuilder str().c_str()
static UInt_t Pack(UShort_t det, Char_t rng, UShort_t sec, UShort_t str)
virtual ~AliFMDStripIndex()
static void Unpack(UInt_t id, UShort_t &det, Char_t &rng, UShort_t &sec, UShort_t &str)