#include <DTLocalTriggerTask.h>
Public Member Functions | |
DTLocalTriggerTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
~DTLocalTriggerTask () 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 | 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 | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) final |
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 Attributes | |
const int | wheelArrayShift = 3 |
Private Attributes | |
std::string | baseFolderDDU |
std::string | baseFolderTM |
DTArr3int | dduphcode_best |
DTArr3int | dduthcode_best |
bool | detailedAnalysis |
std::map< uint32_t, std::map< std::string, MonitorElement * > > | digiHistos |
bool | doTMTheta |
DTArr3PhDigi | iphbest |
DTArr3LocalTrigger | iphbestddu |
bool | isLocalRun |
DTArr3ThDigi | ithbest |
edm::EDGetTokenT< LTCDigiCollection > | ltcDigiCollectionToken_ |
DTArr3mapInt | mapDTTF |
edm::ESHandle< DTGeometry > | muonGeom |
int | nevents |
edm::ParameterSet | parameters |
DTArr3int | phcode_best |
edm::EDGetTokenT< DTLocalTriggerCollection > | ros_Token_ |
edm::EDGetTokenT< DTRecSegment4DCollection > | seg_Token_ |
DTArr3int | thcode_best |
MonitorElement * | tm_IDDataErrorPlot |
edm::EDGetTokenT< L1MuDTChambPhContainer > | tm_Token_ |
edm::EDGetTokenT< L1MuDTChambThContainer > | tmTh_Token_ |
bool | tpMode |
bool | track_ok [6][5][15] |
DTTrigGeomUtils * | trigGeomUtils |
std::string | trigsrc |
bool | useDDU |
bool | useSEG |
bool | useTM |
std::map< int, std::map< std::string, MonitorElement * > > | wheelHistos |
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_, ros_Token_, seg_Token_, tm_Token_, tmTh_Token_, and tpMode.
|
override |
Destructor.
Definition at line 73 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::HandleBase::isValid(), nevents, 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, trackerHits::histo, edm::LuminosityBlockBase::id(), LogTrace, edm::LuminosityBlockID::luminosityBlock(), and genParticles_cff::map.
|
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().
|
overrideprotected |
Book the histograms.
Definition at line 88 of file DTLocalTriggerTask.cc.
References bookBarrelHistos(), bookHistos(), bookWheelHistos(), detailedAnalysis, doTMTheta, LogTrace, trackingPlots::stat, and tpMode.
|
protected |
Definition at line 319 of file DTLocalTriggerTask.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), digiHistos, printsummarytable::folder, fftjetimagerecorder_cfi::histoLabel, createfilelist::int, LogTrace, SiStripPI::max, simTrackMatching_cfi::maxBX, min(), simTrackMatching_cfi::minBX, pileupCalc::nbins, DTTrigGeomUtils::phiRange(), DetId::rawId(), mathSSE::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 490 of file DTLocalTriggerTask.cc.
References DQMStore::IBooker::bookProfile2D(), LogTrace, mathSSE::return(), MonitorElement::setAxisTitle(), DQMStore::IBooker::setCurrentFolder(), topFolder(), makeMuonMisalignmentScenario::wheel, and wheelHistos.
Referenced by bookHistograms().
|
overrideprotected |
Beginrun.
Definition at line 80 of file DTLocalTriggerTask.cc.
References edm::EventSetup::get(), muonGeom, nevents, and trigGeomUtils.
|
inlinefinalprotected |
Definition at line 102 of file DTLocalTriggerTask.h.
References MillePedeFileConverter_cfg::e, and triggerSource().
|
protected |
Run analysis on ROS data.
Definition at line 641 of file DTLocalTriggerTask.cc.
References dduphcode_best, dduthcode_best, digiHistos, mps_fire::i, iphbestddu, gen::k, jets_cff::quality, DetId::rawId(), tpMode, trigsrc, and wheelArrayShift.
Referenced by analyze().
|
protected |
Run analysis on ROS data.
Definition at line 899 of file DTLocalTriggerTask.cc.
References dduphcode_best, digiHistos, spr::find(), triggerObjects_cff::id, iphbest, iphbestddu, phcode_best, SimDataFormats::CaloAnalysis::sc, wheelArrayShift, and wheelHistos.
Referenced by analyze().
|
protected |
Run analysis using DT 4D segments.
Definition at line 717 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 514 of file DTLocalTriggerTask.cc.
References angle(), detailedAnalysis, digiHistos, doTMTheta, MonitorElement::Fill(), mps_fire::i, triggerObjects_cff::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 927 of file DTLocalTriggerTask.cc.
References MonitorElement::getTH1(), trackerHits::histo, mps_fire::i, and tablePrinter::labels.
Referenced by bookHistos().
|
protected |
Definition at line 949 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 108 of file DTLocalTriggerTask.h.
References baseFolderDDU, and baseFolderTM.
Referenced by bookBarrelHistos(), bookHistos(), and bookWheelHistos().
|
protected |
Get the L1A source.
Definition at line 973 of file DTLocalTriggerTask.cc.
References edm::Event::getByToken(), mps_fire::i, isLocalRun, ltcDigiCollectionToken_, and trigsrc.
Referenced by analyze(), and endLuminosityBlock().
|
friend |
Definition at line 55 of file DTLocalTriggerTask.h.
|
private |
Definition at line 125 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 124 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and topFolder().
|
private |
Definition at line 131 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), runDDUvsTMAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 133 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runSegmentAnalysis().
|
private |
Definition at line 127 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 143 of file DTLocalTriggerTask.h.
Referenced by beginLuminosityBlock(), bookHistos(), runDDUAnalysis(), runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 126 of file DTLocalTriggerTask.h.
Referenced by bookHistograms(), DTLocalTriggerTask(), and runTMAnalysis().
|
private |
Definition at line 135 of file DTLocalTriggerTask.h.
Referenced by runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 136 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), and runDDUvsTMAnalysis().
|
private |
Definition at line 148 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 137 of file DTLocalTriggerTask.h.
Referenced by runTMAnalysis().
|
private |
Definition at line 118 of file DTLocalTriggerTask.h.
Referenced by DTLocalTriggerTask(), and triggerSource().
|
private |
Definition at line 134 of file DTLocalTriggerTask.h.
|
private |
Definition at line 141 of file DTLocalTriggerTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 122 of file DTLocalTriggerTask.h.
Referenced by analyze(), dqmBeginRun(), and ~DTLocalTriggerTask().
|
private |
Definition at line 140 of file DTLocalTriggerTask.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 130 of file DTLocalTriggerTask.h.
Referenced by runDDUvsTMAnalysis(), runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 116 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 117 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 132 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis(), and runTMAnalysis().
|
private |
Definition at line 146 of file DTLocalTriggerTask.h.
Referenced by bookBarrelHistos(), and runTMAnalysis().
|
private |
Definition at line 114 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 115 of file DTLocalTriggerTask.h.
Referenced by analyze(), and DTLocalTriggerTask().
|
private |
Definition at line 123 of file DTLocalTriggerTask.h.
Referenced by analyze(), bookHistograms(), DTLocalTriggerTask(), runDDUAnalysis(), and runTMAnalysis().
|
private |
Definition at line 138 of file DTLocalTriggerTask.h.
Referenced by runSegmentAnalysis().
|
private |
Definition at line 142 of file DTLocalTriggerTask.h.
Referenced by bookHistos(), dqmBeginRun(), runSegmentAnalysis(), runTMAnalysis(), and ~DTLocalTriggerTask().
|
private |
Definition at line 121 of file DTLocalTriggerTask.h.
Referenced by analyze(), runDDUAnalysis(), runSegmentAnalysis(), runTMAnalysis(), and triggerSource().
|
private |
Definition at line 120 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
private |
Definition at line 120 of file DTLocalTriggerTask.h.
Referenced by analyze().
|
private |
Definition at line 120 of file DTLocalTriggerTask.h.
Referenced by analyze(), and runSegmentAnalysis().
|
protected |
Definition at line 110 of file DTLocalTriggerTask.h.
Referenced by runDDUAnalysis(), runDDUvsTMAnalysis(), and runTMAnalysis().
|
private |
Definition at line 144 of file DTLocalTriggerTask.h.
Referenced by bookWheelHistos(), and runDDUvsTMAnalysis().