#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 *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/DDU) 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 | processDDU |
bool | processTM |
int | targetBXDDU |
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 |
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, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, processDDU, processTM, targetBXDDU, targetBXTM, theParams, theTypes, tm_phiIn_Token_, tm_phiOut_Token_, tm_theta_Token_, topFolder(), tpMode, and trig_Token_.
|
virtual |
Destructor.
Definition at line 104 of file DTLocalTriggerBaseTask.cc.
References LogTrace, nEvents, and theTrigGeomUtils.
|
protectedvirtual |
Analyze.
Implements edm::stream::EDAnalyzerBase.
Definition at line 176 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::Fill(), edm::Event::getByToken(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nEventMonitor, nEvents, nEventsInLS, processDDU, processTM, runDDUAnalysis(), runDDUvsTMAnalysis(), runTMAnalysis(), theCompMapIn, theCompMapOut, theParams, tm_phiIn_Token_, tm_phiOut_Token_, tm_theta_Token_, and trig_Token_.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 127 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, nEventsInLS, nLumis, and theParams.
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 112 of file DTLocalTriggerBaseTask.cc.
References DQMStore::IBooker::bookFloat(), bookHistos(), DTChamberId, nEventMonitor, and DQMStore::IBooker::setCurrentFolder().
|
private |
Book the histograms.
Definition at line 227 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(), setQLabelsTheta(), DTChamberId::station(), relativeConstraints::station, theParams, theTrigGeomUtils, theTypes, topFolder(), tpMode, trendHistos, and DTChamberId::wheel().
Referenced by bookHistograms().
|
private |
Book the histograms.
Definition at line 369 of file DTLocalTriggerBaseTask.cc.
References DQMStore::IBooker::bookProfile2D(), LogTrace, hlt_dqm_clientPB-live_cfg::me, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), topFolder(), and wheelHistos.
|
protectedvirtual |
Beginrun.
Reimplemented from DQMEDAnalyzer.
Definition at line 164 of file DTLocalTriggerBaseTask.cc.
References edm::EventSetup::get(), LogTrace, and theTrigGeomUtils.
|
protectedvirtual |
Perform trend plot operations.
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 150 of file DTLocalTriggerBaseTask.cc.
References LogTrace, edm::LuminosityBlockBase::luminosityBlock(), nEventsInLS, and trendHistos.
|
private |
Run analysis on ROS data.
Definition at line 522 of file DTLocalTriggerBaseTask.cc.
References funct::abs(), bestAccRange, chamberHistos, DetId::rawId(), targetBXDDU, theCompMapIn, and tpMode.
Referenced by analyze().
|
private |
Run analysis on ROS data.
Definition at line 580 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, DTTPGCompareUnit::deltaBX(), DTTPGCompareUnit::hasBoth(), DTTPGCompareUnit::hasOne(), DTTPGCompareUnit::hasSameQual(), DTTPGCompareUnit::qualDDU(), DTTPGCompareUnit::qualTM(), DTChamberId::sector(), DTChamberId::station(), theCompMapIn, trendHistos, DTChamberId::wheel(), and wheelHistos.
Referenced by analyze().
|
private |
Run analysis on TM data.
Definition at line 389 of file DTLocalTriggerBaseTask.cc.
References funct::abs(), bestAccRange, chamberHistos, detailedAnalysis, dir, DetId::rawId(), targetBXTM, theCompMapIn, theCompMapOut, theTrigGeomUtils, tpMode, DTTrigGeomUtils::trigDir(), and DTTrigGeomUtils::trigPos().
Referenced by analyze().
|
private |
Set Quality labels.
Definition at line 606 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::getTH1(), timingPdfMaker::histo, i, and HLT_25ns10e33_v2_cff::labels.
Referenced by bookHistos().
|
private |
Definition at line 628 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 101 of file DTLocalTriggerBaseTask.h.
Referenced by topFolder().
|
private |
Definition at line 109 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), runDDUAnalysis(), and runTMAnalysis().
|
private |
Definition at line 118 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDDUAnalysis(), runDDUvsTMAnalysis(), and runTMAnalysis().
|
private |
Definition at line 103 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 120 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 97 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), looper.Looper::loop(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 98 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 99 of file DTLocalTriggerBaseTask.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 105 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 104 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 107 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runDDUAnalysis().
|
private |
Definition at line 108 of file DTLocalTriggerBaseTask.h.
Referenced by DTLocalTriggerBaseTask(), and runTMAnalysis().
|
private |
Definition at line 115 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), runDDUAnalysis(), runDDUvsTMAnalysis(), and runTMAnalysis().
|
private |
Definition at line 116 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and runTMAnalysis().
|
private |
Definition at line 111 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 112 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), dqmBeginRun(), runTMAnalysis(), and ~DTLocalTriggerBaseTask().
|
private |
Definition at line 113 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 122 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 123 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 124 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 102 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), DTLocalTriggerBaseTask(), runDDUAnalysis(), and runTMAnalysis().
|
private |
Definition at line 119 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), endLuminosityBlock(), and runDDUvsTMAnalysis().
|
private |
Definition at line 125 of file DTLocalTriggerBaseTask.h.
Referenced by analyze(), and DTLocalTriggerBaseTask().
|
private |
Definition at line 117 of file DTLocalTriggerBaseTask.h.
Referenced by bookHistos(), and runDDUvsTMAnalysis().