#include <L1TriggerConfig/L1Geometry/interface/L1CaloGeometry.h>
Public Types | |
enum | Versions { kOrig, kAddedMHTPhi, kNumVersions } |
Public Member Functions | |
double | emJetPhiBinCenter (unsigned int phiIndex) const |
double | emJetPhiBinCenter (const L1CaloRegionDetId &detId) const |
double | emJetPhiBinHighEdge (unsigned int phiIndex) const |
double | emJetPhiBinHighEdge (const L1CaloRegionDetId &detId) const |
double | emJetPhiBinLowEdge (unsigned int phiIndex) const |
double | emJetPhiBinLowEdge (const L1CaloRegionDetId &detId) const |
unsigned int | emJetPhiIndex (const double &phiValue) const |
double | etaBinCenter (unsigned int etaIndex, bool central=true) const |
double | etaBinCenter (const L1CaloRegionDetId &detId) const |
double | etaBinHighEdge (unsigned int etaIndex, bool central=true) const |
double | etaBinHighEdge (const L1CaloRegionDetId &detId) const |
double | etaBinLowEdge (unsigned int etaIndex, bool central=true) const |
double | etaBinLowEdge (const L1CaloRegionDetId &detId) const |
unsigned int | etaIndex (const double &etaValue) const |
unsigned int | etaSignBitOffset () const |
double | etSumPhiBinCenter (unsigned int phiIndex) const |
double | etSumPhiBinHighEdge (unsigned int phiIndex) const |
double | etSumPhiBinLowEdge (unsigned int phiIndex) const |
unsigned int | etSumPhiIndex (const double &phiValue) const |
double | globalEtaBinCenter (unsigned int globalEtaIndex) const |
double | globalEtaBinHighEdge (unsigned int globalEtaIndex) const |
double | globalEtaBinLowEdge (unsigned int globalEtaIndex) const |
unsigned int | globalEtaIndex (const double &etaValue) const |
double | htSumPhiBinCenter (unsigned int phiIndex) const |
double | htSumPhiBinHighEdge (unsigned int phiIndex) const |
double | htSumPhiBinLowEdge (unsigned int phiIndex) const |
unsigned int | htSumPhiIndex (const double &phiValue) const |
L1CaloGeometry () | |
L1CaloGeometry (unsigned int numberGctEmJetPhiBins, double gctEmJetPhiBinOffset, unsigned int numberGctEtSumPhiBins, double gctEtSumPhiBinOffset, unsigned int numberGctHtSumPhiBins, double gctHtSumPhiBinOffset, unsigned int numberGctCentralEtaBinsPerHalf, unsigned int numberGctForwardEtaBinsPerHalf, unsigned int etaSignBitOffset, const std::vector< double > &gctEtaBinBoundaries) | |
unsigned int | numberGctCentralEtaBinsPerHalf () const |
unsigned int | numberGctEmJetPhiBins () const |
unsigned int | numberGctEtSumPhiBins () const |
unsigned int | numberGctForwardEtaBinsPerHalf () const |
unsigned int | numberGctHtSumPhiBins () const |
unsigned int | version () const |
virtual | ~L1CaloGeometry () |
Private Attributes | |
unsigned int | m_etaBinsPerHalf |
unsigned int | m_etaSignBitOffset |
double | m_gctEmJetPhiBinWidth |
double | m_gctEmJetPhiOffset |
std::vector< double > | m_gctEtaBinBoundaries |
double | m_gctEtSumPhiBinWidth |
double | m_gctEtSumPhiOffset |
double | m_gctHtSumPhiBinWidth |
double | m_gctHtSumPhiOffset |
unsigned int | m_numberGctCentralEtaBinsPerHalf |
unsigned int | m_numberGctEmJetPhiBins |
unsigned int | m_numberGctEtSumPhiBins |
unsigned int | m_numberGctForwardEtaBinsPerHalf |
unsigned int | m_numberGctHtSumPhiBins |
unsigned int | m_version |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 31 of file L1CaloGeometry.h.
Enumerator | |
---|---|
kOrig | |
kAddedMHTPhi | |
kNumVersions |
Definition at line 43 of file L1CaloGeometry.h.
L1CaloGeometry::L1CaloGeometry | ( | ) |
Definition at line 56 of file L1CaloGeometry.cc.
L1CaloGeometry::L1CaloGeometry | ( | unsigned int | numberGctEmJetPhiBins, |
double | gctEmJetPhiBinOffset, | ||
unsigned int | numberGctEtSumPhiBins, | ||
double | gctEtSumPhiBinOffset, | ||
unsigned int | numberGctHtSumPhiBins, | ||
double | gctHtSumPhiBinOffset, | ||
unsigned int | numberGctCentralEtaBinsPerHalf, | ||
unsigned int | numberGctForwardEtaBinsPerHalf, | ||
unsigned int | etaSignBitOffset, | ||
const std::vector< double > & | gctEtaBinBoundaries | ||
) |
Definition at line 75 of file L1CaloGeometry.cc.
References m_etaBinsPerHalf, m_gctEmJetPhiBinWidth, m_gctEmJetPhiOffset, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, m_gctHtSumPhiOffset, m_numberGctCentralEtaBinsPerHalf, m_numberGctEmJetPhiBins, m_numberGctEtSumPhiBins, m_numberGctForwardEtaBinsPerHalf, m_numberGctHtSumPhiBins, and M_PI.
|
virtual |
Definition at line 111 of file L1CaloGeometry.cc.
double L1CaloGeometry::emJetPhiBinCenter | ( | unsigned int | phiIndex | ) | const |
Definition at line 274 of file L1CaloGeometry.cc.
References m_gctEmJetPhiBinWidth, and m_gctEmJetPhiOffset.
Referenced by emJetPhiBinCenter(), L1ExtraParticlesProd::gctLorentzVector(), and operator<<().
|
inline |
Definition at line 88 of file L1CaloGeometry.h.
References emJetPhiBinCenter(), and L1CaloRegionDetId::iphi().
double L1CaloGeometry::emJetPhiBinHighEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 288 of file L1CaloGeometry.cc.
References m_gctEmJetPhiBinWidth, and m_gctEmJetPhiOffset.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), emJetPhiBinHighEdge(), L1GetHistLimits::getHistLimits(), operator<<(), and L1GtEtaPhiConversions::print().
|
inline |
Definition at line 92 of file L1CaloGeometry.h.
References emJetPhiBinHighEdge(), and L1CaloRegionDetId::iphi().
double L1CaloGeometry::emJetPhiBinLowEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 281 of file L1CaloGeometry.cc.
References m_gctEmJetPhiBinWidth, and m_gctEmJetPhiOffset.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), emJetPhiBinLowEdge(), L1GetHistLimits::getHistLimits(), operator<<(), and L1GtEtaPhiConversions::print().
|
inline |
Definition at line 90 of file L1CaloGeometry.h.
References emJetPhiBinLowEdge(), and L1CaloRegionDetId::iphi().
unsigned int L1CaloGeometry::emJetPhiIndex | ( | const double & | phiValue | ) | const |
Definition at line 420 of file L1CaloGeometry.cc.
References m_gctEmJetPhiBinWidth, m_gctEmJetPhiOffset, and M_PI.
double L1CaloGeometry::etaBinCenter | ( | unsigned int | etaIndex, |
bool | central = true |
||
) | const |
Definition at line 196 of file L1CaloGeometry.cc.
References etaIndex(), m_etaSignBitOffset, m_gctEtaBinBoundaries, and m_numberGctCentralEtaBinsPerHalf.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GctConfigProducers::etToEnergyConversion(), L1ExtraParticlesProd::gctLorentzVector(), operator<<(), and L1GtEtaPhiConversions::print().
|
inline |
Definition at line 77 of file L1CaloGeometry.h.
References globalEtaBinCenter(), and L1CaloRegionDetId::ieta().
double L1CaloGeometry::etaBinHighEdge | ( | unsigned int | etaIndex, |
bool | central = true |
||
) | const |
Definition at line 248 of file L1CaloGeometry.cc.
References m_etaSignBitOffset, m_gctEtaBinBoundaries, and m_numberGctCentralEtaBinsPerHalf.
Referenced by operator<<().
|
inline |
Definition at line 81 of file L1CaloGeometry.h.
References globalEtaBinHighEdge(), and L1CaloRegionDetId::ieta().
double L1CaloGeometry::etaBinLowEdge | ( | unsigned int | etaIndex, |
bool | central = true |
||
) | const |
Definition at line 222 of file L1CaloGeometry.cc.
References m_etaSignBitOffset, m_gctEtaBinBoundaries, and m_numberGctCentralEtaBinsPerHalf.
Referenced by operator<<().
|
inline |
Definition at line 79 of file L1CaloGeometry.h.
References globalEtaBinLowEdge(), and L1CaloRegionDetId::ieta().
unsigned int L1CaloGeometry::etaIndex | ( | const double & | etaValue | ) | const |
Definition at line 361 of file L1CaloGeometry.cc.
References i, m_etaSignBitOffset, m_gctEtaBinBoundaries, m_numberGctCentralEtaBinsPerHalf, and m_numberGctForwardEtaBinsPerHalf.
Referenced by etaBinCenter(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), and globalEtaIndex().
|
inline |
double L1CaloGeometry::etSumPhiBinCenter | ( | unsigned int | phiIndex | ) | const |
Definition at line 295 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, and m_gctEtSumPhiOffset.
Referenced by operator<<(), and L1ExtraParticlesProd::produce().
double L1CaloGeometry::etSumPhiBinHighEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 309 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, and m_gctEtSumPhiOffset.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), operator<<(), and L1GtEtaPhiConversions::print().
double L1CaloGeometry::etSumPhiBinLowEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 302 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, and m_gctEtSumPhiOffset.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), operator<<(), and L1GtEtaPhiConversions::print().
unsigned int L1CaloGeometry::etSumPhiIndex | ( | const double & | phiValue | ) | const |
Definition at line 446 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, and M_PI.
double L1CaloGeometry::globalEtaBinCenter | ( | unsigned int | globalEtaIndex | ) | const |
Definition at line 136 of file L1CaloGeometry.cc.
References etaIndex(), m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by etaBinCenter(), operator<<(), and L1MuGMTMIAUEtaProLUT::TheLookupFunction().
double L1CaloGeometry::globalEtaBinHighEdge | ( | unsigned int | globalEtaIndex | ) | const |
Definition at line 176 of file L1CaloGeometry.cc.
References etaIndex(), m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by etaBinHighEdge(), L1GetHistLimits::getHistLimits(), and operator<<().
double L1CaloGeometry::globalEtaBinLowEdge | ( | unsigned int | globalEtaIndex | ) | const |
Definition at line 156 of file L1CaloGeometry.cc.
References etaIndex(), m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), etaBinLowEdge(), L1GetHistLimits::getHistLimits(), operator<<(), and L1GtEtaPhiConversions::print().
unsigned int L1CaloGeometry::globalEtaIndex | ( | const double & | etaValue | ) | const |
Definition at line 391 of file L1CaloGeometry.cc.
References etaIndex(), i, m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GtEtaPhiConversions::print(), and L1MuGMTMIAUEtaProLUT::TheLookupFunction().
double L1CaloGeometry::htSumPhiBinCenter | ( | unsigned int | phiIndex | ) | const |
Definition at line 316 of file L1CaloGeometry.cc.
References kOrig, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, m_gctHtSumPhiOffset, and m_version.
Referenced by operator<<(), and L1ExtraParticlesProd::produce().
double L1CaloGeometry::htSumPhiBinHighEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 346 of file L1CaloGeometry.cc.
References kOrig, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, m_gctHtSumPhiOffset, and m_version.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), operator<<(), and L1GtEtaPhiConversions::print().
double L1CaloGeometry::htSumPhiBinLowEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 331 of file L1CaloGeometry.cc.
References kOrig, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, m_gctHtSumPhiOffset, and m_version.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), operator<<(), and L1GtEtaPhiConversions::print().
unsigned int L1CaloGeometry::htSumPhiIndex | ( | const double & | phiValue | ) | const |
Definition at line 472 of file L1CaloGeometry.cc.
References kOrig, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, M_PI, and m_version.
|
inline |
Definition at line 114 of file L1CaloGeometry.h.
References m_numberGctCentralEtaBinsPerHalf.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and operator<<().
|
inline |
Definition at line 109 of file L1CaloGeometry.h.
References m_numberGctEmJetPhiBins.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and operator<<().
|
inline |
Definition at line 111 of file L1CaloGeometry.h.
References m_numberGctEtSumPhiBins.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and operator<<().
|
inline |
Definition at line 116 of file L1CaloGeometry.h.
References m_numberGctForwardEtaBinsPerHalf.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), operator<<(), and L1MuGMTMIAUEtaProLUT::TheLookupFunction().
unsigned int L1CaloGeometry::numberGctHtSumPhiBins | ( | ) | const |
Definition at line 505 of file L1CaloGeometry.cc.
References kOrig, m_numberGctEtSumPhiBins, m_numberGctHtSumPhiBins, and m_version.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and operator<<().
|
inline |
|
private |
Definition at line 142 of file L1CaloGeometry.h.
Referenced by etaSignBitOffset(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), globalEtaIndex(), and L1CaloGeometry().
|
private |
Definition at line 139 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), and etaIndex().
|
private |
Definition at line 145 of file L1CaloGeometry.h.
Referenced by emJetPhiBinCenter(), emJetPhiBinHighEdge(), emJetPhiBinLowEdge(), emJetPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 148 of file L1CaloGeometry.h.
Referenced by emJetPhiBinCenter(), emJetPhiBinHighEdge(), emJetPhiBinLowEdge(), emJetPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 140 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), etaIndex(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), and globalEtaIndex().
|
private |
Definition at line 146 of file L1CaloGeometry.h.
Referenced by etSumPhiBinCenter(), etSumPhiBinHighEdge(), etSumPhiBinLowEdge(), etSumPhiIndex(), htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 149 of file L1CaloGeometry.h.
Referenced by etSumPhiBinCenter(), etSumPhiBinHighEdge(), etSumPhiBinLowEdge(), etSumPhiIndex(), htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 147 of file L1CaloGeometry.h.
Referenced by htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 150 of file L1CaloGeometry.h.
Referenced by htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), and L1CaloGeometry().
|
private |
Definition at line 137 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), etaIndex(), L1CaloGeometry(), and numberGctCentralEtaBinsPerHalf().
|
private |
Definition at line 134 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), and numberGctEmJetPhiBins().
|
private |
Definition at line 135 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), numberGctEtSumPhiBins(), and numberGctHtSumPhiBins().
|
private |
Definition at line 138 of file L1CaloGeometry.h.
Referenced by etaIndex(), L1CaloGeometry(), and numberGctForwardEtaBinsPerHalf().
|
private |
Definition at line 136 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), and numberGctHtSumPhiBins().
|
private |
Definition at line 132 of file L1CaloGeometry.h.
Referenced by htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), numberGctHtSumPhiBins(), and version().