#include <L1GetHistLimits.h>
Classes | |
struct | L1HistLimits |
struct | Tokens |
Public Member Functions | |
L1GetHistLimits (const Tokens &, 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... | |
const Tokens & | m_tokens |
Description: use L1 scales to define histogram limits for L1 trigger objects.
Implementation: <TODO: enter implementation details>
Definition at line 52 of file L1GetHistLimits.h.
|
explicit |
Definition at line 47 of file L1GetHistLimits.cc.
|
virtual |
Definition at line 53 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 57 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, BPTX, Castor, CenJet, L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), ETM, L1CaloGeometry::etSumPhiBinHighEdge(), L1CaloGeometry::etSumPhiBinLowEdge(), ETT, ForJet, edm::EventSetup::getData(), 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, L1GetHistLimits::Tokens::m_caloGeomESHToken, L1GetHistLimits::Tokens::m_etScaleToken, m_evSetup, L1GetHistLimits::Tokens::m_hfRingEtScaleToken, L1GetHistLimits::Tokens::m_htMissScaleToken, L1GetHistLimits::Tokens::m_jetFinderParamsToken, L1GetHistLimits::Tokens::m_jetScaleToken, m_l1HistLimits, L1GetHistLimits::Tokens::m_muPTScaleToken, L1GetHistLimits::Tokens::m_muScalesToken, m_tokens, Mu, NoIsoEG, L1GetHistLimits::L1HistLimits::nrBins, L1CaloGeometry::numberGctCentralEtaBinsPerHalf(), L1CaloGeometry::numberGctEmJetPhiBins(), L1CaloGeometry::numberGctEtSumPhiBins(), L1CaloGeometry::numberGctForwardEtaBinsPerHalf(), L1CaloGeometry::numberGctHtSumPhiBins(), MjjMonitor_cfi::quantity, 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 615 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, getHistLimits(), m_l1HistLimits, and MjjMonitor_cfi::quantity.
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 487 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, getHistLimits(), edm::isDebugEnabled(), LogDebug, LogTrace, L1GetHistLimits::L1HistLimits::lowerBinValue, m_l1HistLimits, L1GetHistLimits::L1HistLimits::nrBins, MjjMonitor_cfi::quantity, 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 516 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, getHistLimits(), edm::isDebugEnabled(), LogDebug, LogTrace, L1GetHistLimits::L1HistLimits::lowerBinValue, m_l1HistLimits, L1GetHistLimits::L1HistLimits::nrBins, MjjMonitor_cfi::quantity, 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 605 of file L1GetHistLimits.cc.
References getHistLimits(), L1GetHistLimits::L1HistLimits::lowerBinValue, m_l1HistLimits, and MjjMonitor_cfi::quantity.
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 600 of file L1GetHistLimits.cc.
References getHistLimits(), m_l1HistLimits, L1GetHistLimits::L1HistLimits::nrBins, and MjjMonitor_cfi::quantity.
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 610 of file L1GetHistLimits.cc.
References getHistLimits(), m_l1HistLimits, MjjMonitor_cfi::quantity, and L1GetHistLimits::L1HistLimits::upperBinValue.
|
private |
Definition at line 121 of file L1GetHistLimits.h.
Referenced by getHistLimits().
|
private |
all limits for a histogram
Definition at line 124 of file L1GetHistLimits.h.
Referenced by getHistLimits(), l1HistBinThresholds(), l1HistLimits(), l1HistLowerBinValue(), l1HistNrBins(), and l1HistUpperBinValue().
|
private |
Definition at line 120 of file L1GetHistLimits.h.
Referenced by getHistLimits().