File indexing completed on 2024-08-27 22:59:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CTPPSDiamondLocalTrackFitter(**kwargs):
0004 mod = cms.EDProducer('CTPPSDiamondLocalTrackFitter',
0005 recHitsTag = cms.InputTag('ctppsDiamondRecHits'),
0006 trackingAlgorithmParams = cms.PSet(
0007 threshold = cms.double(1.5),
0008 thresholdFromMaximum = cms.double(0.5),
0009 resolution = cms.double(0.01),
0010 sigma = cms.double(0.1),
0011 startFromX = cms.double(-0.5),
0012 stopAtX = cms.double(19.5),
0013 tolerance = cms.double(0.1),
0014 pixelEfficiencyFunction = cms.string('(x>[0]-0.5*[1])*(x<[0]+0.5*[1])+0*[2]'),
0015 yPosition = cms.double(0),
0016 yWidth = cms.double(0),
0017 excludeSingleEdgeHits = cms.bool(True)
0018 ),
0019 mightGet = cms.optional.untracked.vstring
0020 )
0021 for k,v in kwargs.items():
0022 setattr(mod, k, v)
0023 return mod