#include <L1TRate.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override |
void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
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 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
L1TRate::L1TRate | ( | const edm::ParameterSet & | ps | ) |
Definition at line 33 of file L1TRate.cc.
References TagProbeFitTreeAnalyzer_cfi::Categories, 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.
|
override |
Definition at line 75 of file L1TRate.cc.
|
overrideprotected |
Definition at line 291 of file L1TRate.cc.
References gather_cfg::cout, edm::Event::getByToken(), edm::ParameterSet::getUntrackedParameter(), Level1TriggerRates::gtAlgoCountsRate(), L1GlobalTriggerReadoutRecord::gtFdlVector(), mps_fire::i, edm::EventBase::id(), muonGEMDigis_cfi::instLumi, 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().
|
overrideprotected |
Definition at line 201 of file L1TRate.cc.
References gather_cfg::cout, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), and m_verbose.
|
overrideprotected |
Definition at line 80 of file L1TRate.cc.
References patPFMETCorrections_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(), mps_fire::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, edm::ESHandle< T >::product(), L1GtUtils::retrieveL1EventSetup(), MonitorElement::setBinLabel(), and DQMStore::IBooker::setCurrentFolder().
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 196 of file L1TRate.cc.
References gather_cfg::cout, and m_verbose.
|
overrideprotected |
Definition at line 208 of file L1TRate.cc.
References gather_cfg::cout, mps_fire::i, edm::LuminosityBlockBase::id(), eostools::ls(), edm::LuminosityBlockID::luminosityBlock(), m_algoBit, m_lsLuminosity, m_lsPrescaleIndex, m_lsRates, m_selectedTriggers, m_verbose, m_xSecObservedToExpected, m_xSecVsInstLumi, and genParticles_cff::map.
|
private |
Definition at line 395 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 470 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().