#include <DTTriggerEfficiencyTask.h>
Public Member Functions | |
DTTriggerEfficiencyTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~DTTriggerEfficiencyTask () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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 |
bool | detailedPlots |
edm::InputTag | inputTagDCC |
edm::InputTag | inputTagDDU |
edm::InputTag | inputTagGMT |
edm::InputTag | inputTagMuons |
edm::InputTag | inputTagSEG |
int | maxBXDDU |
int | minBXDDU |
edm::ESHandle< DTGeometry > | muonGeom |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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 43 of file DTTriggerEfficiencyTask.h.
DTTriggerEfficiencyTask::DTTriggerEfficiencyTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 48 of file DTTriggerEfficiencyTask.cc.
References dbe, LogTrace, cppFunctionSkipper::operator, and parameters.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 132 of file DTTriggerEfficiencyTask.cc.
References reco::MuonSegmentMatch::BelongsToTrackByCleaning, reco::MuonSegmentMatch::BelongsToTrackByDR, reco::MuonSegmentMatch::BestInChamberByDR, chamberHistos, DTTrigGeomUtils::computeSCCoordinates(), detailedPlots, MuonSubdetId::DT, edm::Event::getByLabel(), hasRPCTriggers(), inputTagDCC, inputTagDDU, inputTagMuons, RPCpg::mu, patZpeak::muons, 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 65 of file DTTriggerEfficiencyTask.cc.
References detailedPlots, edm::ParameterSet::getUntrackedParameter(), inputTagDCC, inputTagDDU, inputTagGMT, inputTagMuons, inputTagSEG, LogTrace, maxBXDDU, minBXDDU, nMinHitsPhi, parameters, phiAccRange, processDCC, processDDU, processTags, SegmArbitration, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 118 of file DTTriggerEfficiencyTask.cc.
References LogTrace.
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 92 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 310 of file DTTriggerEfficiencyTask.cc.
References DQMStore::book2D(), chamberHistos, dbe, LogTrace, max(), 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 349 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 125 of file DTTriggerEfficiencyTask.cc.
|
protected |
checks for RPC Triggers
Definition at line 281 of file DTTriggerEfficiencyTask.cc.
References edm::Event::getByLabel(), and inputTagGMT.
Referenced by analyze().
|
inlineprotected |
return the top folder
Definition at line 71 of file DTTriggerEfficiencyTask.h.
Referenced by bookChamberHistos(), and bookWheelHistos().
|
private |
Definition at line 107 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookChamberHistos().
|
private |
Definition at line 103 of file DTTriggerEfficiencyTask.h.
Referenced by bookChamberHistos(), bookWheelHistos(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 88 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 97 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 98 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 101 of file DTTriggerEfficiencyTask.h.
Referenced by beginJob(), and hasRPCTriggers().
|
private |
Definition at line 95 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 99 of file DTTriggerEfficiencyTask.h.
Referenced by beginJob().
|
private |
Definition at line 90 of file DTTriggerEfficiencyTask.h.
Referenced by beginJob().
|
private |
Definition at line 90 of file DTTriggerEfficiencyTask.h.
Referenced by beginJob().
|
private |
Definition at line 105 of file DTTriggerEfficiencyTask.h.
Referenced by beginRun().
|
private |
Definition at line 84 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginRun(), endJob(), and ~DTTriggerEfficiencyTask().
|
private |
Definition at line 93 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 104 of file DTTriggerEfficiencyTask.h.
Referenced by beginJob(), DTTriggerEfficiencyTask(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 92 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 88 of file DTTriggerEfficiencyTask.h.
Referenced by beginJob().
|
private |
Definition at line 88 of file DTTriggerEfficiencyTask.h.
Referenced by beginJob().
|
private |
Definition at line 89 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginJob(), and beginRun().
|
private |
Definition at line 86 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 106 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginRun(), and bookChamberHistos().
|
private |
Definition at line 108 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookWheelHistos().