#include <DTTriggerEfficiencyTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
To reset the MEs. More... | |
void | beginRun (const edm::Run &run, const edm::EventSetup &context) |
BeginRun. More... | |
void | bookChamberHistos (const DTChamberId &dtCh, std::string histoTag, std::string folder="") |
Book chamber granularity histograms. More... | |
void | bookWheelHistos (int wheel, std::string histoTag, std::string folder="") |
Book wheel granularity histograms. More... | |
void | endJob (void) |
EndJob. 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 |
DQMStore * | dbe |
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 | processDCC |
bool | processDDU |
std::vector< std::string > | processTags |
std::string | SegmArbitration |
DTTrigGeomUtils * | trigGeomUtils |
std::map< int, std::map < std::string, MonitorElement * > > | wheelHistos |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 44 of file DTTriggerEfficiencyTask.h.
DTTriggerEfficiencyTask::DTTriggerEfficiencyTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 43 of file DTTriggerEfficiencyTask.cc.
References dbe, dcc_Token_, ddu_Token_, detailedPlots, edm::ParameterSet::getUntrackedParameter(), gmt_Token_, inputTagSEG, LogTrace, maxBXDDU, minBXDDU, muons_Token_, nMinHitsPhi, cppFunctionSkipper::operator, parameters, phiAccRange, processDCC, processDDU, processTags, SegmArbitration, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 130 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, DetId::rawId(), SegmArbitration, relativeConstraints::station, trigGeomUtils, wheelHistos, x, xdir, detailsBasic3DVector::y, and ydir.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 84 of file DTTriggerEfficiencyTask.cc.
References LogTrace.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 116 of file DTTriggerEfficiencyTask.cc.
References LogTrace.
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 90 of file DTTriggerEfficiencyTask.cc.
References bookChamberHistos(), bookWheelHistos(), detailedPlots, DTChamberId, edm::EventSetup::get(), LogTrace, muonGeom, nevents, processTags, and trigGeomUtils.
|
protected |
Book chamber granularity histograms.
Definition at line 308 of file DTTriggerEfficiencyTask.cc.
References DQMStore::book2D(), chamberHistos, dbe, LogTrace, max(), bookConverter::min, pileupCalc::nbins, DTTrigGeomUtils::phiRange(), DetId::rawId(), DTChamberId::sector(), DQMStore::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, topFolder(), trigGeomUtils, and DTChamberId::wheel().
Referenced by beginRun().
|
protected |
Book wheel granularity histograms.
Definition at line 347 of file DTTriggerEfficiencyTask.cc.
References DQMStore::book2D(), dbe, LogTrace, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), topFolder(), and wheelHistos.
Referenced by beginRun().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 123 of file DTTriggerEfficiencyTask.cc.
|
protected |
checks for RPC Triggers
Definition at line 279 of file DTTriggerEfficiencyTask.cc.
References edm::Event::getByToken(), and gmt_Token_.
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 106 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookChamberHistos().
|
private |
Definition at line 102 of file DTTriggerEfficiencyTask.h.
Referenced by bookChamberHistos(), bookWheelHistos(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 97 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 98 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 89 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginRun(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 100 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask(), and hasRPCTriggers().
|
private |
Definition at line 99 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 91 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 91 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 104 of file DTTriggerEfficiencyTask.h.
Referenced by beginRun().
|
private |
Definition at line 96 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 85 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginRun(), endJob(), and ~DTTriggerEfficiencyTask().
|
private |
Definition at line 94 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 103 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 93 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 89 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 89 of file DTTriggerEfficiencyTask.h.
Referenced by DTTriggerEfficiencyTask().
|
private |
Definition at line 90 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginRun(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 87 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 105 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginRun(), and bookChamberHistos().
|
private |
Definition at line 107 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookWheelHistos().