#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<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
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 | 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 | 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 | |
std::string | baseFolder [2] |
int | bestAccRange |
std::map< uint32_t, std::map< std::string, MonitorElement * > > | chamberHistos |
bool | detailedAnalysis |
MonitorElement * | nEventMonitor |
int | nEvents |
int | nEventsInLS |
int | nLumis |
bool | processTM |
int | targetBXTM |
std::map< uint32_t, DTTPGCompareUnit > | theCompMapIn |
std::map< uint32_t, DTTPGCompareUnit > | theCompMapOut |
edm::ParameterSet | theParams |
DTTrigGeomUtils * | theTrigGeomUtils |
std::vector< std::string > | theTypes |
edm::EDGetTokenT< L1MuDTChambPhContainer > | tm_phiIn_Token_ |
edm::EDGetTokenT< L1MuDTChambPhContainer > | tm_phiOut_Token_ |
edm::EDGetTokenT< L1MuDTChambThContainer > | tm_theta_Token_ |
bool | tpMode |
std::map< uint32_t, DTTimeEvolutionHisto * > | trendHistos |
edm::EDGetTokenT< DTLocalTriggerCollection > | trig_Token_ |
std::map< int, std::map< std::string, MonitorElement * > > | wheelHistos |
Friends | |
class | DTMonitorModule |
Additional Inherited Members | |
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 | |
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 DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 44 of file DTLocalTriggerBaseTask.h.
DTLocalTriggerBaseTask::DTLocalTriggerBaseTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 54 of file DTLocalTriggerBaseTask.cc.
References bestAccRange, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, processTM, targetBXTM, theParams, theTypes, tm_phiIn_Token_, tm_phiOut_Token_, tm_theta_Token_, topFolder(), and tpMode.
|
override |
Destructor.
Definition at line 82 of file DTLocalTriggerBaseTask.cc.
References LogTrace, nEvents, and theTrigGeomUtils.
|
overrideprotectedvirtual |
Analyze.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 145 of file DTLocalTriggerBaseTask.cc.
References MillePedeFileConverter_cfg::e, dqm::impl::MonitorElement::Fill(), L1MuDTChambPhContainer::getContainer(), L1MuDTChambThContainer::getContainer(), edm::ParameterSet::getUntrackedParameter(), dtTriggerBaseTask_cfi::inputTagTM, edm::HandleBase::isValid(), nEventMonitor, nEvents, nEventsInLS, processTM, runTMAnalysis(), theCompMapIn, theCompMapOut, theParams, tm_phiIn_Token_, tm_phiOut_Token_, and tm_theta_Token_.
|
overrideprotected |
To reset the MEs.
Definition at line 104 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, nEventsInLS, nLumis, and theParams.
|
overrideprivatevirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 90 of file DTLocalTriggerBaseTask.cc.
References dqm::implementation::IBooker::bookFloat(), bookHistos(), nEventMonitor, dqm::implementation::NavigatorBase::setCurrentFolder(), and hgcalPlots::stat.
|
private |
Book the histograms.
Definition at line 174 of file DTLocalTriggerBaseTask.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), chamberHistos, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), dtResolutionTest_cfi::histoTag, LogTrace, simKBmtfStubs_cfi::maxBX, simKBmtfStubs_cfi::minBX, DTTrigGeomUtils::phiRange(), DetId::rawId(), DTChamberId::sector(), dqm::implementation::NavigatorBase::setCurrentFolder(), setQLabels(), setQLabelsTheta(), DTChamberId::station(), relativeConstraints::station, theParams, theTrigGeomUtils, theTypes, topFolder(), tpMode, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
private |
Book the histograms.
|
overrideprotectedvirtual |
Beginrun.
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 137 of file DTLocalTriggerBaseTask.cc.
References edm::EventSetup::get(), get, LogTrace, and theTrigGeomUtils.
|
overrideprotected |
Perform trend plot operations.
Definition at line 125 of file DTLocalTriggerBaseTask.cc.
References gather_cfg::cout, LogTrace, edm::LuminosityBlockBase::luminosityBlock(), nEventsInLS, and trendHistos.
|
private |
Run analysis on TM data.
Definition at line 316 of file DTLocalTriggerBaseTask.cc.
References funct::abs(), bestAccRange, l1GtPatternGenerator_cfi::bx, chamberHistos, detailedAnalysis, DeadROC_duringRun::dir, DetId::rawId(), fileinputsource_cfi::sec, targetBXTM, theCompMapIn, theCompMapOut, theTrigGeomUtils, tpMode, DTTrigGeomUtils::trigDir(), and DTTrigGeomUtils::trigPos().
Referenced by analyze().
|
private |
Set Quality labels.
Definition at line 448 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 469 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 74 of file DTLocalTriggerBaseTask.h.
References baseFolder.
Referenced by bookHistos(), and DTLocalTriggerBaseTask().
|
friend |
Definition at line 45 of file DTLocalTriggerBaseTask.h.
|
private |
Definition at line 92 of file DTLocalTriggerBaseTask.h.
Referenced by topFolder().
|
private |
Definition at line 98 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 107 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), and runTMAnalysis().
|
private |
Definition at line 94 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 109 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 88 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), looper.Looper::loop(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 89 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 90 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 95 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 97 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 104 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and runTMAnalysis().
|
private |
Definition at line 105 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and runTMAnalysis().
|
private |
Definition at line 100 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 101 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), dqmBeginRun(), runTMAnalysis(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 102 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 111 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 112 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 113 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 93 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 108 of file DTLocalTriggerBaseTask.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 114 of file DTLocalTriggerBaseTask.h.
|
private |
Definition at line 106 of file DTLocalTriggerBaseTask.h.