00001 import FWCore.ParameterSet.Config as cms 00002 00003 # 00004 # use this cff to switch off the mag field 00005 # 00006 UniformMagneticFieldESProducer = cms.ESProducer("UniformMagneticFieldESProducer", 00007 ZFieldInTesla = cms.double(0.0) 00008 ) 00009 00010 es_prefer_UniformMagneticFieldESProducer = cms.ESPrefer("UniformMagneticFieldESProducer") 00011 g4SimHits.UseMagneticField = False 00012