#include <DTLocalTriggerBaseTask.h>
Public Member Functions | |
DTLocalTriggerBaseTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
~DTLocalTriggerBaseTask () override | |
Destructor. More... | |
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 |
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... | |
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_.
|
override |
Destructor.
Definition at line 105 of file DTLocalTriggerBaseTask.cc.
References LogTrace, nEvents, and theTrigGeomUtils.
|
overrideprotected |
Analyze.
Definition at line 177 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::Fill(), edm::Event::getByToken(), L1MuDTChambPhContainer::getContainer(), L1MuDTChambThContainer::getContainer(), 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_.
|
overrideprotected |
To reset the MEs.
Definition at line 128 of file DTLocalTriggerBaseTask.cc.
References chamberHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, nEventsInLS, nLumis, and theParams.
|
overrideprivate |
Definition at line 113 of file DTLocalTriggerBaseTask.cc.
References DQMStore::IBooker::bookFloat(), bookHistos(), nEventMonitor, processDDU, DQMStore::IBooker::setCurrentFolder(), and trackingPlots::stat.
Referenced by topFolder().
|
private |
Book the histograms.
Definition at line 228 of file DTLocalTriggerBaseTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), chamberHistos, detailedAnalysis, edm::ParameterSet::getUntrackedParameter(), LogTrace, simTrackMatching_cfi::maxBX, simTrackMatching_cfi::minBX, DTTrigGeomUtils::phiRange(), processDDU, processTM, DetId::rawId(), DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), setQLabels(), setQLabelsTheta(), DTChamberId::station(), relativeConstraints::station, theParams, theTrigGeomUtils, theTypes, topFolder(), tpMode, trendHistos, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms(), and topFolder().
|
private |
Book the histograms.
Definition at line 371 of file DTLocalTriggerBaseTask.cc.
References DQMStore::IBooker::bookProfile2D(), LogTrace, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), topFolder(), makeMuonMisalignmentScenario::wheel, and wheelHistos.
|
overrideprotected |
Beginrun.
Definition at line 165 of file DTLocalTriggerBaseTask.cc.
References edm::EventSetup::get(), LogTrace, and theTrigGeomUtils.
|
overrideprotected |
Perform trend plot operations.
Definition at line 151 of file DTLocalTriggerBaseTask.cc.
References LogTrace, edm::LuminosityBlockBase::luminosityBlock(), nEventsInLS, and trendHistos.
|
private |
Run analysis on ROS data.
Definition at line 528 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 586 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 391 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 612 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::getTH1(), trackerHits::histo, mps_fire::i, and tablePrinter::labels.
Referenced by bookHistos(), and topFolder().
|
private |
Definition at line 634 of file DTLocalTriggerBaseTask.cc.
References MonitorElement::getTH1(), trackerHits::histo, mps_fire::i, and tablePrinter::labels.
Referenced by bookHistos(), and topFolder().
|
inlineprivate |
Get the Top folder (different between Physics and TP and TM/DDU)
Definition at line 83 of file DTLocalTriggerBaseTask.h.
References baseFolder, bookHistograms(), bookHistos(), setQLabels(), and setQLabelsTheta().
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(), bookHistograms(), 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().