#include <DTLocalTriggerBaseTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
Analyze. More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
To reset the MEs. More... | |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
Beginrun. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
Perform trend plot operations. More... | |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
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) |
Private Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | bookHistos (DQMStore::IBooker &, const DTChamberId &chamb) |
Book the histograms. More... | |
void | bookHistos (DQMStore::IBooker &, int wh) |
Book the histograms. More... | |
void | runAB7Analysis (std::vector< L1Phase2MuDTPhDigi > const *phTrigs) |
Run analysis on Phase2 readout for SliceTest. More... | |
void | runTMAnalysis (std::vector< L1MuDTChambPhDigi > const *phInTrigs, std::vector< L1MuDTChambPhDigi > const *phOutTrigs, std::vector< L1MuDTChambThDigi > const *thTrigs) |
Run analysis on TM data. More... | |
void | setQLabels (MonitorElement *me, short int iaxis) |
Set Quality labels. More... | |
void | setQLabelsPh2 (MonitorElement *me, short int iaxis) |
void | setQLabelsTheta (MonitorElement *me, short int iaxis) |
std::string & | topFolder (std::string const &type) |
Get the Top folder (different between Physics and TP and TM) More... | |
Private Attributes | |
const DTGeometry * | geom |
edm::EDGetTokenT< L1Phase2MuDTPhContainer > | m_ab7_phi_Token |
std::string | m_baseFolder [2] |
int | m_bestAccRange |
std::map< uint32_t, std::map< std::string, MonitorElement * > > | m_chamberHistos |
std::map< uint32_t, DTTPGCompareUnit > | m_compMapIn |
std::map< uint32_t, DTTPGCompareUnit > | m_compMapOut |
bool | m_detailedAnalysis |
MonitorElement * | m_nEventMonitor |
int | m_nEvents |
int | m_nEventsInLS |
int | m_nLumis |
edm::ParameterSet | m_params |
bool | m_processAB7 |
bool | m_processTM |
int | m_targetBXTM |
edm::EDGetTokenT< L1MuDTChambPhContainer > | m_tm_phiIn_Token |
edm::EDGetTokenT< L1MuDTChambPhContainer > | m_tm_phiOut_Token |
edm::EDGetTokenT< L1MuDTChambThContainer > | m_tm_theta_Token |
bool | m_tpMode |
std::map< uint32_t, DTTimeEvolutionHisto * > | m_trendHistos |
DTTrigGeomUtils * | m_trigGeomUtils |
std::vector< std::string > | m_types |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
Friends | |
class | DTMonitorModule |
Definition at line 45 of file DTLocalTriggerBaseTask.h.
DTLocalTriggerBaseTask::DTLocalTriggerBaseTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 53 of file DTLocalTriggerBaseTask.cc.
References edm::ParameterSet::getUntrackedParameter(), LogTrace, m_ab7_phi_Token, m_bestAccRange, m_detailedAnalysis, m_params, m_processAB7, m_processTM, m_targetBXTM, m_tm_phiIn_Token, m_tm_phiOut_Token, m_tm_theta_Token, m_tpMode, m_types, and topFolder().
|
override |
Destructor.
Definition at line 88 of file DTLocalTriggerBaseTask.cc.
References LogTrace, m_nEvents, and m_trigGeomUtils.
|
overrideprotectedvirtual |
Analyze.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 137 of file DTLocalTriggerBaseTask.cc.
References MillePedeFileConverter_cfg::e, dqm::impl::MonitorElement::Fill(), L1Phase2MuDTPhContainer::getContainer(), L1MuDTChambPhContainer::getContainer(), L1MuDTChambThContainer::getContainer(), edm::HandleBase::isValid(), m_ab7_phi_Token, m_compMapIn, m_compMapOut, m_nEventMonitor, m_nEvents, m_nEventsInLS, m_processAB7, m_processTM, m_tm_phiIn_Token, m_tm_phiOut_Token, m_tm_theta_Token, runAB7Analysis(), and runTMAnalysis().
|
overrideprotected |
To reset the MEs.
Definition at line 109 of file DTLocalTriggerBaseTask.cc.
References edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, LogTrace, m_chamberHistos, m_nEventsInLS, m_nLumis, and m_params.
|
overrideprivatevirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 95 of file DTLocalTriggerBaseTask.cc.
References dqm::implementation::IBooker::bookFloat(), bookHistos(), m_nEventMonitor, dqm::implementation::NavigatorBase::setCurrentFolder(), and edm_modernize_messagelogger::stat.
|
private |
Book the histograms.
Definition at line 176 of file DTLocalTriggerBaseTask.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), edm::ParameterSet::getUntrackedParameter(), dtDQMClient_cfg::histoTag, LogTrace, m_chamberHistos, m_detailedAnalysis, m_params, m_tpMode, m_trigGeomUtils, m_types, l1tnanotables_cff::maxBX, l1tnanotables_cff::minBX, DTTrigGeomUtils::phiRange(), HLTObjectMonitor_cfi::plotLabel, DetId::rawId(), nano_mu_digi_cff::rawId, nano_mu_digi_cff::sector, DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), setQLabels(), setQLabelsPh2(), setQLabelsTheta(), DTChamberId::station(), relativeConstraints::station, topFolder(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
private |
Book the histograms.
|
overrideprotectedvirtual |
Beginrun.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 130 of file DTLocalTriggerBaseTask.cc.
References visDQMUpload::context, geom, LogTrace, m_trigGeomUtils, and muonGeomToken_.
|
overrideprotected |
Perform trend plot operations.
Definition at line 123 of file DTLocalTriggerBaseTask.cc.
References LogTrace, edm::LuminosityBlockBase::luminosityBlock(), m_nEventsInLS, and m_trendHistos.
|
private |
Run analysis on Phase2 readout for SliceTest.
Definition at line 451 of file DTLocalTriggerBaseTask.cc.
References nano_mu_digi_cff::bx, m_chamberHistos, DetId::rawId(), nano_mu_digi_cff::rawId, and fileinputsource_cfi::sec.
Referenced by analyze().
|
private |
Run analysis on TM data.
Definition at line 318 of file DTLocalTriggerBaseTask.cc.
References funct::abs(), nano_mu_digi_cff::bx, AlCaHLTBitMon_QueryRunRegistry::comp, DeadROC_duringRun::dir, m_bestAccRange, m_chamberHistos, m_compMapIn, m_compMapOut, m_detailedAnalysis, m_targetBXTM, m_tpMode, m_trigGeomUtils, DetId::rawId(), nano_mu_digi_cff::rawId, fileinputsource_cfi::sec, DTTrigGeomUtils::trigDir(), and DTTrigGeomUtils::trigPos().
Referenced by analyze().
|
private |
Set Quality labels.
Definition at line 469 of file DTLocalTriggerBaseTask.cc.
References timingPdfMaker::histo, mps_fire::i, SummaryClient_cfi::labels, and hlt_dqm_clientPB-live_cfg::me.
Referenced by bookHistos().
|
private |
Definition at line 511 of file DTLocalTriggerBaseTask.cc.
References timingPdfMaker::histo, mps_fire::i, SummaryClient_cfi::labels, and hlt_dqm_clientPB-live_cfg::me.
Referenced by bookHistos().
|
private |
Definition at line 490 of file DTLocalTriggerBaseTask.cc.
References timingPdfMaker::histo, mps_fire::i, SummaryClient_cfi::labels, and hlt_dqm_clientPB-live_cfg::me.
Referenced by bookHistos().
|
inlineprivate |
Get the Top folder (different between Physics and TP and TM)
Definition at line 78 of file DTLocalTriggerBaseTask.h.
References m_baseFolder.
Referenced by bookHistos(), and DTLocalTriggerBaseTask().
|
friend |
Definition at line 46 of file DTLocalTriggerBaseTask.h.
|
private |
Definition at line 110 of file DTLocalTriggerBaseTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 123 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 97 of file DTLocalTriggerBaseTask.h.
Referenced by topFolder().
|
private |
Definition at line 105 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 116 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runAB7Analysis(), and runTMAnalysis().
|
private |
Definition at line 114 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and runTMAnalysis().
|
private |
Definition at line 115 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and runTMAnalysis().
|
private |
Definition at line 99 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 118 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 93 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 94 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 95 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 107 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 102 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 101 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 104 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 120 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 121 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 122 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 98 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 117 of file DTLocalTriggerBaseTask.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 108 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), dqmBeginRun(), runTMAnalysis(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 112 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 109 of file DTLocalTriggerBaseTask.h.
Referenced by dqmBeginRun().