#include <DTLocalTriggerTask.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 | bookBarrelHistos (DQMStore::IBooker &, std::string histoTag) |
Book the histograms. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Book the histograms. More... | |
void | bookHistos (DQMStore::IBooker &, const DTChamberId &dtCh, std::string folder, std::string histoTag) |
void | bookWheelHistos (DQMStore::IBooker &, int wh, std::string histoTag) |
Book the histograms. More... | |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) |
Beginrun. More... | |
void | runDDUAnalysis (edm::Handle< DTLocalTriggerCollection > &trigsDDU) |
Run analysis on ROS data. More... | |
void | runDDUvsTMAnalysis (std::string &trigsrc) |
Run analysis on ROS data. More... | |
void | runSegmentAnalysis (edm::Handle< DTRecSegment4DCollection > &segments4D) |
Run analysis using DT 4D segments. 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 (bool isTM) |
Get the Top folder (different between Physics and TP and TM/DDU) More... | |
void | triggerSource (const edm::Event &e) |
Get the L1A source. 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) |
Friends | |
class | DTMonitorModule |
Definition at line 48 of file DTLocalTriggerTask.h.
DTLocalTriggerTask::DTLocalTriggerTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 35 of file DTLocalTriggerTask.cc.
References baseFolderDDU, baseFolderTM, dcc_Token_, dccTh_Token_, detailedAnalysis, doTMTheta, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_FULL_cff::InputTag, isLocalRun, LogTrace, ltcDigiCollectionToken_, parameters, ros_Token_, seg_Token_, and tpMode.
|
virtual |
Destructor.
Definition at line 75 of file DTLocalTriggerTask.cc.
References LogTrace, nevents, and trigGeomUtils.
|
protectedvirtual |
Analyze.
Implements edm::stream::EDAnalyzerBase.
Definition at line 243 of file DTLocalTriggerTask.cc.
References dcc_Token_, dccTh_Token_, edm::Event::getByToken(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nevents, parameters, ros_Token_, runDDUAnalysis(), runDDUvsTMAnalysis(), runSegmentAnalysis(), runTMAnalysis(), seg_Token_, tpMode, triggerSource(), trigsrc, useDDU, useSEG, and useTM.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 225 of file DTLocalTriggerTask.cc.
References digiHistos, edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, edm::LuminosityBlockBase::id(), LogTrace, edm::LuminosityBlockID::luminosityBlock(), and parameters.
|
protected |
Book the histograms.
Definition at line 300 of file DTLocalTriggerTask.cc.
References DQMStore::IBooker::book1D(), dcc_IDDataErrorPlot, MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), and topFolder().
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Book the histograms.
Implements DQMEDAnalyzer.
Definition at line 90 of file DTLocalTriggerTask.cc.
References bookBarrelHistos(), bookHistos(), bookWheelHistos(), detailedAnalysis, doTMTheta, edm::ParameterSet::getUntrackedParameter(), LogTrace, parameters, and tpMode.
|
protected |
Definition at line 313 of file DTLocalTriggerTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), digiHistos, edm::ParameterSet::getUntrackedParameter(), LogTrace, bookConverter::max, min(), pileupCalc::nbins, parameters, DTTrigGeomUtils::phiRange(), DetId::rawId(), reco::return(), DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), setQLabels(), DTChamberId::station(), relativeConstraints::station, DTTrigGeomUtils::thetaRange(), topFolder(), trigGeomUtils, and DTChamberId::wheel().
Referenced by bookHistograms().
|
protected |
Book the histograms.
Definition at line 477 of file DTLocalTriggerTask.cc.
References DQMStore::IBooker::bookProfile2D(), LogTrace, reco::return(), MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), topFolder(), and wheelHistos.
Referenced by bookHistograms().
|
protectedvirtual |
Beginrun.
Reimplemented from DQMEDAnalyzer.
Definition at line 82 of file DTLocalTriggerTask.cc.
References edm::EventSetup::get(), muonGeom, nevents, and trigGeomUtils.
|
protected |
Run analysis on ROS data.
Definition at line 615 of file DTLocalTriggerTask.cc.
References dduphcode_best, dduthcode_best, digiHistos, i, iphbestddu, j, relval_2017::k, HLT_FULL_cff::quality, DetId::rawId(), tpMode, and trigsrc.
Referenced by analyze().
|
protected |
Run analysis on ROS data.
Definition at line 870 of file DTLocalTriggerTask.cc.
References DTLocalTrigger::bx(), L1MuDTChambPhDigi::bxNum(), dduphcode_best, digiHistos, spr::find(), iphbest, iphbestddu, phcode_best, DTLocalTrigger::secondTrack(), L1MuDTChambPhDigi::Ts2Tag(), and wheelHistos.
Referenced by analyze().
|
protected |
Run analysis using DT 4D segments.
Definition at line 691 of file DTLocalTriggerTask.cc.
References DTRecSegment4D::chamberId(), DTTrigGeomUtils::computeSCCoordinates(), dduphcode_best, dduthcode_best, DTRecSegment2D::degreesOfFreedom(), digiHistos, DTChamberId, iphbest, phcode_best, DTRecSegment4D::phiSegment(), DetId::rawId(), relativeConstraints::station, thcode_best, track_ok, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigsrc, DTTrigGeomUtils::trigToSeg(), useDDU, useTM, and DTChamberId::wheel().
Referenced by analyze().
|
protected |
Run analysis on TM data.
Definition at line 501 of file DTLocalTriggerTask.cc.
References angle(), dcc_IDDataErrorPlot, detailedAnalysis, digiHistos, doTMTheta, MonitorElement::Fill(), i, iphbest, ithbest, j, relval_2017::k, phcode_best, DetId::rawId(), thcode_best, tpMode, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigsrc, and x.
Referenced by analyze().
|
protected |
Set Quality labels.
Definition at line 898 of file DTLocalTriggerTask.cc.
References MonitorElement::getTH1(), timingPdfMaker::histo, i, and HLT_FULL_cff::labels.
Referenced by bookHistos().
|
inlineprotected |
Get the Top folder (different between Physics and TP and TM/DDU)
Definition at line 101 of file DTLocalTriggerTask.h.
References baseFolderDDU, and baseFolderTM.
Referenced by bookBarrelHistos(), bookHistos(), and bookWheelHistos().
|
protected |
Get the L1A source.
Definition at line 920 of file DTLocalTriggerTask.cc.
References edm::Event::getByToken(), i, isLocalRun, ltcDigiCollectionToken_, and trigsrc.
Referenced by analyze().
|
friend |
Definition at line 50 of file DTLocalTriggerTask.h.
|
private |
Definition at line 116 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 115 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 137 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), and runTMAnalysis().
|
private |
Definition at line 105 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 106 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 122 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), runDDUvsTMAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 124 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 118 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 134 of file DTLocalTriggerTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDDUAnalysis(), runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 117 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 126 of file DTLocalTriggerTask.h.
Referenced by runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 127 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runDDUvsTMAnalysis().
|
private |
Definition at line 139 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 128 of file DTLocalTriggerTask.h.
Referenced by runTMAnalysis().
|
private |
Definition at line 109 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 125 of file DTLocalTriggerTask.h.
|
private |
Definition at line 132 of file DTLocalTriggerTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 113 of file DTLocalTriggerTask.h.
Referenced by analyze(), dqmBeginRun(), and ~DTLocalTriggerTask().
|
private |
Definition at line 131 of file DTLocalTriggerTask.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), bookHistos(), DTLocalTriggerTask(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 107 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 108 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 123 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 114 of file DTLocalTriggerTask.h.
Referenced by analyze(), bookHistograms(), DTLocalTriggerTask(), runDDUAnalysis(), and runTMAnalysis().
|
private |
Definition at line 129 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis().
|
private |
Definition at line 133 of file DTLocalTriggerTask.h.
Referenced by bookHistos(), dqmBeginRun(), runSegmentAnalysis(), runTMAnalysis(), and ~DTLocalTriggerTask().
|
private |
Definition at line 112 of file DTLocalTriggerTask.h.
Referenced by analyze(), runDDUAnalysis(), runSegmentAnalysis(), runTMAnalysis(), and triggerSource().
|
private |
Definition at line 111 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 111 of file DTLocalTriggerTask.h.
Referenced by analyze().
|
private |
Definition at line 111 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 135 of file DTLocalTriggerTask.h.
Referenced by bookWheelHistos(), and runDDUvsTMAnalysis().