#include <L1TRate.h>
Public Member Functions | |
L1TRate (const edm::ParameterSet &ps) | |
~L1TRate () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
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 |
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 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().
|
overrideprotected |
|
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().