#include <DTLocalTriggerBaseTest.h>
Protected Member Functions | |
void | beginRun (edm::Run const &run, edm::EventSetup const &context) override |
BeginRun. More... | |
void | bookCmsHistos (DQMStore::IBooker &, std::string hTag, std::string folder="", bool isGlb=false) |
Book the new MEs (CMS summary) More... | |
void | bookSectorHistos (DQMStore::IBooker &, int wheel, int sector, std::string hTag, std::string folder="") |
Book the new MEs (for each sector) More... | |
void | bookWheelHistos (DQMStore::IBooker &, 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 | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
Perform client diagnostic in online. More... | |
void | endRun (edm::Run const &run, edm::EventSetup const &context) override |
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 (DQMStore::IBooker &, DQMStore::IGetter &)=0 |
Perform client analysis. More... | |
void | setConfig (const edm::ParameterSet &ps, std::string name) |
Set configuration variables. More... | |
std::string & | topFolder () |
Get top folder name. More... | |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Protected Attributes | |
std::string | baseFolderTM |
std::map< std::string, MonitorElement * > | cmsME |
std::string | hwSource |
std::vector< std::string > | hwSources |
const DTGeometry * | muonGeom |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
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 |
Protected Attributes inherited from DQMEDHarvester | |
DQMStore * | dqmstore_ |
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
edm::EDPutTokenT< DQMToken > | jobToken_ |
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::GetterOfProducts< DQMToken > | runmegetter_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Additional Inherited Members | |
Public Types inherited from DQMEDHarvester | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
DQM Base for TriggerTests
threadsafe version (//-) oct/nov 2014 - WATWanAbdullah ncpp-um-my
Definition at line 38 of file DTLocalTriggerBaseTest.h.
|
inline |
Constructor.
Definition at line 41 of file DTLocalTriggerBaseTest.h.
|
override |
Destructor.
Definition at line 32 of file DTLocalTriggerBaseTest.cc.
References validateAlignments::category, createIOVlist::nevents, and L1TBPTX_cfi::testName.
|
overrideprotected |
BeginRun.
Definition at line 36 of file DTLocalTriggerBaseTest.cc.
References validateAlignments::category, visDQMUpload::context, createIOVlist::nevents, and L1TBPTX_cfi::testName.
Referenced by DTLocalTriggerTest::beginRun(), DTLocalTriggerLutTest::beginRun(), DTLocalTriggerTPTest::beginRun(), DTTriggerLutTest::beginRun(), DTLocalTriggerEfficiencyTest::beginRun(), DTLocalTriggerSynchTest::beginRun(), and DTTriggerEfficiencyTest::beginRun().
|
protected |
Book the new MEs (CMS summary)
Definition at line 193 of file DTLocalTriggerBaseTest.cc.
References mkLumiAveragedPlots::basedir, dqm::implementation::IBooker::book2D(), validateAlignments::category, printsummarytable::folder, newFWLiteAna::fullName, LogTrace, hlt_dqm_clientPB-live_cfg::me, dqm::implementation::NavigatorBase::setCurrentFolder(), and L1TBPTX_cfi::testName.
|
protected |
Book the new MEs (for each sector)
Definition at line 133 of file DTLocalTriggerBaseTest.cc.
References mkLumiAveragedPlots::basedir, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), validateAlignments::category, printsummarytable::folder, newFWLiteAna::fullName, LogTrace, hlt_dqm_clientPB-live_cfg::me, nano_mu_digi_cff::sector, dqm::implementation::NavigatorBase::setCurrentFolder(), L1TBPTX_cfi::testName, and makeMuonMisalignmentScenario::wheel.
Referenced by DTLocalTriggerEfficiencyTest::Bookings(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Book the new MEs (for each wheel)
Definition at line 210 of file DTLocalTriggerBaseTest.cc.
References mkLumiAveragedPlots::basedir, dqm::implementation::IBooker::book2D(), validateAlignments::category, printsummarytable::folder, newFWLiteAna::fullName, LogTrace, hlt_dqm_clientPB-live_cfg::me, dqm::implementation::NavigatorBase::setCurrentFolder(), L1TBPTX_cfi::testName, and makeMuonMisalignmentScenario::wheel.
Referenced by DTLocalTriggerEfficiencyTest::Bookings(), and DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
inlineprotected |
Get message logger name.
Definition at line 96 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), DTLocalTriggerSynchTest::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndLuminosityBlock(), DTLocalTriggerSynchTest::getFloatFromME(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
overrideprotectedvirtual |
Implements DQMEDHarvester.
Reimplemented in DTLocalTriggerSynchTest.
Definition at line 64 of file DTLocalTriggerBaseTest.cc.
References validateAlignments::category, LogTrace, dtDQMOfflineClients_cff::runOnline, and L1TBPTX_cfi::testName.
Referenced by DTLocalTriggerSynchTest::dqmEndJob().
|
overrideprotectedvirtual |
Perform client diagnostic in online.
Reimplemented from DQMEDHarvester.
Reimplemented in DTLocalTriggerSynchTest.
Definition at line 44 of file DTLocalTriggerBaseTest.cc.
References Skims_PDWG_cff::prescaleFactor, dtDQMOfflineClients_cff::runOnline, and L1TBPTX_cfi::testName.
|
overrideprotected |
Perform client diagnostic in offline.
Definition at line 73 of file DTLocalTriggerBaseTest.cc.
References validateAlignments::category, LogTrace, and L1TBPTX_cfi::testName.
|
protected |
Create fullname from histo partial name.
Definition at line 98 of file DTLocalTriggerBaseTest.cc.
References dtFineDelayCorr_cfi::hwSource.
Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
protected |
Convert ME to Histogram fo type T.
Definition at line 121 of file DTLocalTriggerBaseTest.h.
References hlt_dqm_clientPB-live_cfg::me.
|
protected |
Get the ME name (by chamber)
Referenced by DTLocalTriggerSynchTest::dqmEndJob(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
protected |
Get the ME name (by wheel)
|
protected |
Calculate phi range for histograms.
Definition at line 258 of file DTLocalTriggerBaseTest.cc.
References DTTopology::firstChannel(), DTTopology::lastChannel(), edm::max(), edm::min(), GeomDet::position(), nano_mu_digi_cff::sector, DTLayer::specificTopology(), relativeConstraints::station, makeMuonMisalignmentScenario::wheel, DTTopology::wirePosition(), and x.
|
protectedpure virtual |
Perform client analysis.
Implemented in DTTriggerEfficiencyTest, DTLocalTriggerSynchTest, DTLocalTriggerEfficiencyTest, DTTriggerLutTest, DTLocalTriggerLutTest, DTLocalTriggerTPTest, and DTLocalTriggerTest.
|
protected |
Set configuration variables.
Definition at line 77 of file DTLocalTriggerBaseTest.cc.
References validateAlignments::category, edm::ParameterSet::getUntrackedParameter(), dtFineDelayCorr_cfi::hwSources, LogTrace, Skims_PA_cff::name, createIOVlist::nevents, Skims_PDWG_cff::prescaleFactor, dtDQMOfflineClients_cff::runOnline, and L1TBPTX_cfi::testName.
Referenced by DTLocalTriggerEfficiencyTest::DTLocalTriggerEfficiencyTest(), and DTLocalTriggerSynchTest::DTLocalTriggerSynchTest().
|
inlineprotected |
Get top folder name.
Definition at line 93 of file DTLocalTriggerBaseTest.h.
References baseFolderTM.
Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), and DTLocalTriggerSynchTest::getFloatFromME().
|
protected |
Definition at line 109 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::DTLocalTriggerEfficiencyTest(), DTLocalTriggerSynchTest::DTLocalTriggerSynchTest(), and topFolder().
|
protected |
Definition at line 117 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 111 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::Bookings(), DTLocalTriggerSynchTest::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndLuminosityBlock(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
protected |
Definition at line 104 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::Bookings(), DTLocalTriggerSynchTest::dqmEndLuminosityBlock(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
protected |
Definition at line 114 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::beginRun(), DTLocalTriggerSynchTest::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndLuminosityBlock(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
protected |
Definition at line 113 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 96 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 99 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 107 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerSynchTest::beginRun(), DTLocalTriggerEfficiencyTest::Bookings(), DTLocalTriggerSynchTest::dqmEndJob(), and DTLocalTriggerSynchTest::dqmEndLuminosityBlock().
|
protected |
Definition at line 100 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 101 of file DTLocalTriggerBaseTest.h.
Referenced by generateEDF.LumiInfo::__str__(), DTWorkflow.DTWorkflow::all(), DTLocalTriggerSynchTest::beginRun(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), personalPlayback.Playback::do_create_lumi(), personalPlayback.Playback::do_exec(), o2olib.O2OTool::execute(), generateEDF.LumiInfo::fixXingInfo(), and dqm_interfaces.DirWalkerFile::walk().
|
protected |
Definition at line 108 of file DTLocalTriggerBaseTest.h.
|
protected |
Definition at line 115 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::runClientDiagnostic().
|
protected |
Definition at line 106 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerSynchTest::getFloatFromME().
|
protected |
Definition at line 102 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), DTLocalTriggerSynchTest::dqmEndJob(), DTLocalTriggerSynchTest::dqmEndLuminosityBlock(), DTLocalTriggerSynchTest::getFloatFromME(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
protected |
Definition at line 110 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::Bookings(), DTLocalTriggerSynchTest::dqmEndLuminosityBlock(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
protected |
Definition at line 103 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::Bookings(), DTLocalTriggerSynchTest::dqmEndLuminosityBlock(), DTLocalTriggerEfficiencyTest::runClientDiagnostic(), and DTLocalTriggerSynchTest::runClientDiagnostic().
|
protected |
Definition at line 116 of file DTLocalTriggerBaseTest.h.
Referenced by DTLocalTriggerEfficiencyTest::runClientDiagnostic().