29 if (nphiCassette > 1) {
32 cassette += cassettes;
33 else if (cassette >= cassettes)
34 cassette = cassettes - 1;
36 return (cassette + 1);
64 return std::make_tuple(ly, k1, k2);
77 bool ok = (hex[iw] & (1 << ibit));
80 <<
"|" << iw <<
"|" << ibit <<
" hex " << std::hex << hex[iw] <<
std::dec <<
" OK " 96 bool ok = (hex[iw] & (1 << ibit));
99 <<
jj <<
"|" << iw <<
"|" << ibit <<
" hex " << std::hex << hex[iw] <<
std::dec
Log< level::Info, true > LogVerbatim
constexpr int32_t kHGCalTilePhisBy3
int32_t tileRing(int32_t index)
int32_t tileType(int32_t)
bool tileFineExist(const int32_t *hex, int32_t zside, int32_t phi)
constexpr int32_t kHGCalFineTilePhis
int32_t tileIndex(int32_t layer, int32_t ring, int32_t phi)
constexpr int32_t kHGCalRingMask
constexpr int32_t kHGCalFineTilePhisBy3
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
constexpr int32_t kHGCalFineTilePhisBy2
int32_t tilePack(int32_t ly, int32_t k1, int32_t k2)
constexpr int32_t kHGCalTilePhisWord
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