|
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 L1MuTriggerScalesRcd &record, std::shared_ptr< L1MuTriggerScales > 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()) |
|
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
| 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 |
|
std::shared_ptr< L1MuTriggerScales > L1MuTriggerScalesOnlineProducer::newObject |
( |
const std::string & |
objectKey | ) |
|
|
overridevirtual |
Implements L1ConfigOnlineProdBase< L1MuTriggerScalesRcd, L1MuTriggerScales >.
Definition at line 114 of file L1MuTriggerScalesOnlineProducer.cc.
References l1t::OMDSReader::basicQuery(), mps_check::columns, ScaleRecordHelper::extractScales(), l1t::OMDSReader::QueryResults::fillVariable(), m_nbinsEta, m_nbitPackingEta, m_nbitPackingPhi, L1ConfigOnlineProdBase< L1MuTriggerScalesRcd, L1MuTriggerScales >::m_omdsReader, m_scales, m_signedPackingPhi, PhiScaleHelper::makeBinnedScale(), l1t::OMDSReader::QueryResults::numberRows(), ScaleRecordHelper::pushColumnNames(), L1MuTriggerScales::setGMTEtaScale(), L1MuTriggerScales::setPhiScale(), l1t::OMDSReader::singleAttribute(), and AlCaHLTBitMon_QueryRunRegistry::string.
121 vector<string> foreignKeys;
126 foreignKeys.push_back(etaKeyColumn);
127 foreignKeys.push_back(phiKeyColumn);
145 "with scales key `" + objectKey +
"'");
158 etaHelper.pushColumnNames(columns);
167 "L1T_SCALE_MUON_ETA",
169 "L1T_SCALE_MUON_ETA.ID",
173 vector<double> etaScales;
174 etaHelper.extractScales(etaRecord, etaScales);
191 "L1T_SCALE_MUON_PHI",
193 "L1T_SCALE_MUON_PHI.ID",
201 return std::make_shared<L1MuTriggerScales>(
m_scales);
persistency::Exception Exception
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
void setGMTEtaScale(const L1MuSymmetricBinnedScale &scale)
set the GMT eta scale
unsigned int m_nbitPackingEta
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="")
l1t::OMDSReader m_omdsReader
void setPhiScale(const L1MuBinnedScale &scale)
set the phi scale
unsigned int m_nbitPackingPhi
L1MuTriggerScales m_scales
static L1MuBinnedScale * makeBinnedScale(l1t::OMDSReader::QueryResults &record, int nBits, bool signedPacking)