#include <MEtoEDMConverter.h>
Public Types | |
typedef std::vector< uint32_t > | TagList |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
typedef WorkerT< EDProducerBase > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
virtual void | beginJob () override |
virtual void | beginRun (edm::Run const &, const edm::EventSetup &) override |
virtual void | endJob () override |
virtual void | endLuminosityBlockProduce (edm::LuminosityBlock &, const edm::EventSetup &) override |
virtual void | endRun (edm::Run const &, const edm::EventSetup &) override |
virtual void | endRunProduce (edm::Run &, const edm::EventSetup &) override |
MEtoEDMConverter (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
template<class T > | |
void | putData (T &iPutTo, bool iLumiOnly) |
virtual | ~MEtoEDMConverter () |
Public Member Functions inherited from edm::one::EDProducer< edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::EndRunProducer > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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 () |
Private Attributes | |
DQMStore * | dbe |
bool | deleteAfterCopy |
std::string | fName |
int | frequency |
std::map< int, int > | iCount |
std::string | path |
int | verbosity |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::one::EDProducerBase | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
Class to take dqm monitor elements and convert into a ROOT dataformat stored in Run tree of edm file
Definition at line 58 of file MEtoEDMConverter.h.
typedef std::vector<uint32_t> MEtoEDMConverter::TagList |
Definition at line 76 of file MEtoEDMConverter.h.
|
explicit |
Definition at line 20 of file MEtoEDMConverter.cc.
References dbe, deleteAfterCopy, fName, frequency, edm::ParameterSet::getUntrackedParameter(), iCount, edm::InLumi, edm::InRun, cppFunctionSkipper::operator, path, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
virtual |
Definition at line 90 of file MEtoEDMConverter.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 95 of file MEtoEDMConverter.cc.
|
overridevirtual |
Definition at line 253 of file MEtoEDMConverter.cc.
References dbe, MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_STRING, MonitorElement::DQM_KIND_TH1D, MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH1S, MonitorElement::DQM_KIND_TH2D, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TH2S, MonitorElement::DQM_KIND_TH3F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, frequency, DQMStore::getAllContents(), MonitorElement::getFullname(), iCount, MonitorElement::kind(), path, MonitorElement::Reset(), edm::RunBase::run(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 100 of file MEtoEDMConverter.cc.
References gather_cfg::cout, dbe, dir, MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_STRING, MonitorElement::DQM_KIND_TH1D, MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH1S, MonitorElement::DQM_KIND_TH2D, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TH2S, MonitorElement::DQM_KIND_TH3F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, DQMStore::getAllContents(), MonitorElement::getFullname(), MonitorElement::getRootObject(), iCount, reco::if(), MonitorElement::kind(), split, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
overridevirtual |
|
overridevirtual |
Definition at line 338 of file MEtoEDMConverter.cc.
|
overridevirtual |
Definition at line 343 of file MEtoEDMConverter.cc.
References dbe, putData(), and DQMStore::scaleElements().
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 563 of file MEtoEDMConverter.cc.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
void MEtoEDMConverter::putData | ( | T & | iPutTo, |
bool | iLumiOnly | ||
) |
Definition at line 357 of file MEtoEDMConverter.cc.
References dbe, deleteAfterCopy, MonitorElement::DQM_KIND_INT, MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_STRING, MonitorElement::DQM_KIND_TH1D, MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH1S, MonitorElement::DQM_KIND_TH2D, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TH2S, MonitorElement::DQM_KIND_TH3F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, fName, DQMStore::getAllContents(), MonitorElement::getFloatValue(), MonitorElement::getFullname(), MonitorElement::getIntValue(), MonitorElement::getLumiFlag(), MonitorElement::getName(), MonitorElement::getPathname(), MonitorElement::getStringValue(), MonitorElement::getTags(), MonitorElement::getTH1D(), MonitorElement::getTH1F(), MonitorElement::getTH1S(), MonitorElement::getTH2D(), MonitorElement::getTH2F(), MonitorElement::getTH2S(), MonitorElement::getTH3F(), MonitorElement::getTProfile(), MonitorElement::getTProfile2D(), MonitorElement::kind(), path, DQMStore::removeElement(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
Referenced by endLuminosityBlockProduce(), and endRunProduce().
|
private |
Definition at line 85 of file MEtoEDMConverter.h.
Referenced by beginRun(), endJob(), endRunProduce(), MEtoEDMConverter(), and putData().
|
private |
Definition at line 82 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter(), and putData().
|
private |
Definition at line 79 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter(), and putData().
|
private |
Definition at line 81 of file MEtoEDMConverter.h.
Referenced by beginRun(), and MEtoEDMConverter().
|
private |
Definition at line 88 of file MEtoEDMConverter.h.
Referenced by beginRun(), endJob(), and MEtoEDMConverter().
|
private |
Definition at line 83 of file MEtoEDMConverter.h.
Referenced by python.rootplot.rootmath.Target::__repr__(), beginRun(), MEtoEDMConverter(), and putData().
|
private |
Definition at line 80 of file MEtoEDMConverter.h.
Referenced by beginRun(), endJob(), MEtoEDMConverter(), and putData().