Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-07 14:24:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def CTPPSDiamondLocalTrackFitter(*args, **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 a in args:
0022     mod.update_(a)
0023   mod.update_(kwargs)
0024   return mod