|
| L1CondDBIOVWriter (const edm::ParameterSet &) |
|
| ~L1CondDBIOVWriter () 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 const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
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 const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
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 () |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
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) |
|
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 38 of file L1CondDBIOVWriter.h.
Definition at line 75 of file L1CondDBIOVWriter.cc.
References end, l1t::DataWriter::fillLastTriggerKeyList(), edm::EventSetup::get(), edm::EventBase::id(), crabWrapper::key, L1TriggerKey::kNullKey, dqm-mbProfile::log, m_forceUpdate, m_ignoreTriggerKey, m_logKeys, m_logTransactions, m_recordTypes, m_tscKey, m_writer, l1t::DataWriter::readObject(), align_cfg::recordName, L1TriggerKey::recordToKeyMap(), python.rootplot.root2matplotlib::replace(), writedatasetfile::run, edm::EventID::run(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), L1TriggerKeyList::token(), and l1t::DataWriter::updateIOV().
82 edm::LogError(
"L1-O2O") <<
"Problem getting last L1TriggerKeyList";
85 unsigned long long run = iEvent.
id().
run();
89 bool triggerKeyIOVUpdated =
true;
95 bool logRecords =
true;
117 replace(tmpKey.begin(), tmpKey.end(),
' ',
'?');
118 log +=
" tscKey=" + tmpKey;
131 std::vector<std::string>::const_iterator recordTypeItr =
m_recordTypes.begin();
132 std::vector<std::string>::const_iterator recordTypeEnd =
m_recordTypes.end();
134 for (; recordTypeItr != recordTypeEnd; ++recordTypeItr) {
135 recordTypeToKeyMap.insert(std::make_pair(*recordTypeItr,
m_tscKey));
145 L1TriggerKey::RecordToKey::const_iterator itr = recordTypeToKeyMap.begin();
146 L1TriggerKey::RecordToKey::const_iterator
end = recordTypeToKeyMap.end();
148 for (; itr !=
end; ++itr) {
158 replace(tmpKey.begin(), tmpKey.end(),
' ',
'?');
164 edm::LogVerbatim(
"L1-O2O") <<
"L1CondDBIOVWriter: null object key for " << recordType
165 <<
"; skipping this record.";
168 edm::LogVerbatim(
"L1-O2O") <<
"Object key for " << recordType <<
": " << objectKey;
171 if (payloadToken.empty()) {
172 edm::LogVerbatim(
"L1-O2O") <<
"L1CondDBIOVWriter: empty payload token for " + recordType +
", key " +
175 throwException =
true;
187 if (throwException) {
persistency::Exception Exception
std::vector< std::string > m_recordTypes
std::map< std::string, std::string > RecordToKey
static const std::string kNullKey
def replace(string, replacements)
const RecordToKey & recordToKeyMap() const
bool fillLastTriggerKeyList(L1TriggerKeyList &output)
void readObject(const std::string &payloadToken, T &outputObject)
std::string token(const std::string &tscKey) const
bool updateIOV(const std::string &esRecordName, const std::string &payloadToken, edm::RunNumber_t sinceRun, bool logTransactions=false)
void throwException(const std::string &message, const std::string &methodName)