#include <L1GetHistLimits.h>
Classes | |
struct | L1HistLimits |
Public Member Functions | |
L1GetHistLimits (const edm::EventSetup &evSetup) | |
const std::vector< float > & | l1HistBinThresholds (const L1GtObject &l1GtObject, const std::string &quantity) |
const L1HistLimits & | l1HistLimits (const L1GtObject &l1GtObject, const std::string &quantity) |
const L1HistLimits & | l1HistLimits (const L1GtObject &l1GtObject, const std::string &quantity, const double histMinValue, const double histMaxValue) |
const double | l1HistLowerBinValue (const L1GtObject &l1GtObject, const std::string &quantity) |
const int | l1HistNrBins (const L1GtObject &l1GtObject, const std::string &quantity) |
const double | l1HistUpperBinValue (const L1GtObject &l1GtObject, const std::string &quantity) |
virtual | ~L1GetHistLimits () |
Private Member Functions | |
void | getHistLimits (const L1GtObject &l1GtObject, const std::string &quantity) |
Private Attributes | |
const edm::EventSetup & | m_evSetup |
L1HistLimits | m_l1HistLimits |
all limits for a histogram More... | |
Description: use L1 scales to define histogram limits for L1 trigger objects.
Implementation: <TODO: enter implementation details>
Definition at line 51 of file L1GetHistLimits.h.
|
explicit |
Definition at line 35 of file L1GetHistLimits.cc.
|
virtual |
Definition at line 40 of file L1GetHistLimits.cc.
|
private |
for a L1 trigger object and a given quantity, compute the number of bins, the lower limit of the first bin, the upper limit of the last bin and the vector of bin thresholds
Definition at line 44 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, BPTX, CenJet, L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), ETM, L1CaloGeometry::etSumPhiBinHighEdge(), L1CaloGeometry::etSumPhiBinLowEdge(), ETT, ForJet, edm::EventSetup::get(), L1MuTriggerScales::getGMTEtaScale(), L1GctJetFinderParams::getHtLsbGeV(), L1MuScale::getNBins(), L1MuTriggerScales::getPhiScale(), L1MuTriggerPtScale::getPtScale(), L1MuScale::getScaleMax(), L1MuScale::getScaleMin(), L1CaloEtScale::getThresholds(), L1MuScale::getValue(), L1CaloGeometry::globalEtaBinHighEdge(), L1CaloGeometry::globalEtaBinLowEdge(), HfBitCounts, HfRingEtSums, HTM, L1CaloGeometry::htSumPhiBinHighEdge(), L1CaloGeometry::htSumPhiBinLowEdge(), HTT, IsoEG, dqmiolumiharvest::j, JetCounts, wplusjetsAnalysis_cfi::jetScale, L1GctEtHad::kEtHadMaxValue, L1GctEtMiss::kEtMissMaxValue, L1GctEtTotal::kEtTotalMaxValue, L1CaloEtScale::linearLsb(), LogDebug, L1GetHistLimits::L1HistLimits::lowerBinValue, m_evSetup, m_l1HistLimits, Mu, NoIsoEG, L1GetHistLimits::L1HistLimits::nrBins, L1CaloGeometry::numberGctCentralEtaBinsPerHalf(), L1CaloGeometry::numberGctEmJetPhiBins(), L1CaloGeometry::numberGctEtSumPhiBins(), L1CaloGeometry::numberGctForwardEtaBinsPerHalf(), L1CaloGeometry::numberGctHtSumPhiBins(), edm::ESHandle< T >::product(), R3BINS, R3MAX, R3MIN, rad2deg(), TauJet, TechTrig, and L1GetHistLimits::L1HistLimits::upperBinValue.
Referenced by l1HistBinThresholds(), l1HistLimits(), l1HistLowerBinValue(), l1HistNrBins(), and l1HistUpperBinValue().
const std::vector< float > & L1GetHistLimits::l1HistBinThresholds | ( | const L1GtObject & | l1GtObject, |
const std::string & | quantity | ||
) |
for a L1 trigger object and a given quantity, return the vector of bin thresholds
Definition at line 619 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, getHistLimits(), and m_l1HistLimits.
const L1GetHistLimits::L1HistLimits & L1GetHistLimits::l1HistLimits | ( | const L1GtObject & | l1GtObject, |
const std::string & | quantity | ||
) |
for a L1 trigger object and a given quantity, return all limits for a histogram
Definition at line 491 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, getHistLimits(), edm::isDebugEnabled(), LogDebug, LogTrace, L1GetHistLimits::L1HistLimits::lowerBinValue, m_l1HistLimits, L1GetHistLimits::L1HistLimits::nrBins, and L1GetHistLimits::L1HistLimits::upperBinValue.
Referenced by L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookhistograms().
const L1GetHistLimits::L1HistLimits & L1GetHistLimits::l1HistLimits | ( | const L1GtObject & | l1GtObject, |
const std::string & | quantity, | ||
const double | histMinValue, | ||
const double | histMaxValue | ||
) |
for a L1 trigger object and a given quantity, return the real limits for a histogram given an arbitrary range
Definition at line 520 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, getHistLimits(), edm::isDebugEnabled(), LogDebug, LogTrace, L1GetHistLimits::L1HistLimits::lowerBinValue, m_l1HistLimits, L1GetHistLimits::L1HistLimits::nrBins, and L1GetHistLimits::L1HistLimits::upperBinValue.
const double L1GetHistLimits::l1HistLowerBinValue | ( | const L1GtObject & | l1GtObject, |
const std::string & | quantity | ||
) |
for a L1 trigger object and a given quantity, return the lower limit of the first bin in the histogram
Definition at line 609 of file L1GetHistLimits.cc.
References getHistLimits(), L1GetHistLimits::L1HistLimits::lowerBinValue, and m_l1HistLimits.
const int L1GetHistLimits::l1HistNrBins | ( | const L1GtObject & | l1GtObject, |
const std::string & | quantity | ||
) |
for a L1 trigger object and a given quantity, return the numbers of bins for a given histogram
Definition at line 604 of file L1GetHistLimits.cc.
References getHistLimits(), m_l1HistLimits, and L1GetHistLimits::L1HistLimits::nrBins.
const double L1GetHistLimits::l1HistUpperBinValue | ( | const L1GtObject & | l1GtObject, |
const std::string & | quantity | ||
) |
for a L1 trigger object and a given quantity, return the upper limit of the last bin in the histogram
Definition at line 614 of file L1GetHistLimits.cc.
References getHistLimits(), m_l1HistLimits, and L1GetHistLimits::L1HistLimits::upperBinValue.
|
private |
Definition at line 106 of file L1GetHistLimits.h.
Referenced by getHistLimits().
|
private |
all limits for a histogram
Definition at line 109 of file L1GetHistLimits.h.
Referenced by getHistLimits(), l1HistBinThresholds(), l1HistLimits(), l1HistLowerBinValue(), l1HistNrBins(), and l1HistUpperBinValue().