#include <DTTriggerEfficiencyTask.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 | 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 &) |
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 |
edm::EDGetTokenT < L1MuDTChambPhContainer > | dcc_Token_ |
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 |
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 dcc_Token_, ddu_Token_, detailedPlots, edm::ParameterSet::getUntrackedParameter(), gmt_Token_, inputTagSEG, LogTrace, maxBXDDU, minBXDDU, muons_Token_, nMinHitsPhi, parameters, phiAccRange, processDDU, processTags, processTM, SegmArbitration, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::stream::EDAnalyzerBase.
Definition at line 121 of file DTTriggerEfficiencyTask.cc.
References reco::MuonSegmentMatch::BelongsToTrackByCleaning, reco::MuonSegmentMatch::BelongsToTrackByDR, reco::MuonSegmentMatch::BestInChamberByDR, chamberHistos, DTTrigGeomUtils::computeSCCoordinates(), dcc_Token_, ddu_Token_, detailedPlots, MuonSubdetId::DT, edm::Event::getByToken(), hasRPCTriggers(), RPCpg::mu, patZpeak::muons, muons_Token_, nevents, nMinHitsPhi, phiAccRange, processTags, HLT_25ns10e33_v2_cff::quality, DetId::rawId(), SegmArbitration, relativeConstraints::station, trigGeomUtils, wheelHistos, x, xdir, y, and ydir.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 115 of file DTTriggerEfficiencyTask.cc.
References LogTrace.
|
protected |
Book chamber granularity histograms.
Definition at line 299 of file DTTriggerEfficiencyTask.cc.
References DQMStore::IBooker::book2D(), chamberHistos, LogTrace, bookConverter::max, min(), pileupCalc::nbins, DTTrigGeomUtils::phiRange(), DetId::rawId(), DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, topFolder(), trigGeomUtils, and DTChamberId::wheel().
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 90 of file DTTriggerEfficiencyTask.cc.
References bookChamberHistos(), bookWheelHistos(), detailedPlots, DTChamberId, LogTrace, nevents, and processTags.
|
protected |
Book wheel granularity histograms.
Definition at line 342 of file DTTriggerEfficiencyTask.cc.
References DQMStore::IBooker::book2D(), LogTrace, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), topFolder(), and wheelHistos.
Referenced by bookHistograms().
|
protectedvirtual |
BeginRun.
Reimplemented from DQMEDAnalyzer.
Definition at line 82 of file DTTriggerEfficiencyTask.cc.
References edm::EventSetup::get(), muonGeom, and trigGeomUtils.
|
protected |
checks for RPC Triggers
Definition at line 270 of file DTTriggerEfficiencyTask.cc.
References edm::Event::getByToken(), gmt_Token_, and HLT_25ns10e33_v2_cff::quality.
Referenced by analyze().
|
inlineprotected |
return the top folder
Definition at line 72 of file DTTriggerEfficiencyTask.h.
Referenced by bookChamberHistos(), and bookWheelHistos().
|
private |
Definition at line 102 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookChamberHistos().
|
private |
Definition at line 94 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 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().