Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def TrackExtenderWithMTD(*args, **kwargs):
0004   mod = cms.EDProducer('TrackExtenderWithMTD',
0005     tracksSrc = cms.InputTag('generalTracks'),
0006     trjtrkAssSrc = cms.InputTag('generalTracks'),
0007     hitsSrc = cms.InputTag('mtdTrackingRecHits'),
0008     beamSpotSrc = cms.InputTag('offlineBeamSpot'),
0009     genVtxPositionSrc = cms.InputTag('genParticles', 'xyz0'),
0010     genVtxTimeSrc = cms.InputTag('genParticles', 't0'),
0011     vtxSrc = cms.InputTag('offlinePrimaryVertices4D'),
0012     updateTrackTrajectory = cms.bool(True),
0013     updateTrackExtra = cms.bool(True),
0014     updateTrackHitPattern = cms.bool(True),
0015     TransientTrackBuilder = cms.string('TransientTrackBuilder'),
0016     MTDRecHitBuilder = cms.string('MTDRecHitBuilder'),
0017     Propagator = cms.string('PropagatorWithMaterialForMTD'),
0018     TrackTransformer = cms.PSet(
0019       DoPredictionsOnly = cms.bool(False),
0020       Fitter = cms.string('KFFitterForRefitInsideOut'),
0021       Smoother = cms.string('KFSmootherForRefitInsideOut'),
0022       Propagator = cms.string('PropagatorWithMaterialForMTD'),
0023       RefitDirection = cms.string('alongMomentum'),
0024       RefitRPCHits = cms.bool(True),
0025       TrackerRecHitBuilder = cms.string('WithTrackAngle'),
0026       MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
0027       MTDRecHitBuilder = cms.string('MTDRecHitBuilder')
0028     ),
0029     estimatorMaxChi2 = cms.double(500),
0030     estimatorMaxNSigma = cms.double(10),
0031     btlChi2Cut = cms.double(50),
0032     btlTimeChi2Cut = cms.double(10),
0033     etlChi2Cut = cms.double(50),
0034     etlTimeChi2Cut = cms.double(10),
0035     useVertex = cms.bool(False),
0036     useSimVertex = cms.bool(False),
0037     dZCut = cms.double(0.1),
0038     bsTimeSpread = cms.double(0.2),
0039     mightGet = cms.optional.untracked.vstring
0040   )
0041   for a in args:
0042     mod.update_(a)
0043   mod.update_(kwargs)
0044   return mod