#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... | |
void | setupHFTowers (bool enableRCT, bool enable1x1) |
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 | useRCT_ |
Definition at line 10 of file HcalTrigTowerGeometry.h.
HcalTrigTowerGeometry::HcalTrigTowerGeometry | ( | const HcalTopology * | topology | ) |
Definition at line 8 of file HcalTrigTowerGeometry.cc.
References use1x1_, and useRCT_.
std::vector< HcalDetId > HcalTrigTowerGeometry::detIds | ( | const HcalTrigTowerDetId & | hcalTrigTowerDetId | ) | const |
Definition at line 73 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, HcalTrigTowerDetId::version(), and ecaldqm::zside().
|
private |
since the towers are irregular in eta in HF
Definition at line 200 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HcalTopology::firstHFRing(), firstHFTower(), hfTowerEtaSize(), query::result, and theTopology.
Referenced by detIds(), and towerIds().
|
inline |
Definition at line 24 of file HcalTrigTowerGeometry.h.
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 190 of file HcalTrigTowerGeometry.cc.
References funct::abs(), assert(), firstHFTower(), and nTowers().
Referenced by detIds(), and firstHFRingInTower().
|
inlineprivate |
the number of phi bins in this eta ring
Definition at line 42 of file HcalTrigTowerGeometry.h.
References funct::abs(), and firstHFTower().
Referenced by detIds().
|
inline |
number of towers (version dependent)
Definition at line 30 of file HcalTrigTowerGeometry.h.
Referenced by hfTowerEtaSize().
|
inline |
|
inline |
Definition at line 33 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 214 of file HcalTrigTowerGeometry.cc.
References funct::abs(), HcalTopology::etaRange(), EnergyCorrector::etas, firstHFTower(), HcalBarrel, HcalForward, theTopology, and tmp.
Referenced by CaloTPGTranscoderULUT::loadHCALCompress(), 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 HcalTopology::firstHEDoublePhiRing(), firstHFRingInTower(), firstHFTower(), HcalForward, HcalDetId::ieta(), HcalDetId::ietaAbs(), HcalDetId::iphi(), HcalTopology::lastHERing(), bookConverter::results, HcalDetId::subdet(), theTopology, use1x1_, useRCT_, and HcalDetId::zside().
Referenced by HcalTriggerPrimitiveAlgo::addSignal(), and HcalTriggerPrimitiveAlgo::runFEFormatError().
|
inline |
|
inline |
|
private |
Definition at line 55 of file HcalTrigTowerGeometry.h.
Referenced by detIds(), firstHFRingInTower(), topology(), towerEtaBounds(), and towerIds().
|
private |
Definition at line 57 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), setupHFTowers(), towerIds(), and use1x1().
|
private |
Definition at line 56 of file HcalTrigTowerGeometry.h.
Referenced by HcalTrigTowerGeometry(), setupHFTowers(), towerIds(), and useRCT().