#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 () | |
int | hfTowerEtaSize (int ieta) const |
int | nPhiBins (int ieta) const |
an interface for CaloSubdetectorGeometry More... | |
int | nTowers () const |
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 | |
HcalTopology | theTopology |
bool | useHFQuadPhiRings_ |
bool | useShortFibers_ |
Definition at line 10 of file HcalTrigTowerGeometry.h.
HcalTrigTowerGeometry::HcalTrigTowerGeometry | ( | ) |
Definition at line 9 of file HcalTrigTowerGeometry.cc.
References useHFQuadPhiRings_, and useShortFibers_.
std::vector< HcalDetId > HcalTrigTowerGeometry::detIds | ( | const HcalTrigTowerDetId & | hcalTrigTowerDetId | ) | const |
Definition at line 67 of file HcalTrigTowerGeometry.cc.
References 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, and theTopology.
int HcalTrigTowerGeometry::firstHFRingInTower | ( | int | ietaTower | ) | const |
since the towers are irregular in eta in HF
Definition at line 169 of file HcalTrigTowerGeometry.cc.
References abs, HcalTopology::firstHFRing(), firstHFTower(), hfTowerEtaSize(), query::result, and theTopology.
Referenced by detIds(), towerEtaBounds(), and towerIds().
|
inline |
Definition at line 29 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 161 of file HcalTrigTowerGeometry.cc.
References abs, firstHFTower(), and nTowers().
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 abs, and firstHFTower().
Referenced by detIds().
|
inline |
Definition at line 30 of file HcalTrigTowerGeometry.h.
Referenced by hfTowerEtaSize(), and CaloTPGTranscoderULUT::printDecompression().
void HcalTrigTowerGeometry::setupHF | ( | bool | useShortFibers, |
bool | useQuadRings | ||
) |
Definition at line 14 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 183 of file HcalTrigTowerGeometry.cc.
References 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 20 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, HcalDetId::subdet(), theTopology, useHFQuadPhiRings_, useShortFibers_, and HcalDetId::zside().
Referenced by HcalTriggerPrimitiveAlgo::addSignal(), and HcalTriggerPrimitiveAlgo::runFEFormatError().
|
private |
Definition at line 43 of file HcalTrigTowerGeometry.h.
Referenced by detIds(), firstHFRingInTower(), towerEtaBounds(), and towerIds().
|
private |
Definition at line 45 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), setupHF(), and towerIds().
|
private |
Definition at line 44 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), setupHF(), and towerIds().