#include <L1CondDBPayloadWriterExt.h>
|
| L1CondDBPayloadWriterExt (const edm::ParameterSet &) |
|
| ~L1CondDBPayloadWriterExt () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () 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) |
|
|
typedef EDAnalyzer | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
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) |
|
Definition at line 20 of file L1CondDBPayloadWriterExt.h.
◆ L1CondDBPayloadWriterExt()
L1CondDBPayloadWriterExt::L1CondDBPayloadWriterExt |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
◆ ~L1CondDBPayloadWriterExt()
L1CondDBPayloadWriterExt::~L1CondDBPayloadWriterExt |
( |
| ) |
|
|
override |
◆ analyze()
Implements edm::EDAnalyzer.
Definition at line 26 of file L1CondDBPayloadWriterExt.cc.
34 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyListExt";
46 bool triggerKeyOK =
true;
59 edm::LogVerbatim(
"L1-O2O") <<
"Object key for L1TriggerKeyExtRcd@L1TriggerKeyExt: " <<
key.tscKey();
71 throw cond::Exception(
"L1CondDBPayloadWriter: TSC key " +
key.tscKey() +
" already in L1TriggerKeyListExt");
77 L1TriggerKeyExt::RecordToKey::const_iterator it =
key.recordToKeyMap().begin();
78 L1TriggerKeyExt::RecordToKey::const_iterator
end =
key.recordToKeyMap().end();
80 for (; it !=
end; ++it) {
83 edm::LogVerbatim(
"L1-O2O") <<
"L1CondDBPayloadWriter: null object key for " << it->first
84 <<
"; skipping this record.";
89 if (!oldKeyList.
token(it->first, it->second).empty()) {
90 edm::LogVerbatim(
"L1-O2O") <<
"*** Overwriting payload: object key for " << it->first <<
": "
93 edm::LogVerbatim(
"L1-O2O") <<
"object key for " << it->first <<
": " << it->second;
106 if (!
token.empty()) {
115 throw cond::Exception(
"L1CondDBPayloadWriter: subsystem key " + it->second +
" for " + it->first +
116 " already in L1TriggerKeyListExt");
120 edm::LogVerbatim(
"L1-O2O") <<
"L1CondDBPayloadWriter: object key " << it->second <<
" for " << it->first
121 <<
" already in L1TriggerKeyListExt";
References L1TriggerKeyListExt::addKey(), relativeConstraints::empty, end, l1t::DataWriterExt::fillLastTriggerKeyList(), edm::EventSetup::get(), get, crabWrapper::key, key_token, L1TriggerKeyExt::kNullKey, m_logTransactions, m_newL1TriggerKeyListExt, m_overwriteKeys, m_writeConfigData, m_writeL1TriggerKeyExt, m_writer, AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), L1TriggerKeyListExt::token(), unpackBuffers-CaloStage2::token, cms::Exception::what(), l1t::DataWriterExt::writeKeyList(), and l1t::DataWriterExt::writePayload().
◆ beginJob()
void L1CondDBPayloadWriterExt::beginJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
◆ endJob()
void L1CondDBPayloadWriterExt::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
◆ key_token
◆ m_logTransactions
bool L1CondDBPayloadWriterExt::m_logTransactions |
|
private |
◆ m_newL1TriggerKeyListExt
bool L1CondDBPayloadWriterExt::m_newL1TriggerKeyListExt |
|
private |
◆ m_overwriteKeys
bool L1CondDBPayloadWriterExt::m_overwriteKeys |
|
private |
◆ m_writeConfigData
bool L1CondDBPayloadWriterExt::m_writeConfigData |
|
private |
◆ m_writeL1TriggerKeyExt
bool L1CondDBPayloadWriterExt::m_writeL1TriggerKeyExt |
|
private |
◆ m_writer
bool addKey(const std::string &tscKey, const std::string &payloadToken, bool overwriteKey=false)
std::string token(const std::string &tscKey) const