#include <DTTriggerEfficiencyTask.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 | bookChamberHistos (DQMStore::IBooker &ibooker, const DTChamberId &dtCh, std::string histoTag, std::string folder="") |
Book chamber granularity histograms. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | bookWheelHistos (DQMStore::IBooker &ibooker, int wheel, std::string histoTag, std::string folder="") |
Book wheel granularity histograms. More... | |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
BeginRun. More... | |
bool | hasRPCTriggers (const edm::Event &e) |
checks for RPC Triggers More... | |
std::string | topFolder (std::string source) |
return the top folder 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 Attributes | |
std::map< uint32_t, std::map< std::string, MonitorElement * > > | chamberHistos |
bool | checkRPCtriggers |
edm::EDGetTokenT< DTLocalTriggerCollection > | ddu_Token_ |
bool | detailedPlots |
edm::EDGetTokenT< L1MuGMTReadoutCollection > | gmt_Token_ |
edm::InputTag | inputTagSEG |
int | maxBXDDU |
int | minBXDDU |
edm::ESHandle< DTGeometry > | muonGeom |
edm::EDGetTokenT< reco::MuonCollection > | muons_Token_ |
int | nevents |
int | nMinHitsPhi |
edm::ParameterSet | parameters |
float | phiAccRange |
bool | processDDU |
std::vector< std::string > | processTags |
bool | processTM |
std::string | SegmArbitration |
edm::EDGetTokenT< L1MuDTChambPhContainer > | tm_Token_ |
DTTrigGeomUtils * | trigGeomUtils |
std::map< int, std::map< std::string, MonitorElement * > > | wheelHistos |
Definition at line 45 of file DTTriggerEfficiencyTask.h.
DTTriggerEfficiencyTask::DTTriggerEfficiencyTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 43 of file DTTriggerEfficiencyTask.cc.
References checkRPCtriggers, ddu_Token_, detailedPlots, edm::ParameterSet::getUntrackedParameter(), gmt_Token_, inputTagSEG, LogTrace, maxBXDDU, minBXDDU, muons_Token_, nMinHitsPhi, parameters, phiAccRange, processDDU, processTags, processTM, SegmArbitration, AlCaHLTBitMon_QueryRunRegistry::string, and tm_Token_.
|
virtual |
|
overrideprotected |
Analyze.
Definition at line 121 of file DTTriggerEfficiencyTask.cc.
References reco::MuonSegmentMatch::BelongsToTrackByCleaning, reco::MuonSegmentMatch::BelongsToTrackByDR, reco::MuonSegmentMatch::BestInChamberByDR, relativeConstraints::chamber, chamberHistos, checkRPCtriggers, DTTrigGeomUtils::computeSCCoordinates(), ddu_Token_, detailedPlots, MuonSubdetId::DT, edm::Event::getByToken(), L1MuDTChambPhContainer::getContainer(), hasRPCTriggers(), hcalTTPDigis_cfi::id, RPCpg::mu, electronCleaner_cfi::muons, muons_Token_, nevents, nMinHitsPhi, phiAccRange, processTags, btvTracks_cfi::quality, DetId::rawId(), SegmArbitration, relativeConstraints::station, tm_Token_, trigGeomUtils, makeMuonMisalignmentScenario::wheel, wheelHistos, x, xdir, y, and ydir.
Referenced by topFolder().
|
overrideprotected |
To reset the MEs.
Definition at line 115 of file DTTriggerEfficiencyTask.cc.
References LogTrace.
Referenced by topFolder().
|
protected |
Book chamber granularity histograms.
Definition at line 295 of file DTTriggerEfficiencyTask.cc.
References DQMStore::IBooker::book2D(), chamberHistos, PFMuonValidation_cff::folder, fftjetimagerecorder_cfi::histoLabel, LogTrace, hpstanc_transforms::max, min(), pileupCalc::nbins, DTTrigGeomUtils::phiRange(), DetId::rawId(), SimDataFormats::CaloAnalysis::sc, DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, topFolder(), trigGeomUtils, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 91 of file DTTriggerEfficiencyTask.cc.
References bookChamberHistos(), bookWheelHistos(), detailedPlots, LogTrace, nevents, processTags, and trackingPlots::stat.
|
protected |
Book wheel granularity histograms.
Definition at line 338 of file DTTriggerEfficiencyTask.cc.
References DQMStore::IBooker::book2D(), LogTrace, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), topFolder(), makeMuonMisalignmentScenario::wheel, and wheelHistos.
Referenced by bookHistograms().
|
overrideprotected |
BeginRun.
Definition at line 83 of file DTTriggerEfficiencyTask.cc.
References edm::EventSetup::get(), muonGeom, and trigGeomUtils.
|
protected |
checks for RPC Triggers
Definition at line 266 of file DTTriggerEfficiencyTask.cc.
References edm::Event::getByToken(), L1MuGMTReadoutCollection::getRecords(), gmt_Token_, and btvTracks_cfi::quality.
Referenced by analyze().
|
inlineprotected |
return the top folder
Definition at line 72 of file DTTriggerEfficiencyTask.h.
References analyze(), beginLuminosityBlock(), and EnergyCorrector::c.
Referenced by bookChamberHistos(), and bookWheelHistos().
|
private |
Definition at line 102 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookChamberHistos().
|
private |
Definition at line 86 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 95 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 86 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), bookHistograms(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 97 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask(), and hasRPCTriggers().
|
private |
Definition at line 96 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 88 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 88 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 100 of file DTTriggerEfficiencyTask.h.
Referenced by dqmBeginRun().
|
private |
Definition at line 93 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 82 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), bookHistograms(), and ~DTTriggerEfficiencyTask().
|
private |
Definition at line 91 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 99 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 90 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 86 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 87 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), bookHistograms(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 86 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 84 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 94 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 101 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), bookChamberHistos(), and dqmBeginRun().
|
private |
Definition at line 103 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookWheelHistos().