Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Configuration
StandardSequences
python
MagneticField_AutoFromDBCurrent_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
#this will load the auto magnetic field producer reading the current from the DB
4
# and loading the best map available for that current as specified in the file
5
from
MagneticField.Engine.autoMagneticFieldProducer_cfi
import
*
6
7
# Parabolic parametrized magnetic field used for track building
8
from
MagneticField.ParametrizedEngine.ParabolicParametrizedField_cfi
import
ParametrizedMagneticFieldProducer
as
ParabolicParametrizedMagneticFieldProducer
9
ParabolicParametrizedMagneticFieldProducer.label =
"ParabolicMf"
10
11
Config
autoMagneticFieldProducer_cfi
Generated for CMSSW Reference Manual by
1.8.5