#include <DTTriggerEfficiencyTest.h>
Public Member Functions | |
DTTriggerEfficiencyTest (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~DTTriggerEfficiencyTest () |
Destructor. More... | |
Public Member Functions inherited from DTLocalTriggerBaseTest | |
DTLocalTriggerBaseTest () | |
Constructor. More... | |
virtual | ~DTLocalTriggerBaseTest () |
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 | beginJob () |
BeginJob. More... | |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
BeginRun. More... | |
void | bookChambHistos (DTChamberId chambId, std::string htype, std::string folder="") |
Book the new MEs (for each chamber) More... | |
void | bookHistos (std::string hTag, std::string folder) |
Book the new MEs (global) More... | |
void | bookWheelHistos (int wheel, std::string hTag, std::string folder) |
Book the new MEs (for each wheel) More... | |
std::string | getMEName (std::string histoTag, std::string folder, int wh) |
Get the ME name (by wheel) More... | |
void | makeEfficiencyME (TH2F *numerator, TH2F *denominator, MonitorElement *result2DWh, MonitorElement *result1DWh, MonitorElement *result1D) |
Compute 1D/2D efficiency plots. More... | |
void | makeEfficiencyME (TH2F *numerator, TH2F *denominator, MonitorElement *result2DWh) |
Compute 2D efficiency plots. More... | |
void | runClientDiagnostic () |
DQM Client Diagnostic. More... | |
Protected Member Functions inherited from DTLocalTriggerBaseTest | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) |
Perform begin lumiblock operations. More... | |
void | bookCmsHistos (std::string hTag, std::string folder="", bool isGlb=false) |
Book the new MEs (CMS summary) More... | |
void | bookSectorHistos (int wheel, int sector, std::string hTag, std::string folder="") |
Book the new MEs (for each sector) More... | |
void | bookWheelHistos (int wheel, std::string hTag, std::string folder="") |
Book the new MEs (for each wheel) More... | |
std::string | category () |
Get message logger name. More... | |
void | endJob () |
EndJob. More... | |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) |
Perform client diagnostic in online. More... | |
void | endRun (edm::Run const &run, edm::EventSetup const &context) |
Perform client diagnostic in offline. More... | |
std::string | fullName (std::string htype) |
Create fullname from histo partial name. More... | |
template<class T > | |
T * | getHisto (MonitorElement *me) |
Convert ME to Histogram fo type T. More... | |
std::string | getMEName (std::string histoTag, std::string subfolder, const DTChamberId &chambid) |
Get the ME name (by chamber) More... | |
std::string | getMEName (std::string histoTag, std::string subfolder, int wh) |
Get the ME name (by wheel) More... | |
std::pair< float, float > | phiRange (const DTChamberId &id) |
Calculate phi range for histograms. More... | |
void | setConfig (const edm::ParameterSet &ps, std::string name) |
Set configuration variables. More... | |
std::string & | topFolder (bool isDCC) |
Get top folder name. 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 * > > | chambME |
bool | detailedPlots |
std::map< int, std::map < std::string, MonitorElement * > > | EffDistrPerWh |
std::map< std::string, MonitorElement * > | globalEffDistr |
DTTrigGeomUtils * | trigGeomUtils |
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 &) |
Protected Attributes inherited from DTLocalTriggerBaseTest | |
std::string | baseFolderDCC |
std::string | baseFolderDDU |
std::map< std::string, MonitorElement * > | cmsME |
DQMStore * | dbe |
std::string | hwSource |
std::vector< std::string > | hwSources |
edm::ESHandle< DTGeometry > | muonGeom |
int | nevents |
unsigned int | nLumiSegs |
edm::ParameterSet | parameters |
int | prescaleFactor |
int | run |
bool | runOnline |
std::map< int, std::map < std::string, MonitorElement * > > | secME |
std::string | sourceFolder |
std::string | testName |
std::string | trigSource |
std::vector< std::string > | trigSources |
std::map< int, std::map < std::string, MonitorElement * > > | whME |
DQM Test Client
Definition at line 22 of file DTTriggerEfficiencyTest.h.
DTTriggerEfficiencyTest::DTTriggerEfficiencyTest | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 39 of file DTTriggerEfficiencyTest.cc.
References edm::ParameterSet::getUntrackedParameter().
|
virtual |
|
protectedvirtual |
BeginJob.
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 54 of file DTTriggerEfficiencyTest.cc.
References DTLocalTriggerBaseTest::beginJob().
|
protectedvirtual |
BeginRun.
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 61 of file DTTriggerEfficiencyTest.cc.
References DTLocalTriggerBaseTest::beginRun(), bookHistos(), and Parameters::parameters.
|
protected |
Book the new MEs (for each chamber)
Definition at line 315 of file DTTriggerEfficiencyTest.cc.
References python.rootplot.argparse::category, newFWLiteAna::fullName, LogTrace, edm::max(), edm::min(), pileupCalc::nbins, DetId::rawId(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, and DTChamberId::wheel().
|
protected |
Book the new MEs (global)
Definition at line 241 of file DTTriggerEfficiencyTest.cc.
References newFWLiteAna::fullName.
|
protected |
Book the new MEs (for each wheel)
Definition at line 260 of file DTTriggerEfficiencyTest.cc.
References python.rootplot.argparse::category, newFWLiteAna::fullName, LogTrace, MonitorElement::setAxisTitle(), and MonitorElement::setBinLabel().
|
protected |
Get the ME name (by wheel)
Definition at line 228 of file DTTriggerEfficiencyTest.cc.
References newFWLiteAna::fullName.
|
protected |
Compute 1D/2D efficiency plots.
Definition at line 173 of file DTTriggerEfficiencyTest.cc.
References postValidation_cfi::efficiency, error, MonitorElement::Fill(), MonitorElement::getTH2F(), and mathSSE::sqrt().
|
protected |
Compute 2D efficiency plots.
Definition at line 202 of file DTTriggerEfficiencyTest.cc.
References postValidation_cfi::efficiency, error, MonitorElement::getTH2F(), and mathSSE::sqrt().
|
protectedvirtual |
DQM Client Diagnostic.
Implements DTLocalTriggerBaseTest.
Definition at line 101 of file DTTriggerEfficiencyTest.cc.
References bookHistos(), spr::find(), newFWLiteAna::fullName, DetId::rawId(), and edm::second().
|
private |
Definition at line 67 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 69 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 66 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 65 of file DTTriggerEfficiencyTest.h.
|
private |
Definition at line 68 of file DTTriggerEfficiencyTest.h.