#include <HcalTrigTowerGeometry.h>
Public Member Functions | |
std::vector< HcalDetId > | detIds (const HcalTrigTowerDetId &) const |
int | firstHFTower (int version) const |
HcalTrigTowerGeometry (const HcalTopology *topology) | |
int | nTowers (int version) const |
number of towers (version dependent) More... | |
const HcalTopology & | topology () const |
void | towerEtaBounds (int ieta, int version, double &eta1, double &eta2) const |
where this tower begins and ends in eta More... | |
std::vector< HcalTrigTowerDetId > | towerIds (const HcalDetId &cellId) const |
the mapping to and from DetIds More... | |
std::vector< HcalTrigTowerDetId > | towerIds_ZDC (const HcalZDCDetId &cellId) const |
bool | use1x1 () const |
bool | useRCT () const |
Private Member Functions | |
int | firstHFRingInTower (int ietaTower) const |
since the towers are irregular in eta in HF More... | |
int | hfTowerEtaSize (int ieta) const |
int | nPhiBins (int ieta, int version) const |
the number of phi bins in this eta ring More... | |
Private Attributes | |
const HcalTopology * | theTopology |
bool | use1x1_ |
bool | use2017_ |
bool | useRCT_ |
Definition at line 11 of file HcalTrigTowerGeometry.h.
HcalTrigTowerGeometry::HcalTrigTowerGeometry | ( | const HcalTopology * | topology | ) |
Definition at line 9 of file HcalTrigTowerGeometry.cc.
References or, theTopology, HcalTopology::triggerMode(), HcalTopologyMode::TriggerMode_2016, HcalTopologyMode::TriggerMode_2017, HcalTopologyMode::TriggerMode_2018legacy, use1x1_, use2017_, and useRCT_.
std::vector< HcalDetId > HcalTrigTowerGeometry::detIds | ( | const HcalTrigTowerDetId & | hcalTrigTowerDetId | ) | const |
Definition at line 100 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HcalTopology::depthBinInformation(), HcalTopology::firstHEDoublePhiRing(), HcalTopology::firstHERing(), HcalTopology::firstHFRing(), firstHFRingInTower(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hfTowerEtaSize(), HcalTrigTowerDetId::ieta(), HcalTrigTowerDetId::iphi(), HcalTopology::lastHBRing(), HcalTopology::lastHERing(), HcalTopology::lastHORing(), nPhiBins(), mysort::results, theTopology, use2017_, HcalTrigTowerDetId::version(), HcalTrigTowerDetId::zside(), and ecaldqm::zside().
Referenced by Phase2L1CaloEGammaEmulator::produce(), and L1EGCrystalClusterEmulatorProducer::produce().
|
private |
since the towers are irregular in eta in HF
Definition at line 239 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HcalTopology::firstHFRing(), firstHFTower(), hfTowerEtaSize(), mps_fire::result, and theTopology.
Referenced by detIds(), and towerIds().
|
inline |
Definition at line 20 of file HcalTrigTowerGeometry.h.
References BeamSplash_cfg::version.
Referenced by firstHFRingInTower(), hfTowerEtaSize(), CaloTPGTranscoderULUT::loadHCALCompress(), L1CaloHcalScaleConfigOnlineProd::newObject(), nPhiBins(), HcalTriggerPrimitiveAlgo::run(), towerEtaBounds(), and towerIds().
|
private |
the number of HF eta rings in this trigger tower ieta starts at firstHFTower()
Definition at line 232 of file HcalTrigTowerGeometry.cc.
References funct::abs(), cms::cuda::assert(), firstHFTower(), hcalRecHitTable_cff::ieta, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), and nTowers().
Referenced by detIds(), and firstHFRingInTower().
|
inlineprivate |
the number of phi bins in this eta ring
Definition at line 37 of file HcalTrigTowerGeometry.h.
References funct::abs(), firstHFTower(), hcalRecHitTable_cff::ieta, and BeamSplash_cfg::version.
Referenced by detIds().
|
inline |
number of towers (version dependent)
Definition at line 26 of file HcalTrigTowerGeometry.h.
References BeamSplash_cfg::version.
Referenced by hfTowerEtaSize().
|
inline |
Definition at line 29 of file HcalTrigTowerGeometry.h.
References theTopology.
Referenced by HcalTriggerPrimitiveAlgo::analyzeQIE11().
void HcalTrigTowerGeometry::towerEtaBounds | ( | int | ieta, |
int | version, | ||
double & | eta1, | ||
double & | eta2 | ||
) | const |
where this tower begins and ends in eta
Definition at line 253 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HLT_2024v14_cff::eta1, HLT_2024v14_cff::eta2, HcalTopology::etaRange(), EnergyCorrector::etas, firstHFTower(), HcalBarrel, HcalForward, hcalRecHitTable_cff::ieta, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), theTopology, createJobs::tmp, and BeamSplash_cfg::version.
Referenced by CaloTPGTranscoderULUT::loadHCALCompress(), HcaluLUTTPGCoder::make_cosh_ieta_map(), and L1CaloHcalScaleConfigOnlineProd::newObject().
std::vector< HcalTrigTowerDetId > HcalTrigTowerGeometry::towerIds | ( | const HcalDetId & | cellId | ) | const |
the mapping to and from DetIds
Definition at line 16 of file HcalTrigTowerGeometry.cc.
References hcalRecHitTable_cff::depth, HcalDetId::depth(), HcalTopology::firstHEDoublePhiRing(), firstHFRingInTower(), firstHFTower(), HcalForward, l1ctLayer2EG_cff::id, hcalRecHitTable_cff::ieta, HcalDetId::ieta(), HcalDetId::ietaAbs(), hcalRecHitTable_cff::iphi, HcalDetId::iphi(), HcalTopology::lastHBRing(), HcalTopology::lastHERing(), HcalTopology::maxDepthHE(), mysort::results, HcalDetId::subdet(), theTopology, use1x1_, use2017_, useRCT_, and HcalDetId::zside().
Referenced by HcalTriggerPrimitiveAlgo::addSignal(), HcalTriggerPrimitiveAlgo::addUpgradeTDCFG(), HcalTriggerPrimitiveAlgo::analyzeQIE11(), HcalTriggerPrimitiveAlgo::runFEFormatError(), and CaloTPGTranscoderULUT::setup().
std::vector< HcalTrigTowerDetId > HcalTrigTowerGeometry::towerIds_ZDC | ( | const HcalZDCDetId & | cellId | ) | const |
Definition at line 85 of file HcalTrigTowerGeometry.cc.
References HcalZDCDetId::channel(), HcalZDCDetId::depth(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, mysort::results, and HcalZDCDetId::zside().
Referenced by HcalTriggerPrimitiveAlgo::addSignal().
|
inline |
Definition at line 33 of file HcalTrigTowerGeometry.h.
References use1x1_.
Referenced by L1TCaloLayer1FetchLUTs().
|
inline |
|
private |
Definition at line 50 of file HcalTrigTowerGeometry.h.
Referenced by detIds(), firstHFRingInTower(), HcalTrigTowerGeometry(), topology(), towerEtaBounds(), and towerIds().
|
private |
Definition at line 53 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), towerIds(), and use1x1().
|
private |
Definition at line 54 of file HcalTrigTowerGeometry.h.
Referenced by detIds(), HcalTrigTowerGeometry(), and towerIds().
|
private |
Definition at line 52 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), towerIds(), and useRCT().