#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 45 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(), etaBinHighEdge(), L1ExtraParticlesProd::gctLorentzVector(), operator<<(), and L1GctInternJetProducer::produce().
|
inline |
Definition at line 90 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(), EcalListOfFEDSProducer::Egamma(), ESListOfFEDSProducer::Egamma(), emJetPhiBinHighEdge(), etaBinHighEdge(), HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), L1RegionData< T1 >::getEtaPhiRegions(), L1GetHistLimits::getHistLimits(), operator<<(), L1GtEtaPhiConversions::print(), EgammaHLTHybridClusterProducer::produce(), EgammaHLTIslandClusterProducer::produce(), and EgammaHLTMulti5x5ClusterProducer::produce().
|
inline |
Definition at line 94 of file L1CaloGeometry.h.
References emJetPhiBinHighEdge(), emJetPhiIndex(), etaIndex(), etSumPhiBinCenter(), etSumPhiBinHighEdge(), etSumPhiBinLowEdge(), etSumPhiIndex(), globalEtaIndex(), htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), 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(), EcalListOfFEDSProducer::Egamma(), ESListOfFEDSProducer::Egamma(), emJetPhiBinLowEdge(), etaBinHighEdge(), HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), L1RegionData< T1 >::getEtaPhiRegions(), L1GetHistLimits::getHistLimits(), operator<<(), L1GtEtaPhiConversions::print(), EgammaHLTHybridClusterProducer::produce(), EgammaHLTIslandClusterProducer::produce(), and EgammaHLTMulti5x5ClusterProducer::produce().
|
inline |
Definition at line 92 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.
Referenced by emJetPhiBinHighEdge().
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<<(), L1GtEtaPhiConversions::print(), L1GctInternJetProducer::produce(), and version().
|
inline |
Definition at line 79 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 EcalListOfFEDSProducer::Egamma(), ESListOfFEDSProducer::Egamma(), HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), L1RegionData< T1 >::getEtaPhiRegions(), operator<<(), EgammaHLTHybridClusterProducer::produce(), EgammaHLTIslandClusterProducer::produce(), EgammaHLTMulti5x5ClusterProducer::produce(), and version().
|
inline |
Definition at line 83 of file L1CaloGeometry.h.
References emJetPhiBinCenter(), emJetPhiBinHighEdge(), emJetPhiBinLowEdge(), 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 EcalListOfFEDSProducer::Egamma(), ESListOfFEDSProducer::Egamma(), HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), L1RegionData< T1 >::getEtaPhiRegions(), operator<<(), EgammaHLTHybridClusterProducer::produce(), EgammaHLTIslandClusterProducer::produce(), EgammaHLTMulti5x5ClusterProducer::produce(), and version().
|
inline |
Definition at line 81 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 mps_fire::i, m_etaSignBitOffset, m_gctEtaBinBoundaries, m_numberGctCentralEtaBinsPerHalf, and m_numberGctForwardEtaBinsPerHalf.
Referenced by emJetPhiBinHighEdge(), etaBinCenter(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), globalEtaIndex(), and version().
|
inline |
double L1CaloGeometry::etSumPhiBinCenter | ( | unsigned int | phiIndex | ) | const |
Definition at line 295 of file L1CaloGeometry.cc.
References m_gctEtSumPhiBinWidth, and m_gctEtSumPhiOffset.
Referenced by emJetPhiBinHighEdge(), 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(), emJetPhiBinHighEdge(), 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(), emJetPhiBinHighEdge(), 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.
Referenced by emJetPhiBinHighEdge().
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<<(), L1MuGMTMIAUEtaProLUT::TheLookupFunction(), and version().
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(), operator<<(), and version().
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<<(), L1GtEtaPhiConversions::print(), and version().
unsigned int L1CaloGeometry::globalEtaIndex | ( | const double & | etaValue | ) | const |
Definition at line 391 of file L1CaloGeometry.cc.
References etaIndex(), mps_fire::i, m_etaBinsPerHalf, and m_gctEtaBinBoundaries.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), emJetPhiBinHighEdge(), L1GtEtaPhiConversions::print(), L1MuGMTMIAUEtaProLUT::TheLookupFunction(), and version().
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 emJetPhiBinHighEdge(), 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(), emJetPhiBinHighEdge(), 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(), emJetPhiBinHighEdge(), 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.
Referenced by emJetPhiBinHighEdge().
|
inline |
Definition at line 116 of file L1CaloGeometry.h.
References m_numberGctCentralEtaBinsPerHalf.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and operator<<().
|
inline |
Definition at line 111 of file L1CaloGeometry.h.
References m_numberGctEmJetPhiBins.
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and operator<<().
|
inline |
Definition at line 113 of file L1CaloGeometry.h.
References m_numberGctEtSumPhiBins, and numberGctHtSumPhiBins().
Referenced by L1GtEtaPhiConversions::convertL1Scales(), L1GetHistLimits::getHistLimits(), and operator<<().
|
inline |
Definition at line 118 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(), numberGctEtSumPhiBins(), and operator<<().
|
private |
|
inline |
Definition at line 62 of file L1CaloGeometry.h.
References etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), etaIndex(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), globalEtaIndex(), and m_version.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
friend |
Definition at line 154 of file L1CaloGeometry.h.
|
friend |
Definition at line 154 of file L1CaloGeometry.h.
|
private |
Definition at line 144 of file L1CaloGeometry.h.
Referenced by etaSignBitOffset(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), globalEtaIndex(), and L1CaloGeometry().
|
private |
Definition at line 141 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), and etaIndex().
|
private |
Definition at line 147 of file L1CaloGeometry.h.
Referenced by emJetPhiBinCenter(), emJetPhiBinHighEdge(), emJetPhiBinLowEdge(), emJetPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 150 of file L1CaloGeometry.h.
Referenced by emJetPhiBinCenter(), emJetPhiBinHighEdge(), emJetPhiBinLowEdge(), emJetPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 142 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), etaIndex(), globalEtaBinCenter(), globalEtaBinHighEdge(), globalEtaBinLowEdge(), and globalEtaIndex().
|
private |
Definition at line 148 of file L1CaloGeometry.h.
Referenced by etSumPhiBinCenter(), etSumPhiBinHighEdge(), etSumPhiBinLowEdge(), etSumPhiIndex(), htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 151 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 htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), and L1CaloGeometry().
|
private |
Definition at line 152 of file L1CaloGeometry.h.
Referenced by htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), and L1CaloGeometry().
|
private |
Definition at line 139 of file L1CaloGeometry.h.
Referenced by etaBinCenter(), etaBinHighEdge(), etaBinLowEdge(), etaIndex(), L1CaloGeometry(), and numberGctCentralEtaBinsPerHalf().
|
private |
Definition at line 136 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), and numberGctEmJetPhiBins().
|
private |
Definition at line 137 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), numberGctEtSumPhiBins(), and numberGctHtSumPhiBins().
|
private |
Definition at line 140 of file L1CaloGeometry.h.
Referenced by etaIndex(), L1CaloGeometry(), and numberGctForwardEtaBinsPerHalf().
|
private |
Definition at line 138 of file L1CaloGeometry.h.
Referenced by L1CaloGeometry(), and numberGctHtSumPhiBins().
|
private |
Definition at line 134 of file L1CaloGeometry.h.
Referenced by htSumPhiBinCenter(), htSumPhiBinHighEdge(), htSumPhiBinLowEdge(), htSumPhiIndex(), numberGctHtSumPhiBins(), and version().