9 if (x < 0) { ix = 1; ixx =-
x;}
11 if (y < 0) { iy = 1; iyy =-
y;}
20 std::cout <<
"HcalTestBeamNumbering: Detector " << det <<
" Layer " << lay
21 <<
" x " << x <<
" " << ix <<
" " << ixx <<
" y " << y <<
" " 22 << iy <<
" " << iyy <<
" ID " << std::hex << idx <<
std::dec 40 <<
" Detector " << det <<
" Layer " << lay <<
" x " << x <<
" y " static const int kHcalBeamYValueOffset
static const int kHcalBeamYSignMask
static const int kHcalBeamLayerMask
static const int kHcalBeamYValueMask
static const int kHcalBeamXSignMask
static uint32_t packIndex(int det, int lay, int x, int y)
static const int kHcalBeamXValueMask
T x() const
Cartesian x coordinate.
static const int kHcalBeamLayerOffset
static const int kHcalBeamTypeMask
static const int kHcalBeamYSignOffset
static const int kHcalBeamXSignOffset
static const int kHcalBeamXValueOffset
static void unpackIndex(const uint32_t &idx, int &det, int &lay, int &x, int &y)
static const int kHcalBeamTypeOffset