2 #ifndef SimDataFormats_HGCalTestNumbering_h 3 #define SimDataFormats_HGCalTestNumbering_h 37 static uint32_t
packHexagonIndex(
int subdet,
int z,
int lay,
int wafer,
int celltyp,
int cell);
38 static void unpackSquareIndex(
const uint32_t&
idx,
int& z,
int& lay,
int& sec,
int& subsec,
int& cell);
40 const uint32_t& idx,
int& subdet,
int& z,
int& lay,
int& wafer,
int& celltyp,
int& cell);
41 static bool isValidSquare(
int z,
int lay,
int sec,
int subsec,
int cell);
42 static bool isValidHexagon(
int subdet,
int z,
int lay,
int wafer,
int celltyp,
int cell);
static const int kHGCalZsideHMask
static const int kHGCalSubSectorSMask
static const int kHGCalWaferHMask
static const int kHGCalCellSMask
static const int kHGCalZsideHOffset
static const int kHGCalCellHMask
static const int kHGCalSubdetHMask
static const int kHGCalZsideSMask
static const int kHGCalLayerSOffset
static uint32_t packHexagonIndex(int subdet, int z, int lay, int wafer, int celltyp, int cell)
static const int kHGCalSectorSMask
static const int kHGCalZsideSOffset
static bool isValidHexagon(int subdet, int z, int lay, int wafer, int celltyp, int cell)
static bool isValidSquare(int z, int lay, int sec, int subsec, int cell)
static const int kHGCalLayerHOffset
static const int kHGCalSubSectorSOffset
static const int kHGCalCellHOffset
static const int kHGCalCellSOffset
static const int kHGCalLayerHMask
static const int kHGCalWaferHOffset
static void unpackSquareIndex(const uint32_t &idx, int &z, int &lay, int &sec, int &subsec, int &cell)
static const int kHGCalCellTypHMask
virtual ~HGCalTestNumbering()
static const int kHGCalCellTypHOffset
static const int kHGCalSubdetHOffset
static uint32_t packSquareIndex(int z, int lay, int sec, int subsec, int cell)
static void unpackHexagonIndex(const uint32_t &idx, int &subdet, int &z, int &lay, int &wafer, int &celltyp, int &cell)
static const int kHGCalLayerSMask
static const int kHGCalSectorSOffset