CMS 3D CMS Logo

MagneticField_cff.py
Go to the documentation of this file.
1 # This is the default configuration for the magnetic field in CMSSW.
2 # Loads the field map corresponding to the current stored in the runInfo,
3 # with the geometry and configuration specified in the GT.
4 
5 import FWCore.ParameterSet.Config as cms
7 
8 # Parabolic parametrized magnetic field used for track building (scaled to nominal map closest to current from runInfo)
9 from MagneticField.ParametrizedEngine.autoParabolicParametrizedField_cfi import ParametrizedMagneticFieldProducer as ParabolicParametrizedMagneticFieldProducer
10 ParabolicParametrizedMagneticFieldProducer.label = "ParabolicMf"
11 
12 
volumeBasedMagneticFieldFromDB_cfi