#include <DTLocalTriggerSynchTest.h>
Public Member Functions | |
DTLocalTriggerSynchTest (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~DTLocalTriggerSynchTest () |
Destructor. More... | |
Public Member Functions inherited from DTLocalTriggerBaseTest | |
DTLocalTriggerBaseTest () | |
Constructor. More... | |
virtual | ~DTLocalTriggerBaseTest () |
Destructor. More... | |
Public Member Functions inherited from DQMEDHarvester | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) final |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
DQMEDHarvester (void) | |
virtual void | endJob () final |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Member Functions | |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
begin Run More... | |
void | bookChambHistos (DQMStore::IBooker &, DTChamberId chambId, std::string htype, std::string subfolder="") |
Book the new MEs (for each chamber) More... | |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) |
Perform client diagnostic in online. More... | |
float | getFloatFromME (DQMStore::IGetter &, DTChamberId chId, std::string meType) |
Get float MEs. More... | |
void | makeRatioME (TH1F *numerator, TH1F *denominator, MonitorElement *result) |
Compute efficiency plots. More... | |
void | runClientDiagnostic (DQMStore::IBooker &, DQMStore::IGetter &) |
DQM Client Diagnostic. More... | |
Protected Member Functions inherited from DTLocalTriggerBaseTest | |
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 | 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 isTM) |
Get top folder name. More... | |
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 | |
bool | bookingdone |
double | bxTime |
std::map< uint32_t, std::map < std::string, MonitorElement * > > | chambME |
std::string | denHistoTag |
int | minEntries |
int | nBXHigh |
int | nBXLow |
std::string | numHistoTag |
bool | rangeInBX |
std::string | ratioHistoTag |
DTTPGParameters | wPhaseMap |
bool | writeDB |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DTLocalTriggerBaseTest | |
std::string | baseFolderDDU |
std::string | baseFolderTM |
std::map< std::string, MonitorElement * > | cmsME |
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
threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my
Definition at line 22 of file DTLocalTriggerSynchTest.h.
DTLocalTriggerSynchTest::DTLocalTriggerSynchTest | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 45 of file DTLocalTriggerSynchTest.cc.
|
virtual |
|
protectedvirtual |
begin Run
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 61 of file DTLocalTriggerSynchTest.cc.
References DTLocalTriggerBaseTest::beginRun(), TrigPrimClient_cfi::minEntries, and HLT_FULL_cff::parameters.
|
protected |
Book the new MEs (for each chamber)
Definition at line 261 of file DTLocalTriggerSynchTest.cc.
References DQMStore::IBooker::book1D(), python.rootplot.argparse::category, newFWLiteAna::fullName, edm::max(), edm::min(), pileupCalc::nbins, DetId::rawId(), DTChamberId::sector(), DQMStore::IBooker::setCurrentFolder(), DTChamberId::station(), relativeConstraints::station, and DTChamberId::wheel().
|
protectedvirtual |
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 165 of file DTLocalTriggerSynchTest.cc.
References DTTPGParameters::begin(), python.rootplot.argparse::category, DTLocalTriggerBaseTest::dqmEndJob(), DTTPGParameters::end(), DQMStore::IGetter::get(), TrigPrimClient_cfi::minEntries, DTTimeUnits::ns, HLT_FULL_cff::parameters, DTTPGParameters::set(), and DTCalibDBUtils::writeToDB().
|
protectedvirtual |
Perform client diagnostic in online.
Reimplemented from DTLocalTriggerBaseTest.
Definition at line 76 of file DTLocalTriggerSynchTest.cc.
References python.rootplot.argparse::category, edm::EventSetup::get(), and HLT_FULL_cff::parameters.
|
protected |
Get float MEs.
Definition at line 233 of file DTLocalTriggerSynchTest.cc.
References python.rootplot.argparse::category, DQMStore::IGetter::get(), MonitorElement::getFloatValue(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, and DTChamberId::wheel().
|
protected |
Compute efficiency plots.
Definition at line 226 of file DTLocalTriggerSynchTest.cc.
References postValidation_cfi::efficiency, and MonitorElement::getTH1F().
|
protectedvirtual |
DQM Client Diagnostic.
Implements DTLocalTriggerBaseTest.
Definition at line 115 of file DTLocalTriggerSynchTest.cc.
References python.rootplot.argparse::category, newFWLiteAna::fullName, DQMStore::IGetter::get(), MonitorElement::getName(), TrigPrimClient_cfi::minEntries, and DetId::rawId().
|
private |
Definition at line 72 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 64 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 60 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 62 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 68 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 67 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 66 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 61 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 65 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 63 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 70 of file DTLocalTriggerSynchTest.h.
|
private |
Definition at line 69 of file DTLocalTriggerSynchTest.h.