#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 Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
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 |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 33 of file L1CaloGeometry.h.
Enumerator | |
---|---|
kOrig | |
kAddedMHTPhi | |
kNumVersions |
Definition at line 43 of file L1CaloGeometry.h.
L1CaloGeometry::L1CaloGeometry | ( | ) |
Definition at line 55 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 72 of file L1CaloGeometry.cc.
References l1CaloGeometry_cfi::gctEmJetPhiBinOffset, l1CaloGeometry_cfi::gctEtSumPhiBinOffset, l1CaloGeometry_cfi::gctHtSumPhiBinOffset, 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 106 of file L1CaloGeometry.cc.
double L1CaloGeometry::emJetPhiBinCenter | ( | unsigned int | phiIndex | ) | const |
Definition at line 224 of file L1CaloGeometry.cc.
References m_gctEmJetPhiBinWidth, and m_gctEmJetPhiOffset.
Referenced by L1GctInternJetProducer::produce().
|
inline |
Definition at line 82 of file L1CaloGeometry.h.
References hcalRecHitTable_cff::detId, and emJetPhiBinCenter().
Referenced by emJetPhiBinCenter().
double L1CaloGeometry::emJetPhiBinHighEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 232 of file L1CaloGeometry.cc.
References m_gctEmJetPhiBinWidth, and m_gctEmJetPhiOffset.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and L1GtEtaPhiConversions::print().
|
inline |
Definition at line 84 of file L1CaloGeometry.h.
References hcalRecHitTable_cff::detId, and emJetPhiBinHighEdge().
Referenced by emJetPhiBinHighEdge().
double L1CaloGeometry::emJetPhiBinLowEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 228 of file L1CaloGeometry.cc.
References m_gctEmJetPhiBinWidth, and m_gctEmJetPhiOffset.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and L1GtEtaPhiConversions::print().
|
inline |
Definition at line 83 of file L1CaloGeometry.h.
References hcalRecHitTable_cff::detId, and emJetPhiBinLowEdge().
Referenced by emJetPhiBinLowEdge().
unsigned int L1CaloGeometry::emJetPhiIndex | ( | const double & | phiValue | ) | const |
Definition at line 314 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 167 of file L1CaloGeometry.cc.
References central, etaIndex(), m_etaSignBitOffset, m_gctEtaBinBoundaries, and m_numberGctCentralEtaBinsPerHalf.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GtEtaPhiConversions::print(), and L1GctInternJetProducer::produce().
|
inline |
Definition at line 74 of file L1CaloGeometry.h.
References hcalRecHitTable_cff::detId, and globalEtaBinCenter().
double L1CaloGeometry::etaBinHighEdge | ( | unsigned int | etaIndex, |
bool | central = true |
||
) | const |
Definition at line 205 of file L1CaloGeometry.cc.
References central, etaIndex(), m_etaSignBitOffset, m_gctEtaBinBoundaries, and m_numberGctCentralEtaBinsPerHalf.
|
inline |
Definition at line 76 of file L1CaloGeometry.h.
References hcalRecHitTable_cff::detId, and globalEtaBinHighEdge().
double L1CaloGeometry::etaBinLowEdge | ( | unsigned int | etaIndex, |
bool | central = true |
||
) | const |
Definition at line 186 of file L1CaloGeometry.cc.
References central, etaIndex(), m_etaSignBitOffset, m_gctEtaBinBoundaries, and m_numberGctCentralEtaBinsPerHalf.
|
inline |
Definition at line 75 of file L1CaloGeometry.h.
References hcalRecHitTable_cff::detId, and globalEtaBinLowEdge().
unsigned int L1CaloGeometry::etaIndex | ( | const double & | etaValue | ) | const |
Definition at line 272 of file L1CaloGeometry.cc.
References mps_fire::i, m_etaSignBitOffset, m_gctEtaBinBoundaries, m_numberGctCentralEtaBinsPerHalf, and m_numberGctForwardEtaBinsPerHalf.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), and globalEtaIndex().
|
inline |
double L1CaloGeometry::etSumPhiBinCenter | ( | unsigned int | phiIndex | ) | const |
Definition at line 236 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, and m_gctEtSumPhiOffset.
Referenced by L1ExtraParticlesProd::produce().
double L1CaloGeometry::etSumPhiBinHighEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 244 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, and m_gctEtSumPhiOffset.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and L1GtEtaPhiConversions::print().
double L1CaloGeometry::etSumPhiBinLowEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 240 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, and m_gctEtSumPhiOffset.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and L1GtEtaPhiConversions::print().
unsigned int L1CaloGeometry::etSumPhiIndex | ( | const double & | phiValue | ) | const |
Definition at line 331 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, and M_PI.
double L1CaloGeometry::globalEtaBinCenter | ( | unsigned int | globalEtaIndex | ) | const |
Definition at line 128 of file L1CaloGeometry.cc.
References etaIndex(), globalEtaIndex(), m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by etaBinCenter(), and L1MuGMTMIAUEtaProLUT::TheLookupFunction().
double L1CaloGeometry::globalEtaBinHighEdge | ( | unsigned int | globalEtaIndex | ) | const |
Definition at line 154 of file L1CaloGeometry.cc.
References etaIndex(), globalEtaIndex(), m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by etaBinHighEdge(), and L1GetHistLimits::getHistLimits().
double L1CaloGeometry::globalEtaBinLowEdge | ( | unsigned int | globalEtaIndex | ) | const |
Definition at line 141 of file L1CaloGeometry.cc.
References etaIndex(), globalEtaIndex(), m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), etaBinLowEdge(), L1GetHistLimits::getHistLimits(), and L1GtEtaPhiConversions::print().
unsigned int L1CaloGeometry::globalEtaIndex | ( | const double & | etaValue | ) | const |
Definition at line 294 of file L1CaloGeometry.cc.
References etaIndex(), mps_fire::i, m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), L1GtEtaPhiConversions::print(), and L1MuGMTMIAUEtaProLUT::TheLookupFunction().
double L1CaloGeometry::htSumPhiBinCenter | ( | unsigned int | phiIndex | ) | const |
Definition at line 248 of file L1CaloGeometry.cc.
References kOrig, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, m_gctHtSumPhiOffset, and m_version.
Referenced by L1ExtraParticlesProd::produce().
double L1CaloGeometry::htSumPhiBinHighEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 264 of file L1CaloGeometry.cc.
References kOrig, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, m_gctHtSumPhiOffset, and m_version.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and L1GtEtaPhiConversions::print().
double L1CaloGeometry::htSumPhiBinLowEdge | ( | unsigned int | phiIndex | ) | const |
Definition at line 256 of file L1CaloGeometry.cc.
References kOrig, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, m_gctHtSumPhiOffset, and m_version.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and L1GtEtaPhiConversions::print().
unsigned int L1CaloGeometry::htSumPhiIndex | ( | const double & | phiValue | ) | const |
Definition at line 348 of file L1CaloGeometry.cc.
References kOrig, m_gctEtSumPhiBinWidth, m_gctEtSumPhiOffset, m_gctHtSumPhiBinWidth, M_PI, and m_version.
|
inline |
Definition at line 103 of file L1CaloGeometry.h.
References m_numberGctCentralEtaBinsPerHalf.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), and L1GetHistLimits::getHistLimits().
|
inline |
Definition at line 100 of file L1CaloGeometry.h.
References m_numberGctEmJetPhiBins.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), and L1GetHistLimits::getHistLimits().
|
inline |
Definition at line 101 of file L1CaloGeometry.h.
References m_numberGctEtSumPhiBins.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), and L1GetHistLimits::getHistLimits().
|
inline |
Definition at line 104 of file L1CaloGeometry.h.
References m_numberGctForwardEtaBinsPerHalf.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and L1MuGMTMIAUEtaProLUT::TheLookupFunction().
unsigned int L1CaloGeometry::numberGctHtSumPhiBins | ( | ) | const |
Definition at line 369 of file L1CaloGeometry.cc.
References kOrig, m_numberGctEtSumPhiBins, m_numberGctHtSumPhiBins, and m_version.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), and L1GetHistLimits::getHistLimits().
|
private |
|
inline |
Definition at line 60 of file L1CaloGeometry.h.
References m_version.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 138 of file L1CaloGeometry.h.
|
friend |
Definition at line 138 of file L1CaloGeometry.h.
|
private |
Definition at line 128 of file L1CaloGeometry.h.
Referenced by etaSignBitOffset(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), globalEtaIndex(), and L1CaloGeometry().
|
private |
Definition at line 125 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), and etaIndex().
|
private |
Definition at line 131 of file L1CaloGeometry.h.
Referenced by emJetPhiBinCenter(), emJetPhiBinHighEdge(), emJetPhiBinLowEdge(), emJetPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 134 of file L1CaloGeometry.h.
Referenced by emJetPhiBinCenter(), emJetPhiBinHighEdge(), emJetPhiBinLowEdge(), emJetPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 126 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), etaIndex(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), and globalEtaIndex().
|
private |
Definition at line 132 of file L1CaloGeometry.h.
Referenced by etSumPhiBinCenter(), etSumPhiBinHighEdge(), etSumPhiBinLowEdge(), etSumPhiIndex(), htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 135 of file L1CaloGeometry.h.
Referenced by etSumPhiBinCenter(), etSumPhiBinHighEdge(), etSumPhiBinLowEdge(), etSumPhiIndex(), htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 133 of file L1CaloGeometry.h.
Referenced by htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 136 of file L1CaloGeometry.h.
Referenced by htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), and L1CaloGeometry().
|
private |
Definition at line 123 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), etaIndex(), L1CaloGeometry(), and numberGctCentralEtaBinsPerHalf().
|
private |
Definition at line 120 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), and numberGctEmJetPhiBins().
|
private |
Definition at line 121 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), numberGctEtSumPhiBins(), and numberGctHtSumPhiBins().
|
private |
Definition at line 124 of file L1CaloGeometry.h.
Referenced by etaIndex(), L1CaloGeometry(), and numberGctForwardEtaBinsPerHalf().
|
private |
Definition at line 122 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), and numberGctHtSumPhiBins().
|
private |
Definition at line 118 of file L1CaloGeometry.h.
Referenced by htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), numberGctHtSumPhiBins(), and version().