#include <DTLocalTriggerBaseTest.h>
Public Member Functions | |
DTLocalTriggerBaseTest () | |
Constructor. More... | |
virtual | ~DTLocalTriggerBaseTest () |
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 () |
BeginJob. More... | |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) |
Perform begin lumiblock operations. More... | |
void | beginRun (edm::Run const &run, edm::EventSetup const &context) |
BeginRun. 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... | |
virtual void | runClientDiagnostic ()=0 |
Perform client analysis. 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 | |
CurrentProcessingContext const * | currentContext () const |
Protected Attributes | |
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 |
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 &) |
DQM Base for TriggerTests
Definition at line 39 of file DTLocalTriggerBaseTest.h.
|
inline |
|
virtual |
Destructor.
Definition at line 36 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, and nevents.
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 67 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, LogTrace, and nevents.
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Reimplemented in DTTriggerEfficiencyTest, DTLocalTriggerSynchTest, DTLocalTriggerLutTest, DTTriggerLutTest, DTLocalTriggerTest, and DTLocalTriggerTPTest.
Definition at line 42 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, and nevents.
Referenced by DTLocalTriggerTest::beginJob(), DTLocalTriggerTPTest::beginJob(), DTLocalTriggerLutTest::beginJob(), DTTriggerLutTest::beginJob(), and DTTriggerEfficiencyTest::beginJob().
|
protectedvirtual |
Perform begin lumiblock operations.
Reimplemented from edm::EDAnalyzer.
Definition at line 57 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, LogTrace, edm::LuminosityBlockBase::run(), and DTTTrigCorrFirst::run.
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Reimplemented in DTTriggerEfficiencyTest, DTLocalTriggerSynchTest, DTLocalTriggerEfficiencyTest, DTLocalTriggerLutTest, DTTriggerLutTest, DTLocalTriggerTest, and DTLocalTriggerTPTest.
Definition at line 50 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, and edm::EventSetup::get().
Referenced by DTLocalTriggerTest::beginRun(), DTLocalTriggerTPTest::beginRun(), DTLocalTriggerLutTest::beginRun(), DTTriggerLutTest::beginRun(), DTLocalTriggerEfficiencyTest::beginRun(), DTFineDelayCorr::beginRun(), DTLocalTriggerSynchTest::beginRun(), and DTTriggerEfficiencyTest::beginRun().
|
protected |
Book the new MEs (CMS summary)
Definition at line 262 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, newFWLiteAna::fullName, LogTrace, and MonitorElement::setAxisTitle().
|
protected |
Book the new MEs (for each sector)
Definition at line 200 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, newFWLiteAna::fullName, LogTrace, and MonitorElement::setBinLabel().
Referenced by DTLocalTriggerEfficiencyTest::beginRun(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Book the new MEs (for each wheel)
Definition at line 282 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, newFWLiteAna::fullName, LogTrace, MonitorElement::setAxisTitle(), and MonitorElement::setBinLabel().
Referenced by DTLocalTriggerEfficiencyTest::beginRun(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
inlineprotected |
Get message logger name.
Definition at line 112 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Reimplemented in DTLocalTriggerSynchTest.
Definition at line 91 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, and LogTrace.
Referenced by DTFineDelayCorr::endJob(), and DTLocalTriggerSynchTest::endJob().
|
protectedvirtual |
Perform client diagnostic in online.
Reimplemented from edm::EDAnalyzer.
Definition at line 75 of file DTLocalTriggerBaseTest.cc.
References dtDQMClient_cfg::prescaleFactor.
|
protectedvirtual |
Perform client diagnostic in offline.
Reimplemented from edm::EDAnalyzer.
Definition at line 98 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, and LogTrace.
|
protected |
Create fullname from histo partial name.
Definition at line 136 of file DTLocalTriggerBaseTest.cc.
Referenced by valtools.benchmark::benchmarkOnWebSite(), DTLocalTriggerEfficiencyTest::bookChambHistos(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Convert ME to Histogram fo type T.
Definition at line 141 of file DTLocalTriggerBaseTest.h.
References MonitorElement::getRootObject().
|
protected |
Get the ME name (by chamber)
Referenced by DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Get the ME name (by wheel)
|
protected |
Calculate phi range for histograms.
Definition at line 333 of file DTLocalTriggerBaseTest.cc.
References DTLayerId, DTTopology::firstChannel(), DTTopology::lastChannel(), edm::max(), edm::min(), GeomDet::position(), DTLayer::specificTopology(), GeomDet::toLocal(), DTTopology::wirePosition(), and vdt::x.
|
protectedpure virtual |
Perform client analysis.
Implemented in DTTriggerEfficiencyTest, DTLocalTriggerSynchTest, DTFineDelayCorr, DTLocalTriggerEfficiencyTest, DTLocalTriggerLutTest, DTTriggerLutTest, DTLocalTriggerTest, and DTLocalTriggerTPTest.
|
protected |
Set configuration variables.
Definition at line 110 of file DTLocalTriggerBaseTest.cc.
References python.rootplot.argparse::category, edm::ParameterSet::getUntrackedParameter(), LogTrace, mergeVDriftHistosByStation::name, nevents, cppFunctionSkipper::operator, Parameters::parameters, and dtDQMClient_cfg::prescaleFactor.
Referenced by DTLocalTriggerEfficiencyTest::DTLocalTriggerEfficiencyTest().
|
inlineprotected |
Get top folder name.
Definition at line 109 of file DTLocalTriggerBaseTest.h.
References baseFolderDCC, and baseFolderDDU.
Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos().
|
protected |
Definition at line 128 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::DTLocalTriggerEfficiencyTest(), and topFolder().
|
protected |
Definition at line 129 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::DTLocalTriggerEfficiencyTest(), and topFolder().
|
protected |
Definition at line 135 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 124 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Definition at line 131 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::beginRun(), DTLocalTriggerEfficiencyTest::bookChambHistos(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Definition at line 122 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::beginRun(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Definition at line 132 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::beginRun().
|
protected |
Definition at line 112 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 117 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 126 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::beginRun(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
protected |
Definition at line 118 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 119 of file DTLocalTriggerBaseTest.h.
Referenced by generateEDF.LumiInfo::__str__(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), generateEDF.LumiInfo::fixXingInfo(), and dqm_interfaces.DirWalkerFile::walk().
|
protected |
Definition at line 127 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 133 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Definition at line 125 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 120 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos().
|
protected |
Definition at line 130 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::beginRun(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Definition at line 121 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::beginRun(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Definition at line 134 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::runClientDiagnostic().