#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>
$Date$ $Revision$
Definition at line 54 of file L1GetHistLimits.h.
|
explicit |
Definition at line 38 of file L1GetHistLimits.cc.
|
virtual |
Definition at line 46 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 52 of file L1GetHistLimits.cc.
References L1GetHistLimits::L1HistLimits::binThresholds, BPTX, Castor, CenJet, L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), ETM, L1CaloGeometry::etSumPhiBinHighEdge(), L1CaloGeometry::etSumPhiBinLowEdge(), ETT, ForJet, edm::EventSetup::get(), L1CaloGeometry::globalEtaBinHighEdge(), L1CaloGeometry::globalEtaBinLowEdge(), HfBitCounts, HfRingEtSums, HTM, L1CaloGeometry::htSumPhiBinHighEdge(), L1CaloGeometry::htSumPhiBinLowEdge(), HTT, IsoEG, j, JetCounts, L1GctEtHad::kEtHadMaxValue, L1GctEtMiss::kEtMissMaxValue, L1GctEtTotal::kEtTotalMaxValue, 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< class >::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 816 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 652 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 691 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 800 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 792 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 808 of file L1GetHistLimits.cc.
References getHistLimits(), m_l1HistLimits, 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().