Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from TrackPropagation.Geant4e.Geant4ePropagator_cfi import *
00005
00006
00007 geopro = cms.EDProducer("GeometryProducer",
00008 UseMagneticField = cms.bool(True),
00009 UseSensitiveDetectors = cms.bool(False),
00010 MagneticField = cms.PSet(
00011 UseLocalMagFieldManager = cms.bool(False),
00012 Verbosity = cms.untracked.bool(False),
00013 ConfGlobalMFM = cms.PSet(
00014 Volume = cms.string('OCMS'),
00015 OCMS = cms.PSet(
00016 Stepper = cms.string('G4ClassicalRK4'),
00017 Type = cms.string('CMSIMField'),
00018 G4ClassicalRK4 = cms.PSet(
00019 MaximumEpsilonStep = cms.untracked.double(0.01),
00020 DeltaOneStep = cms.double(0.001),
00021 MaximumLoopCounts = cms.untracked.double(1000.0),
00022 DeltaChord = cms.double(0.001),
00023 MinStep = cms.double(0.1),
00024 DeltaIntersectionAndOneStep = cms.untracked.double(-1.0),
00025 DeltaIntersection = cms.double(0.0001),
00026 MinimumEpsilonStep = cms.untracked.double(1e-05)
00027 )
00028 )
00029 ),
00030 delta = cms.double(1.0)
00031 )
00032
00033 )
00034
00035
00036
00037
00038 G4eFitter = cms.ESProducer("KFTrajectoryFitterESProducer",
00039 ComponentName = cms.string('G4eFitter'),
00040 Estimator = cms.string('Chi2'),
00041 Propagator = cms.string('Geant4ePropagator'),
00042 Updator = cms.string('KFUpdator'),
00043 minHits = cms.int32(3)
00044 )
00045
00046
00047 from RecoTracker.TrackProducer.TrackRefitters_cff import *
00048
00049 Geant4eRefitter = TrackRefitter.clone()
00050 Geant4eRefitter.Propagator=cms.string("Geant4ePropagator")
00051 Geant4eRefitter.Fitter=cms.string("G4eFitter")
00052
00053 geant4eTrackRefit = cms.Sequence(geopro*Geant4eRefitter)