#include <DTLocalTriggerBaseTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
To reset the MEs. More... | |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) |
Beginrun. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
Perform trend plot operations. More... | |
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 | |
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 | runDDUAnalysis (edm::Handle< DTLocalTriggerCollection > &trigsDDU) |
Run analysis on ROS data. More... | |
void | runDDUvsTMAnalysis () |
Run analysis on ROS data. More... | |
void | runTMAnalysis (std::vector< L1MuDTChambPhDigi > const *phTrigs, std::vector< L1MuDTChambThDigi > const *thTrigs) |
Run analysis on TM data. More... | |
void | setQLabels (MonitorElement *me, short int iaxis) |
Set Quality labels. More... | |
std::string & | topFolder (std::string const &type) |
Get the Top folder (different between Physics and TP and TM/DDU) More... | |
Private Attributes | |
std::string | baseFolder [2] |
int | bestAccRange |
std::map< uint32_t, std::map < std::string, MonitorElement * > > | chamberHistos |
edm::EDGetTokenT < L1MuDTChambPhContainer > | dcc_phi_Token_ |
edm::EDGetTokenT < L1MuDTChambThContainer > | dcc_theta_Token_ |
bool | detailedAnalysis |
MonitorElement * | nEventMonitor |
int | nEvents |
int | nEventsInLS |
int | nLumis |
bool | processDDU |
bool | processTM |
int | targetBXDDU |
int | targetBXTM |
std::map< uint32_t, DTTPGCompareUnit > | theCompMap |
edm::ParameterSet | theParams |
DTTrigGeomUtils * | theTrigGeomUtils |
std::vector< std::string > | theTypes |
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 |
Definition at line 45 of file DTLocalTriggerBaseTask.h.
DTLocalTriggerBaseTask::DTLocalTriggerBaseTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 63 of file DTLocalTriggerBaseTask.cc.
References bestAccRange, dcc_phi_Token_, dcc_theta_Token_, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, processDDU, processTM, targetBXDDU, targetBXTM, theParams, theTypes, topFolder(), tpMode, and trig_Token_.
|
virtual |
Destructor.
Definition at line 102 of file DTLocalTriggerBaseTask.cc.
References LogTrace, nEvents, and theTrigGeomUtils.
|
protectedvirtual |
Analyze.
Implements edm::stream::EDAnalyzerBase.
Definition at line 174 of file DTLocalTriggerBaseTask.cc.
References dcc_phi_Token_, dcc_theta_Token_, MonitorElement::Fill(), edm::Event::getByToken(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nEventMonitor, nEvents, nEventsInLS, processDDU, processTM, runDDUAnalysis(), runDDUvsTMAnalysis(), runTMAnalysis(), theCompMap, theParams, and trig_Token_.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 125 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, nEventsInLS, nLumis, and theParams.
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 110 of file DTLocalTriggerBaseTask.cc.
References DQMStore::IBooker::bookFloat(), bookHistos(), DTChamberId, nEventMonitor, and DQMStore::IBooker::setCurrentFolder().
|
private |
Book the histograms.
Definition at line 222 of file DTLocalTriggerBaseTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), chamberHistos, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, DTTrigGeomUtils::phiRange(), processDDU, processTM, DetId::rawId(), DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), setQLabels(), DTChamberId::station(), relativeConstraints::station, theParams, theTrigGeomUtils, theTypes, topFolder(), tpMode, trendHistos, and DTChamberId::wheel().
Referenced by bookHistograms().
|
private |
Book the histograms.
Definition at line 331 of file DTLocalTriggerBaseTask.cc.
References DQMStore::IBooker::bookProfile2D(), LogTrace, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), topFolder(), and wheelHistos.
|
protectedvirtual |
Beginrun.
Reimplemented from DQMEDAnalyzer.
Definition at line 162 of file DTLocalTriggerBaseTask.cc.
References edm::EventSetup::get(), LogTrace, and theTrigGeomUtils.
|
protectedvirtual |
Perform trend plot operations.
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 148 of file DTLocalTriggerBaseTask.cc.
References LogTrace, edm::LuminosityBlockBase::luminosityBlock(), nEventsInLS, and trendHistos.
|
private |
Run analysis on ROS data.
Definition at line 432 of file DTLocalTriggerBaseTask.cc.
References funct::abs(), bestAccRange, chamberHistos, DetId::rawId(), targetBXDDU, theCompMap, and tpMode.
Referenced by analyze().
|
private |
Run analysis on ROS data.
Definition at line 490 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, DTTPGCompareUnit::deltaBX(), DTTPGCompareUnit::hasBoth(), DTTPGCompareUnit::hasOne(), DTTPGCompareUnit::hasSameQual(), DTTPGCompareUnit::qualDDU(), DTTPGCompareUnit::qualTM(), DTChamberId::sector(), DTChamberId::station(), theCompMap, trendHistos, DTChamberId::wheel(), and wheelHistos.
Referenced by analyze().
|
private |
Run analysis on TM data.
Definition at line 351 of file DTLocalTriggerBaseTask.cc.
References funct::abs(), bestAccRange, chamberHistos, detailedAnalysis, dir, DetId::rawId(), targetBXTM, theCompMap, theTrigGeomUtils, tpMode, DTTrigGeomUtils::trigDir(), and DTTrigGeomUtils::trigPos().
Referenced by analyze().
|
private |
Set Quality labels.
Definition at line 516 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::getTH1(), timingPdfMaker::histo, i, and HLT_25ns10e33_v2_cff::labels.
Referenced by bookHistos().
|
inlineprivate |
Get the Top folder (different between Physics and TP and TM/DDU)
Definition at line 83 of file DTLocalTriggerBaseTask.h.
References baseFolder.
Referenced by bookHistos(), and DTLocalTriggerBaseTask().
|
friend |
Definition at line 47 of file DTLocalTriggerBaseTask.h.
|
private |
Definition at line 100 of file DTLocalTriggerBaseTask.h.
Referenced by topFolder().
|
private |
Definition at line 108 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), runDDUAnalysis(), and runTMAnalysis().
|
private |
Definition at line 116 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDDUAnalysis(), runDDUvsTMAnalysis(), 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 102 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 96 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), looper.Looper::loop(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 97 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 98 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 104 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 103 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 106 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runDDUAnalysis().
|
private |
Definition at line 107 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 114 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), runDDUAnalysis(), runDDUvsTMAnalysis(), and runTMAnalysis().
|
private |
Definition at line 110 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 111 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 101 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), runDDUAnalysis(), and runTMAnalysis().
|
private |
Definition at line 117 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and runDDUvsTMAnalysis().
|
private |
Definition at line 122 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 115 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), and runDDUvsTMAnalysis().