|
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
|
typedef std::vector< EventSetupRecordKey > | Keys |
|
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
bool | getObjectKey (const L1TMuonBarrelParamsO2ORcd &record, std::shared_ptr< L1TMuonBarrelParams > data, std::string &objectKey) |
|
template<typename T > |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
|
template<typename T > |
void | setWhatProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
|
template<typename T , typename TReturn , typename TRecord > |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
|
template<typename T , typename TReturn , typename TRecord , typename TArg > |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
|
template<class TFactory > |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
| override DataProxyProvider method More...
|
|
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
| deletes all the Proxies in aStream More...
|
|
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
|
template<class T > |
void | usingRecord () |
|
void | usingRecordWithKey (const EventSetupRecordKey &) |
|
bool | m_copyFromCondDB |
|
cond::persistency::Session | m_dbSession |
|
bool | m_forceGeneration |
|
l1t::OMDSReader | m_omdsReader |
|
Implements L1ConfigOnlineProdBaseExt< L1TMuonBarrelParamsO2ORcd, L1TMuonBarrelParams >.
Definition at line 27 of file L1TMuonBarrelParamsOnlineProd.cc.
References mps_alisetup::append, L1TMuonBarrelParamsHelper::configFromDB(), DEFINE_FWK_EVENTSETUP_MODULE, MillePedeFileConverter_cfg::e, l1t::OnlineDBqueryHelper::fetch(), edm::eventsetup::EventSetupRecord::get(), relativeConstraints::keys, L1ConfigOnlineProdBaseExt< L1TMuonBarrelParamsO2ORcd, L1TMuonBarrelParams >::m_omdsReader, convertSQLitetoXML_cfg::output, l1t::XmlConfigParser::readDOMFromString(), l1t::XmlConfigParser::readRootElement(), l1t::TriggerSystem::setConfigured(), and AlCaHLTBitMon_QueryRunRegistry::string.
32 baseRcd.
get( baseSettings ) ;
35 if (objectKey.empty()) {
36 edm::LogError(
"L1-O2O: L1TMuonBarrelParamsOnlineProd" ) <<
"Key is empty, returning empty L1TMuonBarrelParams";
37 throw std::runtime_error(
"Empty objectKey");
40 std::string tscKey = objectKey.substr(0, objectKey.find(
":") );
41 std::string rsKey = objectKey.substr( objectKey.find(
":")+1, std::string::npos );
44 edm::LogInfo(
"L1-O2O: L1TMuonBarrelParamsOnlineProd" ) <<
"Producing L1TMuonBarrelParams with TSC key = " << tscKey <<
" and RS key = " << rsKey ;
48 std::string hw_payload, algo_payload, mp7_payload, amc13_payload;
50 std::map<std::string,std::string>
keys =
56 algo_key = keys[
"ALGO"];
73 std::map<std::string,std::string> rsKeys =
79 mp7_key = rsKeys[
"MP7"];
80 amc13_key = rsKeys[
"AMC13"];
95 }
catch ( std::runtime_error &
e ) {
96 edm::LogError(
"L1-O2O: L1TMuonBarrelParamsOnlineProd" ) << e.what();
97 throw std::runtime_error(
"Broken key");
144 m_params_helper.configFromDB( parsedXMLs );
145 std::shared_ptr< L1TMuonBarrelParams > retval = std::make_shared< L1TMuonBarrelParams>( m_params_helper );
void setConfigured(bool state=true) noexcept
l1t::OMDSReader m_omdsReader
void readDOMFromString(const std::string &str, xercesc::DOMDocument *&doc)
static std::map< std::string, std::string > fetch(const std::vector< std::string > &queryColumns, const std::string &table, const std::string &key, l1t::OMDSReader &m_omdsReader)
void get(HolderT &iHolder) const
void readRootElement(TriggerSystem &aTriggerSystem, const std::string &sysId="")