2 #ifndef SimDataFormats_HcalTestBeamNumbering_h 3 #define SimDataFormats_HcalTestBeamNumbering_h 27 static uint32_t
packIndex(
int det,
int lay,
int x,
int y);
28 static void unpackIndex(
const uint32_t&
idx,
int& det,
int& lay,
int&
x,
int&
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
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