CMS 3D CMS Logo

volumeBasedMagneticFieldFromDB_dd4hep_cfi.py
Go to the documentation of this file.
1 # This cfi sets a field map configured based on the run and GT.
2 #
3 # PLEASE DO NOT USE THIS cfi DIRECTLY
4 # Always use the standard sequence Configuration.StandardSequences.MagneticField_cff
5 
6 import FWCore.ParameterSet.Config as cms
7 
8 VolumeBasedMagneticFieldESProducer = cms.ESProducer("DD4hep_VolumeBasedMagneticFieldESProducerFromDB",
9  label = cms.untracked.string(''),
10  debugBuilder = cms.untracked.bool(False),
11  valueOverride = cms.int32(-1), # Force value of current (in A); take the value from DB if < 0.
12 )
13