|
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 &) |
|
| 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={}) |
|
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 &) |
|
Definition at line 81 of file VolumeBasedMagneticFieldESProducerFromDB.cc.
References MagGeoBuilderFromDDD::barrelLayers(), MagGeoBuilderFromDDD::barrelVolumes(), MagGeoBuilderFromDDD::build(), closerNominalLabel(), debug, MagGeoBuilderFromDDD::endcapSectors(), MagGeoBuilderFromDDD::endcapVolumes(), MagFieldConfig::geometryVersion, ParametrizedMagneticFieldFactory::get(), edm::ParameterSet::getParameter(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), edm::ParameterSet::getUntrackedParameter(), MagFieldConfig::gridFiles, MagFieldConfig::keys, RunInfo::m_avg_current, MagGeoBuilderFromDDD::maxR(), MagGeoBuilderFromDDD::maxZ(), createfilelist::parser, pset, MagGeoBuilderFromDDD::setGridFiles(), MagGeoBuilderFromDDD::setScaling(), MagFieldConfig::slaveFieldParameters, MagFieldConfig::slaveFieldVersion, MagFieldConfig::values, and MagFieldConfig::version.
93 message =
" (from RunInfo DB)";
95 message =
" (from valueOverride card)";
104 edm::LogInfo(
"MagneticField|AutoMagneticField") <<
"Current: " << current << message <<
"; using map configuration with label: " << configLabel << endl
105 <<
"Version: " << conf->
version 113 if (conf->
version ==
"parametrizedMagneticField") {
123 if (!conf->
keys.empty()) {
137 auto cpv = std::make_unique<DDCompactView>(
DDName(
"cmsMagneticField:MAGF"));
139 parser.getDDLSAX2FileHandler()->setUserNS(
true);
141 std::unique_ptr<std::vector<unsigned char> > tb = (*gdd).getUncompressedBlob();
142 parser.parse(*tb, tb->size());
148 return std::make_unique<VolumeBasedMagneticField>(conf->
geometryVersion,builder.barrelLayers(), builder.endcapSectors(), builder.barrelVolumes(), builder.endcapVolumes(), builder.maxR(), builder.maxZ(), paramField.release(),
true);
std::string closerNominalLabel(float current)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
DDName is used to identify DDD entities uniquely.
std::vector< double > values
magneticfield::TableFileMap gridFiles
Specification of which data table is to be used for each volume.
std::string slaveFieldVersion
Label or type of the tracker parametrization.
static std::unique_ptr< MagneticField > get(std::string version, const edm::ParameterSet ¶meters)
const DepRecordT getRecord() const
std::vector< int > keys
Scaling factors for the field in specific volumes.
DDLParser is the main class of Detector Description Language Parser.
std::string version
Version of the data tables to be used.
int geometryVersion
Version of the geometry to be used.
std::vector< double > slaveFieldParameters