#include <DTLocalTriggerTask.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 | 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 &) override |
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... | |
void | setQLabelsTheta (MonitorElement *me, short int iaxis) |
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) |
Protected Attributes | |
const int | wheelArrayShift = 3 |
Friends | |
class | DTMonitorModule |
Definition at line 53 of file DTLocalTriggerTask.h.
DTLocalTriggerTask::DTLocalTriggerTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 35 of file DTLocalTriggerTask.cc.
References baseFolderDDU, baseFolderTM, detailedAnalysis, doTMTheta, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isLocalRun, LogTrace, ltcDigiCollectionToken_, parameters, ros_Token_, seg_Token_, tm_Token_, tmTh_label_, tmTh_Token_, and tpMode.
|
virtual |
Destructor.
Definition at line 75 of file DTLocalTriggerTask.cc.
References LogTrace, nevents, and trigGeomUtils.
|
overrideprotected |
Analyze.
Definition at line 249 of file DTLocalTriggerTask.cc.
References edm::Event::getByToken(), L1MuDTChambPhContainer::getContainer(), L1MuDTChambThContainer::getContainer(), edm::ParameterSet::getUntrackedParameter(), edm::HandleBase::isValid(), nevents, parameters, ros_Token_, runDDUAnalysis(), runDDUvsTMAnalysis(), runSegmentAnalysis(), runTMAnalysis(), seg_Token_, tm_Token_, tmTh_Token_, tpMode, triggerSource(), trigsrc, useDDU, useSEG, and useTM.
|
overrideprotected |
To reset the MEs.
Definition at line 231 of file DTLocalTriggerTask.cc.
References digiHistos, edm::ParameterSet::getUntrackedParameter(), trackerHits::histo, edm::LuminosityBlockBase::id(), LogTrace, edm::LuminosityBlockID::luminosityBlock(), genParticles_cff::map, and parameters.
|
protected |
Book the histograms.
Definition at line 306 of file DTLocalTriggerTask.cc.
References DQMStore::IBooker::book1D(), MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), tm_IDDataErrorPlot, 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, trackingPlots::stat, and tpMode.
|
protected |
Definition at line 319 of file DTLocalTriggerTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), digiHistos, PFMuonValidation_cff::folder, edm::ParameterSet::getUntrackedParameter(), fftjetimagerecorder_cfi::histoLabel, createfilelist::int, LogTrace, hpstanc_transforms::max, simTrackMatching_cfi::maxBX, min(), simTrackMatching_cfi::minBX, pileupCalc::nbins, parameters, DTTrigGeomUtils::phiRange(), DetId::rawId(), reco::return(), SimDataFormats::CaloAnalysis::sc, DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), setQLabels(), setQLabelsTheta(), DTChamberId::station(), relativeConstraints::station, DTTrigGeomUtils::thetaRange(), topFolder(), trigGeomUtils, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
protected |
Book the histograms.
Definition at line 483 of file DTLocalTriggerTask.cc.
References DQMStore::IBooker::bookProfile2D(), LogTrace, reco::return(), MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), topFolder(), makeMuonMisalignmentScenario::wheel, and wheelHistos.
Referenced by bookHistograms().
|
overrideprotected |
Beginrun.
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 632 of file DTLocalTriggerTask.cc.
References dduphcode_best, dduthcode_best, digiHistos, mps_fire::i, iphbestddu, gen::k, btvTracks_cfi::quality, DetId::rawId(), tpMode, trigsrc, and wheelArrayShift.
Referenced by analyze().
|
protected |
Run analysis on ROS data.
Definition at line 890 of file DTLocalTriggerTask.cc.
References dduphcode_best, digiHistos, spr::find(), hcalTTPDigis_cfi::id, iphbest, iphbestddu, phcode_best, SimDataFormats::CaloAnalysis::sc, wheelArrayShift, and wheelHistos.
Referenced by analyze().
|
protected |
Run analysis using DT 4D segments.
Definition at line 708 of file DTLocalTriggerTask.cc.
References DTTrigGeomUtils::computeSCCoordinates(), dduphcode_best, dduthcode_best, digiHistos, iphbest, phcode_best, DetId::rawId(), relativeConstraints::station, thcode_best, HiIsolationCommonParameters_cff::track, track_ok, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigsrc, DTTrigGeomUtils::trigToSeg(), useDDU, useTM, and makeMuonMisalignmentScenario::wheel.
Referenced by analyze().
|
protected |
Run analysis on TM data.
Definition at line 507 of file DTLocalTriggerTask.cc.
References angle(), detailedAnalysis, digiHistos, doTMTheta, MonitorElement::Fill(), mps_fire::i, hcalTTPDigis_cfi::id, iphbest, ithbest, gen::k, phcode_best, DetId::rawId(), SimDataFormats::CaloAnalysis::sc, thcode_best, tm_IDDataErrorPlot, tpMode, DTTrigGeomUtils::trigDir(), trigGeomUtils, DTTrigGeomUtils::trigPos(), trigsrc, wheelArrayShift, and x.
Referenced by analyze().
|
protected |
Set Quality labels.
Definition at line 918 of file DTLocalTriggerTask.cc.
References MonitorElement::getTH1(), trackerHits::histo, mps_fire::i, and tablePrinter::labels.
Referenced by bookHistos().
|
protected |
Definition at line 940 of file DTLocalTriggerTask.cc.
References MonitorElement::getTH1(), trackerHits::histo, mps_fire::i, and tablePrinter::labels.
Referenced by bookHistos().
|
inlineprotected |
Get the Top folder (different between Physics and TP and TM/DDU)
Definition at line 107 of file DTLocalTriggerTask.h.
References baseFolderDDU, and baseFolderTM.
Referenced by bookBarrelHistos(), bookHistos(), and bookWheelHistos().
|
protected |
Get the L1A source.
Definition at line 964 of file DTLocalTriggerTask.cc.
References edm::Event::getByToken(), mps_fire::i, isLocalRun, ltcDigiCollectionToken_, and trigsrc.
Referenced by analyze().
|
friend |
Definition at line 55 of file DTLocalTriggerTask.h.
|
private |
Definition at line 126 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 125 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 132 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), runDDUvsTMAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 134 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 128 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 144 of file DTLocalTriggerTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDDUAnalysis(), runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 127 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 136 of file DTLocalTriggerTask.h.
Referenced by runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 137 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runDDUvsTMAnalysis().
|
private |
Definition at line 149 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 138 of file DTLocalTriggerTask.h.
Referenced by runTMAnalysis().
|
private |
Definition at line 119 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 135 of file DTLocalTriggerTask.h.
|
private |
Definition at line 142 of file DTLocalTriggerTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 123 of file DTLocalTriggerTask.h.
Referenced by analyze(), dqmBeginRun(), and ~DTLocalTriggerTask().
|
private |
Definition at line 141 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 131 of file DTLocalTriggerTask.h.
Referenced by runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 117 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 118 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 133 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 147 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), and runTMAnalysis().
|
private |
Definition at line 115 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 113 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask().
|
private |
Definition at line 116 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 124 of file DTLocalTriggerTask.h.
Referenced by analyze(), bookHistograms(), DTLocalTriggerTask(), runDDUAnalysis(), and runTMAnalysis().
|
private |
Definition at line 139 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis().
|
private |
Definition at line 143 of file DTLocalTriggerTask.h.
Referenced by bookHistos(), dqmBeginRun(), runSegmentAnalysis(), runTMAnalysis(), and ~DTLocalTriggerTask().
|
private |
Definition at line 122 of file DTLocalTriggerTask.h.
Referenced by analyze(), runDDUAnalysis(), runSegmentAnalysis(), runTMAnalysis(), and triggerSource().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by analyze().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
protected |
Definition at line 109 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), runDDUvsTMAnalysis(), and runTMAnalysis().
|
private |
Definition at line 145 of file DTLocalTriggerTask.h.
Referenced by bookWheelHistos(), and runDDUvsTMAnalysis().