Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Static Private Member Functions | |
static std::string_view | closerNominalLabel (float current) |
Additional Inherited Members | |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy >>> |
Protected Member Functions inherited from edm::ESProducer | |
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 &) |
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 EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Definition at line 50 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
DD4hep_VolumeBasedMagneticFieldESProducerFromDB::DD4hep_VolumeBasedMagneticFieldESProducerFromDB | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 80 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
References chooseConfigAtRuntime(), chooseConfigViaParameter(), closerNominalLabel(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), edm::ESSharedResourceNames::kDD4hep, knownFromParamConfigToken_, label, mayConsumeBlobToken_, mayGetConfigToken_, alignCSCRings::s, edm::ESProducer::setWhatProduced(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::ESProducer::usesResources().
|
delete |
std::shared_ptr< MagFieldConfig const > DD4hep_VolumeBasedMagneticFieldESProducerFromDB::chooseConfigAtRuntime | ( | const IdealMagneticFieldRecord & | iRecord | ) |
Definition at line 131 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
References submitPVResolutionJobs::config, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getHandle(), mayGetConfigToken_, and edm::ESHandle< class >::product().
Referenced by DD4hep_VolumeBasedMagneticFieldESProducerFromDB().
std::shared_ptr< MagFieldConfig const > DD4hep_VolumeBasedMagneticFieldESProducerFromDB::chooseConfigViaParameter | ( | const IdealMagneticFieldRecord & | iRecord | ) |
Definition at line 139 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
References submitPVResolutionJobs::config, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getHandle(), and knownFromParamConfigToken_.
Referenced by DD4hep_VolumeBasedMagneticFieldESProducerFromDB().
|
staticprivate |
Definition at line 204 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
References mps_fire::i, and RunInfoPI::nominalCurrents.
Referenced by DD4hep_VolumeBasedMagneticFieldESProducerFromDB().
|
static |
Definition at line 216 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
delete |
std::unique_ptr< MagneticField > DD4hep_VolumeBasedMagneticFieldESProducerFromDB::produce | ( | const IdealMagneticFieldRecord & | iRecord | ) |
Definition at line 148 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
References magneticfield::MagGeoBuilder::barrelLayers(), magneticfield::MagGeoBuilder::barrelVolumes(), magneticfield::MagGeoBuilder::build(), chosenConfigToken_, debug_, magneticfield::MagGeoBuilder::endcapSectors(), magneticfield::MagGeoBuilder::endcapVolumes(), ParametrizedMagneticFieldFactory::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getTransientHandle(), magneticfield::MagGeoBuilder::maxR(), magneticfield::MagGeoBuilder::maxZ(), mayConsumeBlobToken_, magneticfield::MagGeoBuilder::setGridFiles(), and magneticfield::MagGeoBuilder::setScaling().
|
private |
Definition at line 73 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
Referenced by produce().
|
private |
Definition at line 76 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
Referenced by produce().
|
private |
Definition at line 69 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
Referenced by chooseConfigViaParameter(), and DD4hep_VolumeBasedMagneticFieldESProducerFromDB().
|
private |
Definition at line 75 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
Referenced by DD4hep_VolumeBasedMagneticFieldESProducerFromDB(), and produce().
|
private |
Definition at line 68 of file DD4hep_VolumeBasedMagneticFieldESProducerFromDB.cc.
Referenced by chooseConfigAtRuntime(), and DD4hep_VolumeBasedMagneticFieldESProducerFromDB().