#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... | |
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 10 of file HcalTrigTowerGeometry.h.
HcalTrigTowerGeometry::HcalTrigTowerGeometry | ( | const HcalTopology * | topology | ) |
Definition at line 8 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 84 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(), bookConverter::results, theTopology, use2017_, HcalTrigTowerDetId::version(), HcalTrigTowerDetId::zside(), and ecaldqm::zside().
Referenced by L1EGCrystalClusterEmulatorProducer::produce().
|
private |
since the towers are irregular in eta in HF
Definition at line 223 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 18 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 216 of file HcalTrigTowerGeometry.cc.
References funct::abs(), cms::cuda::assert(), firstHFTower(), LEDCalibrationChannels::ieta, and nTowers().
Referenced by detIds(), and firstHFRingInTower().
|
inlineprivate |
the number of phi bins in this eta ring
Definition at line 35 of file HcalTrigTowerGeometry.h.
References funct::abs(), firstHFTower(), LEDCalibrationChannels::ieta, and BeamSplash_cfg::version.
Referenced by detIds().
|
inline |
number of towers (version dependent)
Definition at line 24 of file HcalTrigTowerGeometry.h.
References BeamSplash_cfg::version.
Referenced by hfTowerEtaSize().
|
inline |
Definition at line 27 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 237 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HLT_FULL_cff::eta1, HLT_FULL_cff::eta2, HcalTopology::etaRange(), EnergyCorrector::etas, firstHFTower(), HcalBarrel, HcalForward, LEDCalibrationChannels::ieta, 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 15 of file HcalTrigTowerGeometry.cc.
References LEDCalibrationChannels::depth, HcalDetId::depth(), HcalTopology::firstHEDoublePhiRing(), firstHFRingInTower(), firstHFTower(), HcalForward, triggerObjects_cff::id, LEDCalibrationChannels::ieta, HcalDetId::ieta(), HcalDetId::ietaAbs(), LEDCalibrationChannels::iphi, HcalDetId::iphi(), HcalTopology::lastHBRing(), HcalTopology::lastHERing(), HcalTopology::maxDepthHE(), bookConverter::results, HcalDetId::subdet(), theTopology, use1x1_, use2017_, useRCT_, and HcalDetId::zside().
Referenced by HcalTriggerPrimitiveAlgo::addSignal(), HcalTriggerPrimitiveAlgo::analyzeQIE11(), HcalTriggerPrimitiveAlgo::runFEFormatError(), and CaloTPGTranscoderULUT::setup().
|
inline |
Definition at line 31 of file HcalTrigTowerGeometry.h.
References use1x1_.
Referenced by L1TCaloLayer1FetchLUTs().
|
inline |
|
private |
Definition at line 48 of file HcalTrigTowerGeometry.h.
Referenced by detIds(), firstHFRingInTower(), HcalTrigTowerGeometry(), topology(), towerEtaBounds(), and towerIds().
|
private |
Definition at line 51 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), towerIds(), and use1x1().
|
private |
Definition at line 52 of file HcalTrigTowerGeometry.h.
Referenced by detIds(), HcalTrigTowerGeometry(), and towerIds().
|
private |
Definition at line 50 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), towerIds(), and useRCT().