Functions | |
int32_t | tileCassette (int32_t, int32_t, int32_t, int32_t) |
bool | tileExist (const int32_t *hex, int32_t zside, int32_t phi) |
int32_t | tileIndex (int32_t layer, int32_t ring, int32_t phi) |
int32_t | tileLayer (int32_t index) |
int32_t | tilePack (int32_t ly, int32_t k1, int32_t k2) |
int32_t | tilePhi (int32_t index) |
int32_t | tileProperty (int32_t, int32_t) |
int32_t | tileRing (int32_t index) |
int32_t | tileSiPM (int32_t) |
int32_t | tileType (int32_t) |
std::tuple< int32_t, int32_t, int32_t > | tileUnpack (int32_t index) |
int32_t HGCalTileIndex::tileCassette | ( | int32_t | iphi, |
int32_t | phiOffset, | ||
int32_t | nphiCassette, | ||
int32_t | cassettes | ||
) |
Definition at line 24 of file HGCalTileIndex.cc.
References LEDCalibrationChannels::iphi, and gmt_cfi::phiOffset.
Referenced by HGCalDDDConstants::assignCellTrap(), and HGCalDDDConstants::locateCellTrap().
bool HGCalTileIndex::tileExist | ( | const int32_t * | hex, |
int32_t | zside, | ||
int32_t | phi | ||
) |
Definition at line 64 of file HGCalTileIndex.cc.
References LEDCalibrationChannels::iphi, findQualityFiles::jj, HGCalProperty::kHGCalTilePhis, HGCalProperty::kHGCalTilePhisBy12, HGCalProperty::kHGCalTilePhisBy2, HGCalProperty::kHGCalTilePhisBy3, convertSQLiteXML::ok, PVValHelper::phi, and ecaldqm::zside().
Referenced by HGCalDDDConstants::tileExist().
int32_t HGCalTileIndex::tileIndex | ( | int32_t | layer, |
int32_t | ring, | ||
int32_t | phi | ||
) |
Definition at line 4 of file HGCalTileIndex.cc.
References l1ctLayer2EG_cff::id, HGCalProperty::kHGCalLayerMask, HGCalProperty::kHGCalLayerOffset, HGCalProperty::kHGCalPhiMask, HGCalProperty::kHGCalPhiOffset, HGCalProperty::kHGCalRingMask, HGCalProperty::kHGCalRingOffset, phase1PixelTopology::layer, PVValHelper::phi, and relativeConstraints::ring.
Referenced by HGCalTestScintHits::analyze(), HGCalNumberingScheme::getUnitID(), HGCalNumberingScheme::HGCalNumberingScheme(), HGCScintSD::HGCScintSD(), HGCScintSD::setDetUnitId(), HGCalDDDConstants::tileCount(), HGCalDDDConstants::tileExist(), HGCalDDDConstants::tileInfo(), and HGCalDDDConstants::tileType().
int32_t HGCalTileIndex::tileLayer | ( | int32_t | index | ) |
Definition at line 12 of file HGCalTileIndex.cc.
References HGCalProperty::kHGCalLayerMask, and HGCalProperty::kHGCalLayerOffset.
int32_t HGCalTileIndex::tilePack | ( | int32_t | ly, |
int32_t | k1, | ||
int32_t | k2 | ||
) |
Definition at line 49 of file HGCalTileIndex.cc.
References HGCalProperty::kHGCalTilePack.
int32_t HGCalTileIndex::tilePhi | ( | int32_t | index | ) |
Definition at line 20 of file HGCalTileIndex.cc.
References HGCalProperty::kHGCalPhiMask, and HGCalProperty::kHGCalPhiOffset.
int32_t HGCalTileIndex::tileProperty | ( | int32_t | type, |
int32_t | sipm | ||
) |
Definition at line 36 of file HGCalTileIndex.cc.
References HGCalProperty::kHGCalFactor, HGCalProperty::kHGCalOffsetSiPM, and HGCalProperty::kHGCalOffsetType.
int32_t HGCalTileIndex::tileRing | ( | int32_t | index | ) |
Definition at line 16 of file HGCalTileIndex.cc.
References HGCalProperty::kHGCalRingMask, and HGCalProperty::kHGCalRingOffset.
int32_t HGCalTileIndex::tileSiPM | ( | int32_t | property | ) |
Definition at line 45 of file HGCalTileIndex.cc.
References HGCalProperty::kHGCalFactor, and HGCalProperty::kHGCalOffsetSiPM.
int32_t HGCalTileIndex::tileType | ( | int32_t | property | ) |
Definition at line 41 of file HGCalTileIndex.cc.
References HGCalProperty::kHGCalFactor, and HGCalProperty::kHGCalOffsetType.
std::tuple< int32_t, int32_t, int32_t > HGCalTileIndex::tileUnpack | ( | int32_t | index | ) |
Definition at line 56 of file HGCalTileIndex.cc.
References HGCalProperty::kHGCalTilePack.
Referenced by HGCalMixLayer::HGCalMixLayer(), HGCalMixRotatedLayer::HGCalMixRotatedLayer(), DDHGCalMixLayer::initialize(), DDHGCalMixRotatedLayer::initialize(), DDHGCalMixLayer::positionMix(), DDHGCalMixRotatedLayer::positionMix(), HGCalMixLayer::positionMix(), and HGCalMixRotatedLayer::positionMix().