|
void | checkCMSSWVersion (const coral::AttributeList &configRecord) |
|
bool | getObjectKey (const L1MuGMTParametersRcd &record, std::string &objectKey) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const char *iLabel) |
|
template<typename T > |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
|
template<typename T , typename TDecorator > |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord > |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
|
template<typename T , typename TReturn , typename TRecord , typename TArg > |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
|
void | usesResources (std::vector< std::string > const &) |
|
template<class TFactory > |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
|
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
|
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
|
template<class T > |
void | usingRecord () |
|
void | usingRecordWithKey (const EventSetupRecordKey &key) |
|
std::unique_ptr< L1MuGMTParameters > L1MuGMTParametersOnlineProducer::newObject |
( |
const std::string & |
objectKey | ) |
|
|
overridevirtual |
The method that actually implements the production of the parameter objects.
---------— method called to produce the data ---------— Query the CMS_GMT.GMT_SOFTWARE_CONFIG table with a key determined by the "master" config table and return the matching record.
Implements L1ConfigOnlineProdBase< L1MuGMTParametersRcd, L1MuGMTParameters >.
Definition at line 34 of file L1MuGMTParametersOnlineProducer.cc.
References ADD_FIELD, l1t::OMDSReader::QueryResults::attributeLists(), L1MuGMTParameters_cfi::CaloTrigger, L1MuGMTParameters_cfi::CDLConfigWordbRPCCSC, L1MuGMTParameters_cfi::CDLConfigWordCSCDT, L1MuGMTParameters_cfi::CDLConfigWordDTCSC, L1MuGMTParameters_cfi::CDLConfigWordfRPCDT, L1MuGMTParameters_cfi::DoOvlRpcAnd, L1MuGMTParameters_cfi::EtaPhiThreshold_barrel, L1MuGMTParameters_cfi::EtaPhiThreshold_COU, L1MuGMTParameters_cfi::EtaPhiThreshold_endcap, L1MuGMTParameters_cfi::EtaWeight_barrel, L1MuGMTParameters_cfi::EtaWeight_COU, L1MuGMTParameters_cfi::EtaWeight_endcap, L1MuGMTParameters_cfi::HaloOverwritesMatchedBrl, L1MuGMTParameters_cfi::HaloOverwritesMatchedFwd, L1MuGMTParameters_cfi::IsolationCellSizeEta, L1MuGMTParameters_cfi::IsolationCellSizePhi, L1MuGMTParameters_cfi::MergeMethodChargeBrl, L1MuGMTParameters_cfi::MergeMethodChargeFwd, L1MuGMTParameters_cfi::MergeMethodEtaBrl, L1MuGMTParameters_cfi::MergeMethodEtaFwd, L1MuGMTParameters_cfi::MergeMethodISOBrl, L1MuGMTParameters_cfi::MergeMethodISOFwd, L1MuGMTParameters_cfi::MergeMethodISOSpecialUseANDBrl, L1MuGMTParameters_cfi::MergeMethodISOSpecialUseANDFwd, L1MuGMTParameters_cfi::MergeMethodMIPBrl, L1MuGMTParameters_cfi::MergeMethodMIPFwd, L1MuGMTParameters_cfi::MergeMethodMIPSpecialUseANDBrl, L1MuGMTParameters_cfi::MergeMethodMIPSpecialUseANDFwd, L1MuGMTParameters_cfi::MergeMethodPhiBrl, L1MuGMTParameters_cfi::MergeMethodPhiFwd, L1MuGMTParameters_cfi::MergeMethodPtBrl, L1MuGMTParameters_cfi::MergeMethodPtFwd, L1MuGMTParameters_cfi::MergeMethodSRKBrl, L1MuGMTParameters_cfi::MergeMethodSRKFwd, l1t::OMDSReader::QueryResults::numberRows(), L1MuGMTParameters_cfi::PhiWeight_barrel, L1MuGMTParameters_cfi::PhiWeight_COU, L1MuGMTParameters_cfi::PhiWeight_endcap, L1MuGMTParameters_cfi::PropagatePhi, L1MuGMTParameters_cfi::SortRankOffsetBrl, L1MuGMTParameters_cfi::SortRankOffsetFwd, L1MuGMTParameters_cfi::VersionLUTs, and L1MuGMTParameters_cfi::VersionSortRankEtaQLUT.
83 auto ptrResult = std::make_unique<L1MuGMTParameters>();
85 std::vector<std::string> resultColumns =
helper.getColumnList();
86 resultColumns.push_back(
"CMSSW_VERSION");
94 "GMT_SOFTWARE_CONFIG",
96 "GMT_SOFTWARE_CONFIG.KEY",
101 const AttributeList& resultRecord = resultLines.
attributeLists().front();
103 helper.extractRecord(resultRecord, *ptrResult);
107 throw cond::Exception(
"Couldn't find GMT_SOFTWARE_CONFIG record for GMT key `" + objectKey +
"'");
persistency::Exception Exception
MergeMethodISOSpecialUseANDFwd
const QueryResults singleAttribute(const T &data) const
const std::vector< coral::AttributeList > & attributeLists() const
const QueryResults basicQuery(const std::vector< std::string > &columnNames, const std::string &schemaName, const std::string &tableName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
#define ADD_FIELD(HELPER, OUTPUT_NAME, FIELD_NAME)
l1t::OMDSReader m_omdsReader
MergeMethodMIPSpecialUseANDBrl
MergeMethodMIPSpecialUseANDFwd
MergeMethodISOSpecialUseANDBrl
void checkCMSSWVersion(const coral::AttributeList &configRecord)