26 if (nphiCassette > 1) {
29 cassette += cassettes;
30 else if (cassette >= cassettes)
31 cassette = cassettes - 1;
33 return (cassette + 1);
61 return std::make_tuple(ly, k1, k2);
74 bool ok = (hex[iw] & (1 << ibit));
constexpr int32_t kHGCalTilePhisBy3
int32_t tileRing(int32_t index)
constexpr int32_t kHGCalTilePhisBy12
int32_t tileType(int32_t)
constexpr std::array< uint8_t, layerIndexSize > layer
int32_t tileIndex(int32_t layer, int32_t ring, int32_t phi)
constexpr int32_t kHGCalRingMask
int32_t tilePhi(int32_t index)
int32_t tileCassette(int32_t, int32_t, int32_t, int32_t)
std::tuple< int32_t, int32_t, int32_t > tileUnpack(int32_t index)
constexpr int32_t kHGCalTilePhis
constexpr int32_t kHGCalPhiOffset
constexpr int32_t kHGCalLayerOffset
int32_t tilePack(int32_t ly, int32_t k1, int32_t k2)
int32_t tileProperty(int32_t, int32_t)
bool tileExist(const int32_t *hex, int32_t zside, int32_t phi)
constexpr int32_t kHGCalOffsetSiPM
constexpr int32_t kHGCalTilePhisBy2
constexpr int32_t kHGCalLayerMask
constexpr int32_t kHGCalPhiMask
constexpr int32_t kHGCalRingOffset
int32_t tileSiPM(int32_t)
constexpr int32_t kHGCalTilePack
constexpr int32_t kHGCalFactor
int32_t tileLayer(int32_t index)
constexpr int32_t kHGCalOffsetType