#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 () |
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 (bool source) |
return the top folder 0=DDU 1=DCC More... | |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Private Attributes | |
std::map< uint32_t, std::map < std::string, MonitorElement * > > | chamberHistos |
DQMStore * | dbe |
bool | detailedPlots |
int | maxBXDDU |
int | minBXDDU |
edm::ESHandle< DTGeometry > | muonGeom |
int | nevents |
edm::ParameterSet | parameters |
const L1MuDTChambPhDigi * | phBestDCC [6][5][13] |
const DTLocalTrigger * | phBestDDU [6][5][13] |
int | phCodeBestDCC [6][5][13] |
int | phCodeBestDDU [6][5][13] |
bool | processDCC |
bool | processDDU |
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) |
Definition at line 45 of file DTTriggerEfficiencyTask.h.
DTTriggerEfficiencyTask::DTTriggerEfficiencyTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 46 of file DTTriggerEfficiencyTask.cc.
References dbe, LogTrace, cmsCodeRules.cppFunctionSkipper::operator, and parameters.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 135 of file DTTriggerEfficiencyTask.cc.
References DTLocalTrigger::bx(), chamberHistos, DTRecSegment4D::chamberId(), DTTrigGeomUtils::computeSCCoordinates(), detailedPlots, edm::Event::getByLabel(), edm::ParameterSet::getUntrackedParameter(), hasRPCTriggers(), i, ExpressReco_HICollisions_FallBack::inputTagDCC, ExpressReco_HICollisions_FallBack::inputTagDDU, ExpressReco_HICollisions_FallBack::inputTagSEG, j, gen::k, maxBXDDU, minBXDDU, nevents, parameters, phBestDCC, phBestDDU, phCodeBestDCC, phCodeBestDDU, processDCC, processDDU, DetId::rawId(), DTChamberId::sector(), relativeConstraints::station, ExpressReco_HICollisions_FallBack::track, trigGeomUtils, DTChamberId::wheel(), wheelHistos, ExpressReco_HICollisions_FallBack::x, xdir, ExpressReco_HICollisions_FallBack::y, and ydir.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 63 of file DTTriggerEfficiencyTask.cc.
References bookChamberHistos(), bookWheelHistos(), detailedPlots, edm::ParameterSet::getUntrackedParameter(), LogTrace, maxBXDDU, minBXDDU, nevents, parameters, processDCC, and processDDU.
|
protectedvirtual |
To reset the MEs.
Reimplemented from edm::EDAnalyzer.
Definition at line 119 of file DTTriggerEfficiencyTask.cc.
References LogTrace.
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 110 of file DTTriggerEfficiencyTask.cc.
References edm::EventSetup::get(), LogTrace, muonGeom, and trigGeomUtils.
|
protected |
Book chamber granularity histograms.
Definition at line 336 of file DTTriggerEfficiencyTask.cc.
References DQMStore::book2D(), chamberHistos, dbe, LogTrace, max(), min, ExpressReco_HICollisions_FallBack::nbins, DTTrigGeomUtils::phiRange(), DetId::rawId(), mathSSE::return(), DTChamberId::sector(), DQMStore::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, topFolder(), trigGeomUtils, and DTChamberId::wheel().
Referenced by beginJob().
|
protected |
Book wheel granularity histograms.
Definition at line 367 of file DTTriggerEfficiencyTask.cc.
References DQMStore::book2D(), dbe, LogTrace, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), topFolder(), and wheelHistos.
Referenced by beginJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 126 of file DTTriggerEfficiencyTask.cc.
|
protected |
checks for RPC Triggers
Definition at line 311 of file DTTriggerEfficiencyTask.cc.
References edm::Event::getByLabel(), edm::ParameterSet::getUntrackedParameter(), ExpressReco_HICollisions_FallBack::inputTagGMT, and parameters.
Referenced by analyze().
|
inlineprotected |
return the top folder 0=DDU 1=DCC
Definition at line 73 of file DTTriggerEfficiencyTask.h.
Referenced by bookChamberHistos(), and bookWheelHistos().
|
private |
Definition at line 100 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookChamberHistos().
|
private |
Definition at line 96 of file DTTriggerEfficiencyTask.h.
Referenced by bookChamberHistos(), bookWheelHistos(), and DTTriggerEfficiencyTask().
|
private |
Definition at line 88 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 89 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 89 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 98 of file DTTriggerEfficiencyTask.h.
Referenced by beginRun().
|
private |
Definition at line 86 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginJob(), endJob(), and ~DTTriggerEfficiencyTask().
|
private |
Definition at line 97 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginJob(), DTTriggerEfficiencyTask(), hasRPCTriggers(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 93 of file DTTriggerEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 94 of file DTTriggerEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 91 of file DTTriggerEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 92 of file DTTriggerEfficiencyTask.h.
Referenced by analyze().
|
private |
Definition at line 88 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 88 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 99 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), beginRun(), and bookChamberHistos().
|
private |
Definition at line 101 of file DTTriggerEfficiencyTask.h.
Referenced by analyze(), and bookWheelHistos().