#include <L1TRate_Offline.h>
Public Types | |
enum | Errors { UNKNOWN = 1, WARNING_PY_MISSING_FIT = 2 } |
Public Types inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 |
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 &run, const edm::EventSetup &iSetup) override |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
bool | getXSexFitsPython (const edm::ParameterSet &ps) |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Additional Inherited Members | |
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 DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 43 of file L1TRate_Offline.h.
Enumerator | |
---|---|
UNKNOWN | |
WARNING_PY_MISSING_FIT |
Definition at line 45 of file L1TRate_Offline.h.
L1TRate_Offline::L1TRate_Offline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 18 of file L1TRate_Offline.cc.
References L1TSync_cfi::Categories, gather_cfg::cout, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_inputCategories, m_l1GtDataDaqInputTag, m_lsShiftGTRates, m_maxNbins, m_parameters, m_refPrescaleSet, m_scalersSource_L1TSCollection, m_scalersSource_LSCollection, and m_verbose.
|
override |
Definition at line 59 of file L1TRate_Offline.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 338 of file L1TRate_Offline.cc.
References gather_cfg::cout, Level1TriggerRates::deadtimePercent(), edm::ParameterSet::getUntrackedParameter(), L1GlobalTriggerReadoutRecord::gtFdlVector(), mps_fire::i, iEvent, nano_mu_global_cff::instLumi, edm::HandleBase::isValid(), m_algoBit, m_l1GtDataDaqInputTag, m_lsDeadTime, m_lsLuminosity, m_lsPrescaleIndex, m_lsRates, m_lsShiftGTRates, m_parameters, m_scalersSource_L1TSCollection, m_scalersSource_LSCollection, m_selectedTriggers, and m_verbose.
|
overrideprotected |
Definition at line 210 of file L1TRate_Offline.cc.
References gather_cfg::cout, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), and m_verbose.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 64 of file L1TRate_Offline.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), gather_cfg::cout, edm::EventSetup::getData(), L1TMenuHelper::getEtaRangeByAlias(), L1TMenuHelper::getLUSOTrigger(), edm::ParameterSet::getParameter(), L1TMenuHelper::getPrescaleByAlias(), L1TMenuHelper::getQualityAlias(), getXSexFitsPython(), L1GtPrescaleFactors::gtPrescaleFactors(), mps_fire::i, m_algoBit, m_algoFit, m_CountsVsLS, m_DelivLumiVsLS, m_ErrorMonitor, m_helperTokens, m_inputCategories, m_l1GtPfAlgoToken, m_l1GtUtils, m_listsPrescaleFactors, m_maxNbins, m_menuToken, m_parameters, m_RecorLumiVsLS, m_refPrescaleSet, m_selectedTriggers, m_templateFunctions, m_verbose, m_xSecObservedToExpected, m_xSecObservedVsDelivLumi, m_xSecObservedVsLS, m_xSecObservedVsRecorLumi, L1TRate_cfi::maxInstantLuminosity, prototype_2023_v1_0_0::menu, L1TRate_cfi::minInstantLuminosity, L1GtUtils::retrieveL1EventSetup(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), UNKNOWN, and WARNING_PY_MISSING_FIT.
|
overrideprotected |
Definition at line 217 of file L1TRate_Offline.cc.
References dqmiodumpmetadata::counts, gather_cfg::cout, mps_fire::i, edm::LuminosityBlockBase::id(), dqmiolumiharvest::j, edm::LuminosityBlockID::luminosityBlock(), m_algoBit, m_algoFit, m_CountsVsLS, m_DelivLumiVsLS, m_lsDeadTime, m_lsLuminosity, m_lsPrescaleIndex, m_lsRates, m_RecorLumiVsLS, m_selectedTriggers, m_verbose, m_xSecObservedToExpected, m_xSecObservedVsDelivLumi, m_xSecObservedVsLS, m_xSecObservedVsRecorLumi, genParticles_cff::map, and findQualityFiles::size.
|
protected |
Definition at line 474 of file L1TRate_Offline.cc.
References a, b, edm::ParameterSet::getParameter(), dqm::impl::MonitorElement::getTH1(), m_ErrorMonitor, m_parameters, m_selectedTriggers, m_templateFunctions, L1TRate_cfi::maxInstantLuminosity, L1TRate_cfi::minInstantLuminosity, ClassesDefXmlUtils::noError, and WARNING_PY_MISSING_FIT.
Referenced by bookHistograms().
|
private |
Definition at line 85 of file L1TRate_Offline.h.
Referenced by analyze(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 86 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 95 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 101 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 117 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and getXSexFitsPython().
|
private |
Definition at line 121 of file L1TRate_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 87 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and L1TRate_Offline().
|
private |
Definition at line 96 of file L1TRate_Offline.h.
|
private |
Definition at line 111 of file L1TRate_Offline.h.
Referenced by analyze(), and L1TRate_Offline().
|
private |
Definition at line 120 of file L1TRate_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 122 of file L1TRate_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 78 of file L1TRate_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 106 of file L1TRate_Offline.h.
|
private |
Definition at line 81 of file L1TRate_Offline.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 83 of file L1TRate_Offline.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 82 of file L1TRate_Offline.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 84 of file L1TRate_Offline.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 72 of file L1TRate_Offline.h.
Referenced by analyze(), and L1TRate_Offline().
|
private |
Definition at line 71 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and L1TRate_Offline().
|
private |
Definition at line 119 of file L1TRate_Offline.h.
Referenced by bookHistograms().
|
private |
Definition at line 75 of file L1TRate_Offline.h.
|
private |
Definition at line 114 of file L1TRate_Offline.h.
Referenced by analyze(), bookHistograms(), getXSexFitsPython(), and L1TRate_Offline().
|
private |
Definition at line 97 of file L1TRate_Offline.h.
|
private |
Definition at line 102 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 70 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and L1TRate_Offline().
|
private |
Definition at line 110 of file L1TRate_Offline.h.
Referenced by analyze(), and L1TRate_Offline().
|
private |
Definition at line 109 of file L1TRate_Offline.h.
Referenced by analyze(), and L1TRate_Offline().
|
private |
Definition at line 88 of file L1TRate_Offline.h.
Referenced by analyze(), bookHistograms(), endLuminosityBlock(), and getXSexFitsPython().
|
private |
Definition at line 104 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and getXSexFitsPython().
|
private |
Definition at line 67 of file L1TRate_Offline.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), endLuminosityBlock(), and L1TRate_Offline().
|
private |
Definition at line 89 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 92 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 100 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 93 of file L1TRate_Offline.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 90 of file L1TRate_Offline.h.