7 int subsec,
int cell) {
10 zp = lay = sec = subsec = cell = 0;
16 if (subsec<0) subsec=0;
24 int wafer,
int celltyp,
28 subdet = zp = lay = wafer = celltyp = cell = 0;
42 int& lay,
int& sec,
int& subsec,
54 int& zp,
int& lay,
int& wafer,
55 int& celltyp,
int& cell) {
70 std::cout <<
"[HGCalTestNumbering] request for new id for layer=" << lay
73 <<
" subsec=" << subsec
75 <<
" has one or more fields out of bounds and will be reset"
84 int celltyp,
int cell) {
90 std::cout <<
"[HGCalTestNumbering] request for new id for layer=" << lay
93 <<
" celltyp=" << celltyp
95 <<
" for subdet=" << subdet
96 <<
" has one or more fields out of bounds and will be reset"
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
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
static void unpackSquareIndex(const uint32_t &idx, int &z, int &lay, int &sec, int &subsec, int &cell)
static const int kHGCalCellTypHMask
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