#include <MEtoEDMConverter.h>
Public Types | |
typedef std::vector< uint32_t > | TagList |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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, uint32_t run, uint32_t lumi) |
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 () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector < edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector < ProductResolverIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
DQMStore * | dbe |
bool | deleteAfterCopy |
bool | enableMultiThread_ |
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::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 56 of file MEtoEDMConverter.h.
typedef std::vector<uint32_t> MEtoEDMConverter::TagList |
Definition at line 74 of file MEtoEDMConverter.h.
|
explicit |
Definition at line 18 of file MEtoEDMConverter.cc.
References assert(), dbe, deleteAfterCopy, enableMultiThread_, fName, frequency, edm::ParameterSet::getUntrackedParameter(), iCount, edm::InLumi, edm::InRun, cppFunctionSkipper::operator, path, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
virtual |
Definition at line 87 of file MEtoEDMConverter.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 92 of file MEtoEDMConverter.cc.
References dbe, and enableMultiThread_.
|
overridevirtual |
Definition at line 252 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, enableMultiThread_, frequency, MonitorElement::getFullname(), iCount, mps_monitormerge::items, MonitorElement::kind(), hlt_dqm_clientPB-live_cfg::me, path, MonitorElement::Reset(), edm::RunBase::run(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 99 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, MonitorElement::getFullname(), MonitorElement::getRootObject(), iCount, reco::if(), mps_monitormerge::items, MonitorElement::kind(), hlt_dqm_clientPB-live_cfg::me, MainPageGenerator::packages, split, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
overridevirtual |
Definition at line 355 of file MEtoEDMConverter.cc.
References edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), putData(), and edm::LuminosityBlockBase::run().
|
overridevirtual |
Definition at line 343 of file MEtoEDMConverter.cc.
|
overridevirtual |
Definition at line 348 of file MEtoEDMConverter.cc.
References dbe, putData(), and edm::RunBase::run().
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 573 of file MEtoEDMConverter.cc.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
void MEtoEDMConverter::putData | ( | T & | iPutTo, |
bool | iLumiOnly, | ||
uint32_t | run, | ||
uint32_t | lumi | ||
) |
Definition at line 362 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, enableMultiThread_, fName, 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(), mps_monitormerge::items, MonitorElement::kind(), hlt_dqm_clientPB-live_cfg::me, eostools::move(), path, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
Referenced by endLuminosityBlockProduce(), and endRunProduce().
|
private |
Definition at line 84 of file MEtoEDMConverter.h.
Referenced by beginJob(), beginRun(), endJob(), endRunProduce(), MEtoEDMConverter(), and putData().
|
private |
Definition at line 80 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter(), and putData().
|
private |
Definition at line 81 of file MEtoEDMConverter.h.
Referenced by beginJob(), beginRun(), MEtoEDMConverter(), and putData().
|
private |
Definition at line 77 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter(), and putData().
|
private |
Definition at line 79 of file MEtoEDMConverter.h.
Referenced by beginRun(), and MEtoEDMConverter().
|
private |
Definition at line 87 of file MEtoEDMConverter.h.
Referenced by beginRun(), endJob(), and MEtoEDMConverter().
|
private |
Definition at line 82 of file MEtoEDMConverter.h.
Referenced by python.rootplot.rootmath.Target::__repr__(), beginRun(), MEtoEDMConverter(), and putData().
|
private |
Definition at line 78 of file MEtoEDMConverter.h.
Referenced by beginRun(), endJob(), MEtoEDMConverter(), and putData().