#include <HcalTrigTowerGeometry.h>
Public Member Functions | |
std::vector< HcalDetId > | detIds (const HcalTrigTowerDetId &) const |
int | firstHFRingInTower (int ietaTower) const |
since the towers are irregular in eta in HF More... | |
int | firstHFTower () const |
HcalTrigTowerGeometry (const HcalTopology *topology) | |
int | hfTowerEtaSize (int ieta) const |
int | nPhiBins (int ieta) const |
an interface for CaloSubdetectorGeometry More... | |
int | nTowers () const |
void | setUpgradeConfigurationHFTowers (bool value) |
void | setupHF (bool useShortFibers, bool useQuadRings) |
void | towerEtaBounds (int ieta, 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... | |
Private Attributes | |
const HcalTopology * | theTopology |
bool | useHFQuadPhiRings_ |
bool | useShortFibers_ |
bool | useUpgradeConfigurationHFTowers_ |
Definition at line 10 of file HcalTrigTowerGeometry.h.
HcalTrigTowerGeometry::HcalTrigTowerGeometry | ( | const HcalTopology * | topology | ) |
Definition at line 9 of file HcalTrigTowerGeometry.cc.
References useHFQuadPhiRings_, useShortFibers_, and useUpgradeConfigurationHFTowers_.
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(), python.entryComment::results, theTopology, useUpgradeConfigurationHFTowers_, and ecaldqm::zside().
int HcalTrigTowerGeometry::firstHFRingInTower | ( | int | ietaTower | ) | const |
since the towers are irregular in eta in HF
Definition at line 202 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HcalTopology::firstHFRing(), firstHFTower(), hfTowerEtaSize(), query::result, and theTopology.
Referenced by detIds(), towerEtaBounds(), and towerIds().
|
inline |
Definition at line 30 of file HcalTrigTowerGeometry.h.
Referenced by firstHFRingInTower(), hfTowerEtaSize(), CaloTPGTranscoderULUT::loadHCALCompress(), CaloTPGTranscoderULUT::loadHCALUncompress(), L1CaloHcalScaleConfigOnlineProd::newObject(), nPhiBins(), HcalTriggerPrimitiveAlgo::run(), towerEtaBounds(), and towerIds().
int HcalTrigTowerGeometry::hfTowerEtaSize | ( | int | ieta | ) | const |
the number of HF eta rings in this trigger tower ieta starts at firstHFTower()
Definition at line 190 of file HcalTrigTowerGeometry.cc.
References funct::abs(), firstHFTower(), nTowers(), and useUpgradeConfigurationHFTowers_.
Referenced by detIds(), firstHFRingInTower(), and towerEtaBounds().
|
inline |
an interface for CaloSubdetectorGeometry
the number of phi bins in this eta ring
Definition at line 25 of file HcalTrigTowerGeometry.h.
References funct::abs(), firstHFTower(), and useUpgradeConfigurationHFTowers_.
Referenced by detIds().
|
inline |
Definition at line 31 of file HcalTrigTowerGeometry.h.
Referenced by hfTowerEtaSize().
|
inline |
Definition at line 43 of file HcalTrigTowerGeometry.h.
References useUpgradeConfigurationHFTowers_, and relativeConstraints::value.
void HcalTrigTowerGeometry::setupHF | ( | bool | useShortFibers, |
bool | useQuadRings | ||
) |
Definition at line 17 of file HcalTrigTowerGeometry.cc.
References useHFQuadPhiRings_, and useShortFibers_.
void HcalTrigTowerGeometry::towerEtaBounds | ( | int | ieta, |
double & | eta1, | ||
double & | eta2 | ||
) | const |
where this tower begins and ends in eta
Definition at line 216 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HcalTopology::firstHFRing(), firstHFRingInTower(), firstHFTower(), hfTowerEtaSize(), HcalTopology::lastHERing(), theHBHEEtaBounds, theHFEtaBounds, theTopology, and tmp.
Referenced by CaloTPGTranscoderULUT::loadHCALUncompress(), and L1CaloHcalScaleConfigOnlineProd::newObject().
std::vector< HcalTrigTowerDetId > HcalTrigTowerGeometry::towerIds | ( | const HcalDetId & | cellId | ) | const |
the mapping to and from DetIds
Definition at line 23 of file HcalTrigTowerGeometry.cc.
References HcalDetId::depth(), HcalTopology::firstHEDoublePhiRing(), HcalTopology::firstHFQuadPhiRing(), firstHFRingInTower(), firstHFTower(), HcalForward, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), HcalTopology::lastHERing(), python.entryComment::results, edm::shift, HcalDetId::subdet(), theTopology, useHFQuadPhiRings_, useShortFibers_, useUpgradeConfigurationHFTowers_, and HcalDetId::zside().
Referenced by HcalTriggerPrimitiveAlgo::addSignal(), and HcalTriggerPrimitiveAlgo::runFEFormatError().
|
private |
Definition at line 48 of file HcalTrigTowerGeometry.h.
Referenced by detIds(), firstHFRingInTower(), towerEtaBounds(), and towerIds().
|
private |
Definition at line 50 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), setupHF(), and towerIds().
|
private |
Definition at line 49 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), setupHF(), and towerIds().
|
private |
Definition at line 51 of file HcalTrigTowerGeometry.h.
Referenced by detIds(), HcalTrigTowerGeometry(), hfTowerEtaSize(), nPhiBins(), setUpgradeConfigurationHFTowers(), and towerIds().