#include <AutoMagneticFieldESProducer.h>
Public Attributes | |
edm::ParameterSet | pset |
Private Member Functions | |
std::string | closerModel (float current) |
Private Attributes | |
std::vector< std::string > | maps |
std::vector< int > | nominalCurrents |
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 | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
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 > | |
ESConsumesCollector | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
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 22 of file AutoMagneticFieldESProducer.h.
AutoMagneticFieldESProducer::AutoMagneticFieldESProducer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 30 of file AutoMagneticFieldESProducer.cc.
References Exception, edm::ParameterSet::getUntrackedParameter(), maps, nominalCurrents, pset, edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 41 of file AutoMagneticFieldESProducer.cc.
|
private |
Definition at line 77 of file AutoMagneticFieldESProducer.cc.
References DEFINE_FWK_EVENTSETUP_MODULE, mps_fire::i, createfilelist::int, maps, and nominalCurrents.
Referenced by produce().
std::unique_ptr< MagneticField > AutoMagneticFieldESProducer::produce | ( | const IdealMagneticFieldRecord & | iRecord | ) |
Definition at line 47 of file AutoMagneticFieldESProducer.cc.
References MagneticField::clone(), closerModel(), edm::eventsetup::EventSetupRecord::get(), edm::ParameterSet::getParameter(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), RunInfo::m_avg_current, genParticles_cff::map, edm::ESHandle< T >::product(), pset, and mps_fire::result.
|
private |
Definition at line 33 of file AutoMagneticFieldESProducer.h.
Referenced by AutoMagneticFieldESProducer(), and closerModel().
|
private |
Definition at line 32 of file AutoMagneticFieldESProducer.h.
Referenced by AutoMagneticFieldESProducer(), and closerModel().
edm::ParameterSet magneticfield::AutoMagneticFieldESProducer::pset |
Definition at line 29 of file AutoMagneticFieldESProducer.h.
Referenced by AutoMagneticFieldESProducer(), and produce().