Public Attributes | |
std::vector< int > | nominalCurrents |
edm::ParameterSet | pset |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
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 Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
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()) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
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... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
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 &) |
Definition at line 29 of file AutoParametrizedMagneticFieldProducer.cc.
AutoParametrizedMagneticFieldProducer::AutoParametrizedMagneticFieldProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 46 of file AutoParametrizedMagneticFieldProducer.cc.
References edm::ParameterSet::getUntrackedParameter(), nominalCurrents, pset, edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverride |
Definition at line 33 of file AutoParametrizedMagneticFieldProducer.cc.
int AutoParametrizedMagneticFieldProducer::closerNominaCurrent | ( | float | current | ) |
Definition at line 98 of file AutoParametrizedMagneticFieldProducer.cc.
References DEFINE_FWK_EVENTSETUP_MODULE, mps_fire::i, createfilelist::int, and nominalCurrents.
Referenced by produce().
std::unique_ptr< MagneticField > AutoParametrizedMagneticFieldProducer::produce | ( | const IdealMagneticFieldRecord & | iRecord | ) |
Definition at line 53 of file AutoParametrizedMagneticFieldProducer.cc.
References closerNominaCurrent(), MillePedeFileConverter_cfg::e, Exception, ParametrizedMagneticFieldFactory::get(), edm::ParameterSet::getParameter(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), RunInfo::m_avg_current, pset, Scenarios_cff::scale, and jets_cff::version.
std::vector<int> magneticfield::AutoParametrizedMagneticFieldProducer::nominalCurrents |
Definition at line 39 of file AutoParametrizedMagneticFieldProducer.cc.
Referenced by AutoParametrizedMagneticFieldProducer(), and closerNominaCurrent().
edm::ParameterSet magneticfield::AutoParametrizedMagneticFieldProducer::pset |
Definition at line 38 of file AutoParametrizedMagneticFieldProducer.cc.
Referenced by AutoParametrizedMagneticFieldProducer(), and produce().