Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:44

0001 # This is the default configuration for the magnetic field in CMSSW.
0002 # Loads the field map corresponding to the current stored in the runInfo,
0003 # with the geometry and configuration specified in the GT.
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 from MagneticField.Engine.volumeBasedMagneticFieldFromDB_cfi import *
0007 
0008 from MagneticField.Engine.volumeBasedMagneticFieldFromDB_dd4hep_cfi import VolumeBasedMagneticFieldESProducer as _VolumeBasedMagneticFieldESProducer_dd4hep
0009 
0010 from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
0011 dd4hep.toReplaceWith(VolumeBasedMagneticFieldESProducer, _VolumeBasedMagneticFieldESProducer_dd4hep)
0012 
0013 # Parabolic parametrized magnetic field used for track building (scaled to nominal map closest to current from runInfo)
0014 from MagneticField.ParametrizedEngine.autoParabolicParametrizedField_cfi import ParametrizedMagneticFieldProducer as ParabolicParametrizedMagneticFieldProducer
0015 ParabolicParametrizedMagneticFieldProducer.label = "ParabolicMf"
0016 
0017