Go to the documentation of this file.
7 zp = lay =
sec = subsec = cell = 0;
24 subdet = zp = lay = wafer = celltyp = cell = 0;
47 const uint32_t&
idx,
int& subdet,
int& zp,
int& lay,
int& wafer,
int& celltyp,
int& cell) {
59 std::cout <<
"[HGCalTestNumbering] request for new id for layer=" << lay <<
" zp=" << zp <<
" sector=" <<
sec
60 <<
" subsec=" << subsec <<
" cell=" << cell <<
" has one or more fields out of bounds and will be reset"
71 edm::LogWarning(
"HGCSim") <<
"[HGCalTestNumbering] request for new id for layer=" << lay <<
" zp=" << zp
72 <<
" wafer=" << wafer <<
" celltyp=" << celltyp <<
" cell=" << cell
73 <<
" for subdet=" << subdet
74 <<
" has one or more fields out of bounds and will be reset *****";
static const int kHGCalCellHOffset
static const int kHGCalSectorSMask
static const int kHGCalLayerHMask
static const int kHGCalZsideSOffset
static void unpackHexagonIndex(const uint32_t &idx, int &subdet, int &z, int &lay, int &wafer, int &celltyp, int &cell)
static const int kHGCalWaferHOffset
static const int kHGCalLayerHOffset
static const int kHGCalCellSMask
Log< level::Warning, false > LogWarning
static void unpackSquareIndex(const uint32_t &idx, int &z, int &lay, int &sec, int &subsec, int &cell)
static const int kHGCalSubdetHOffset
static const int kHGCalZsideSMask
static uint32_t packSquareIndex(int z, int lay, int sec, int subsec, int cell)
static const int kHGCalLayerSMask
static const int kHGCalZsideHMask
static const int kHGCalSubSectorSMask
static const int kHGCalCellHMask
static const int kHGCalCellTypHMask
static const int kHGCalSubdetHMask
static const int kHGCalLayerSOffset
static const int kHGCalSubSectorSOffset
static const int kHGCalZsideHOffset
static uint32_t packHexagonIndex(int subdet, int z, int lay, int wafer, int celltyp, int cell)
static const int kHGCalCellSOffset
static const int kHGCalSectorSOffset
static const int kHGCalWaferHMask
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 kHGCalCellTypHOffset