#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 85 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(), mps_update::results, theTopology, use2017_, HcalTrigTowerDetId::version(), HcalTrigTowerDetId::zside(), and ecaldqm::zside().
|
private |
since the towers are irregular in eta in HF
Definition at line 221 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HcalTopology::firstHFRing(), firstHFTower(), hfTowerEtaSize(), mps_fire::result, and theTopology.
Referenced by detIds(), nPhiBins(), and towerIds().
|
inline |
Definition at line 19 of file HcalTrigTowerGeometry.h.
References towerEtaBounds(), and jets_cff::version.
Referenced by HcalDigisValidation::analyze(), 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 211 of file HcalTrigTowerGeometry.cc.
References funct::abs(), firstHFTower(), and nTowers().
Referenced by detIds(), firstHFRingInTower(), and nPhiBins().
|
inlineprivate |
the number of phi bins in this eta ring
Definition at line 37 of file HcalTrigTowerGeometry.h.
References funct::abs(), firstHFRingInTower(), firstHFTower(), and hfTowerEtaSize().
Referenced by detIds().
|
inline |
number of towers (version dependent)
Definition at line 25 of file HcalTrigTowerGeometry.h.
Referenced by hfTowerEtaSize().
|
inline |
Definition at line 28 of file HcalTrigTowerGeometry.h.
References theTopology.
void HcalTrigTowerGeometry::towerEtaBounds | ( | int | ieta, |
int | version, | ||
double & | eta1, | ||
double & | eta2 | ||
) | const |
where this tower begins and ends in eta
Definition at line 235 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HcalTopology::etaRange(), EnergyCorrector::etas, firstHFTower(), HcalBarrel, HcalForward, theTopology, and tmp.
Referenced by firstHFTower(), 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 19 of file HcalTrigTowerGeometry.cc.
References egammaForCoreTracking_cff::depth, HcalDetId::depth(), HcalTopology::firstHEDoublePhiRing(), firstHFRingInTower(), firstHFTower(), HcalForward, triggerObjects_cff::id, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), HcalTopology::lastHERing(), mps_update::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 32 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().