#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 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) |
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 | |
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 () | |
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 (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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::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 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 dbe, deleteAfterCopy, enableMultiThread_, DQMStore::enableMultiThread_, fName, frequency, edm::ParameterSet::getUntrackedParameter(), iCount, edm::InLumi, edm::InRun, cppFunctionSkipper::operator, path, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
virtual |
Definition at line 89 of file MEtoEDMConverter.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 94 of file MEtoEDMConverter.cc.
|
overridevirtual |
Definition at line 252 of file MEtoEDMConverter.cc.
References 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::kind(), cmsHarvester::path, MonitorElement::Reset(), edm::RunBase::run(), AlCaHLTBitMon_QueryRunRegistry::string, and PFRecoTauDiscriminationAgainstMuon2_cfi::verbosity.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 99 of file MEtoEDMConverter.cc.
References gather_cfg::cout, 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(), if(), MonitorElement::kind(), split, AlCaHLTBitMon_QueryRunRegistry::string, and PFRecoTauDiscriminationAgainstMuon2_cfi::verbosity.
|
overridevirtual |
Definition at line 355 of file MEtoEDMConverter.cc.
References edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), and edm::LuminosityBlockBase::run().
|
overridevirtual |
Definition at line 343 of file MEtoEDMConverter.cc.
|
overridevirtual |
Definition at line 348 of file MEtoEDMConverter.cc.
References 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 | ||
) |
void MEtoEDMConverter::putData | ( | T & | iPutTo, |
bool | iLumiOnly, | ||
uint32_t | run, | ||
uint32_t | lumi | ||
) |
Definition at line 362 of file MEtoEDMConverter.cc.
References 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, fileCollector2::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(), MonitorElement::kind(), cmsHarvester::path, AlCaHLTBitMon_QueryRunRegistry::string, and PFRecoTauDiscriminationAgainstMuon2_cfi::verbosity.
|
private |
Definition at line 84 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter().
|
private |
Definition at line 80 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter().
|
private |
Definition at line 81 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter().
|
private |
Definition at line 77 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter().
|
private |
Definition at line 79 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter().
|
private |
Definition at line 87 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter().
|
private |
Definition at line 82 of file MEtoEDMConverter.h.
Referenced by python.rootplot.rootmath.Target::__repr__(), and MEtoEDMConverter().
|
private |
Definition at line 78 of file MEtoEDMConverter.h.
Referenced by MEtoEDMConverter().