1 import FWCore.ParameterSet.Config
as cms
13 geopro = cms.EDProducer(
"GeometryProducer",
14 GeoFromDD4hep = cms.bool(
False),
15 UseMagneticField = cms.bool(
True),
16 UseSensitiveDetectors = cms.bool(
False),
17 MagneticField = _g4SimHits.MagneticField.clone()
20 from Configuration.ProcessModifiers.dd4hep_cff
import dd4hep
21 dd4hep.toModify(geopro, GeoFromDD4hep =
True )
29 G4eFitter = RKTrajectoryFitter.clone (
30 ComponentName = cms.string(
'G4eFitter'),
31 Propagator = cms.string(
'Geant4ePropagator')
34 G4eSmoother = RKTrajectorySmoother.clone (
35 ComponentName = cms.string(
'G4eSmoother'),
36 Propagator = cms.string(
'Geant4ePropagator'),
39 errorRescaling = cms.double(2.0)
42 G4eFitterSmoother = KFFittingSmootherWithOutliersRejectionAndRK.clone(
43 ComponentName = cms.string(
'G4eFitterSmoother'),
44 Fitter = cms.string(
'G4eFitter'),
45 Smoother = cms.string(
'G4eSmoother'),
47 EstimateCut = cms.double(-1.0)
55 Geant4eTrackRefitter = TrackRefitter.clone()
56 Geant4eTrackRefitter.Fitter = cms.string(
'G4eFitterSmoother')
57 Geant4eTrackRefitter.Propagator = cms.string(
'Geant4ePropagator')
59 geant4eTrackRefit = cms.Sequence(geopro*Geant4eTrackRefitter)