#include <L1TRate.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) |
virtual void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Member Functions | |
bool | getXSexFitsOMDS (const edm::ParameterSet &ps) |
bool | getXSexFitsPython (const edm::ParameterSet &ps) |
Private Attributes | |
std::map< TString, int > | m_algoBit |
MonitorElement * | m_ErrorMonitor |
std::map< std::string, bool > | m_inputCategories |
edm::EDGetTokenT < L1GlobalTriggerReadoutRecord > | m_l1GtDataDaqInputTag |
L1GtUtils | m_l1GtUtils |
const std::vector< std::vector < int > > * | m_listsPrescaleFactors |
std::map< int, double > | m_lsLuminosity |
std::map< int, int > | m_lsPrescaleIndex |
std::map< int, std::map < TString, double > > | m_lsRates |
int | m_lsShiftGTRates |
int | m_maxNbins |
std::string | m_outputFile |
edm::ParameterSet | m_parameters |
int | m_refPrescaleSet |
edm::EDGetTokenT < LumiScalersCollection > | m_scalersSource_colLScal |
edm::EDGetTokenT < Level1TriggerScalersCollection > | m_scalersSource_triggerScalers |
std::map< std::string, std::string > | m_selectedTriggers |
std::map< TString, TF1 * > | m_templateFunctions |
bool | m_verbose |
std::map< TString, MonitorElement * > | m_xSecObservedToExpected |
std::map< TString, MonitorElement * > | m_xSecVsInstLumi |
L1TRate::L1TRate | ( | const edm::ParameterSet & | ps | ) |
Definition at line 35 of file L1TRate.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_inputCategories, m_l1GtDataDaqInputTag, m_lsShiftGTRates, m_maxNbins, m_outputFile, m_parameters, m_refPrescaleSet, m_scalersSource_colLScal, m_scalersSource_triggerScalers, and m_verbose.
|
virtual |
Definition at line 77 of file L1TRate.cc.
|
protectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 293 of file L1TRate.cc.
References gather_cfg::cout, edm::Event::getByToken(), edm::ParameterSet::getUntrackedParameter(), Level1TriggerRates::gtAlgoCountsRate(), i, edm::EventBase::id(), edm::HandleBase::isValid(), edm::EventID::luminosityBlock(), m_algoBit, m_l1GtDataDaqInputTag, m_lsLuminosity, m_lsPrescaleIndex, m_lsRates, m_lsShiftGTRates, m_parameters, m_scalersSource_colLScal, m_scalersSource_triggerScalers, m_selectedTriggers, m_verbose, and edm::EventID::run().
|
protectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 203 of file L1TRate.cc.
References gather_cfg::cout, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), and m_verbose.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 82 of file L1TRate.cc.
References HLT_25ns14e33_v1_cff::algo, DQMStore::IBooker::book1D(), DQMStore::IBooker::bookProfile(), edm::EventSetup::get(), L1TMenuHelper::getEtaRangeByAlias(), L1TMenuHelper::getLUSOTrigger(), edm::ParameterSet::getParameter(), L1TMenuHelper::getPrescaleByAlias(), L1TMenuHelper::getQualityAlias(), getXSexFitsOMDS(), getXSexFitsPython(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtPrescaleFactors::gtPrescaleFactors(), i, m_algoBit, m_ErrorMonitor, m_inputCategories, m_l1GtUtils, m_listsPrescaleFactors, m_maxNbins, m_parameters, m_refPrescaleSet, m_selectedTriggers, m_templateFunctions, m_xSecObservedToExpected, m_xSecVsInstLumi, relval_steps::menu, edm::ESHandle< class >::product(), L1GtUtils::retrieveL1EventSetup(), MonitorElement::setBinLabel(), and DQMStore::IBooker::setCurrentFolder().
|
protectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 198 of file L1TRate.cc.
References gather_cfg::cout, and m_verbose.
|
protectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 210 of file L1TRate.cc.
References gather_cfg::cout, getTProfile(), i, edm::LuminosityBlockBase::id(), python.rootplot.utilities::ls(), fjr2json::lumi, edm::LuminosityBlockID::luminosityBlock(), m_algoBit, m_lsLuminosity, m_lsPrescaleIndex, m_lsRates, m_selectedTriggers, m_verbose, m_xSecObservedToExpected, m_xSecVsInstLumi, and python.multivaluedict::map().
|
private |
Definition at line 397 of file L1TRate.cc.
References a, WbMTriggerXSecFit::bitName, L1TOMDSHelper::connect(), MonitorElement::Fill(), WbMTriggerXSecFit::fitFunction, edm::ParameterSet::getParameter(), m_ErrorMonitor, m_parameters, m_selectedTriggers, m_templateFunctions, L1TOMDSHelper::NO_ERROR, WbMTriggerXSecFit::p0, WbMTriggerXSecFit::p1, WbMTriggerXSecFit::p2, and WbMTriggerXSecFit::pm1.
Referenced by bookHistograms().
|
private |
Definition at line 472 of file L1TRate.cc.
References a, b, MonitorElement::Fill(), edm::ParameterSet::getParameter(), m_ErrorMonitor, m_parameters, m_selectedTriggers, and m_templateFunctions.
Referenced by bookHistograms().
|
private |
Definition at line 95 of file L1TRate.h.
Referenced by analyze(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 111 of file L1TRate.h.
Referenced by bookHistograms(), getXSexFitsOMDS(), and getXSexFitsPython().
|
private |
Definition at line 96 of file L1TRate.h.
Referenced by bookHistograms(), and L1TRate().
|
private |
|
private |
Definition at line 116 of file L1TRate.h.
Referenced by bookHistograms().
|
private |
Definition at line 89 of file L1TRate.h.
Referenced by bookHistograms().
|
private |
Definition at line 93 of file L1TRate.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 92 of file L1TRate.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 94 of file L1TRate.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
|
private |
Definition at line 82 of file L1TRate.h.
Referenced by bookHistograms(), and L1TRate().
|
private |
|
private |
Definition at line 108 of file L1TRate.h.
Referenced by analyze(), bookHistograms(), getXSexFitsOMDS(), getXSexFitsPython(), and L1TRate().
|
private |
Definition at line 81 of file L1TRate.h.
Referenced by bookHistograms(), and L1TRate().
|
private |
|
private |
|
private |
Definition at line 97 of file L1TRate.h.
Referenced by analyze(), bookHistograms(), endLuminosityBlock(), getXSexFitsOMDS(), and getXSexFitsPython().
|
private |
Definition at line 100 of file L1TRate.h.
Referenced by bookHistograms(), getXSexFitsOMDS(), and getXSexFitsPython().
|
private |
Definition at line 78 of file L1TRate.h.
Referenced by analyze(), beginLuminosityBlock(), dqmBeginRun(), endLuminosityBlock(), and L1TRate().
|
private |
Definition at line 98 of file L1TRate.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 99 of file L1TRate.h.
Referenced by bookHistograms(), and endLuminosityBlock().