|
void | beginJob () final |
|
void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) final |
|
void | beginRun (const edm::Run &, const edm::EventSetup &) final |
|
| EDMtoMEConverter (const edm::ParameterSet &) |
|
void | endJob () final |
|
void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) override |
|
void | endRun (const edm::Run &, const edm::EventSetup &) final |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
|
template<class T > |
void | getData (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, T &iGetFrom) |
|
void | produce (edm::Event &, edm::EventSetup const &) final |
|
| ~EDMtoMEConverter () override |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
std::vector< bool > const & | recordProvenanceList () const |
|
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
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 & | itemsToGetFrom (BranchType iType) 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 & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
| declare what type of product will make and with which optional label More...
|
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
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) |
|
template<Transition B> |
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 (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
ProducesCollector | producesCollector () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Class to take dqm monitor elements and convert into a ROOT dataformat stored in Run tree of edm file
- Author
- M. Strang SUNY-Buffalo
Definition at line 51 of file EDMtoMEConverter.h.
Definition at line 264 of file EDMtoMEConverter.cc.
271 constexpr
char MsgLoggerCat[] =
"EDMtoMEConverter_EDMtoMEConverter";
281 auto scopeDecode = std::map<std::string, MonitorElementData::Scope>{{
"", MonitorElementData::Scope::LUMI},
282 {
"LUMI", MonitorElementData::Scope::LUMI},
283 {
"RUN", MonitorElementData::Scope::RUN},
284 {
"JOB", MonitorElementData::Scope::JOB}};
293 edm::LogInfo(MsgLoggerCat) <<
"\n===============================\n"
294 <<
"Initialized as EDAnalyzer with parameter values:\n"
295 <<
" Name = " <<
name <<
"\n"
298 <<
"===============================\n";
301 assert(
sizeof(int64_t) ==
sizeof(
long long));
302 usesResource(
"DQMStore");
304 dqmLumiToken_ = produces<DQMToken, edm::Transition::EndLuminosityBlock>(
"endLumi");
305 dqmRunToken_ = produces<DQMToken, edm::Transition::EndRun>(
"endRun");
References cms::cuda::assert(), edm::EDConsumerBase::consumesCollector(), convertOnEndLumi, convertOnEndRun, dqmLumiToken_, dqmRunToken_, frequency, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), EDMtoMEConverter_cfi::lumiInputTag, name, reScope, EDMtoMEConverter_cfi::runInputTag, AlCaHLTBitMon_QueryRunRegistry::string, tokens_, and verbosity.
Definition at line 329 of file EDMtoMEConverter.cc.
330 constexpr
char MsgLoggerCat[] =
"EDMtoMEConverter_getData";
333 edm::LogInfo(MsgLoggerCat) <<
"\nRestoring MonitorElements.";
335 for_each(
tokens_, [&](
const auto &tok) {
338 using MEtoEDM_T =
typename Tokens_T::Product;
340 tok.getData(iGetFrom, metoedm);
347 std::vector<typename MEtoEDM_T::MEtoEDMObject> metoedmobject = metoedm->getMEtoEdmObject();
349 for (
unsigned int i = 0;
i < metoedmobject.size(); ++
i) {
361 for (
unsigned j = 0;
j < fulldir.size() - 1; ++
j) {
363 if (
j != fulldir.size() - 2)
368 adjustScope(iBooker, iGetFrom,
reScope);
369 AddMonitorElement<METype>::call(iBooker, iGetter, &metoedmobject[
i].
object,
dir,
name, iGetFrom);
References gather_cfg::cout, PA_ZEESkim_cff::decay, DeadROC_duringRun::dir, mps_fire::i, edm::HandleBase::isValid(), dqmiolumiharvest::j, name, BTVHLTOfflineSource_cfi::pathname, reScope, cms::dd::split(), AlCaHLTBitMon_QueryRunRegistry::string, tokens_, and verbosity.
Referenced by endLuminosityBlockProduce(), and endRunProduce().