File indexing completed on 2025-01-12 23:41:28
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CosmicTrackSelector(*args, **kwargs):
0004 mod = cms.EDProducer('CosmicTrackSelector',
0005 src = cms.InputTag('ctfWithMaterialTracksCosmics'),
0006 beamspot = cms.InputTag('offlineBeamSpot'),
0007 copyExtras = cms.untracked.bool(True),
0008 copyTrajectories = cms.untracked.bool(False),
0009 keepAllTracks = cms.bool(False),
0010 chi2n_par = cms.double(10),
0011 max_d0 = cms.double(110),
0012 max_z0 = cms.double(300),
0013 min_pt = cms.double(1),
0014 max_eta = cms.double(2),
0015 min_nHit = cms.uint32(5),
0016 min_nPixelHit = cms.uint32(0),
0017 minNumberLayers = cms.uint32(0),
0018 minNumber3DLayers = cms.uint32(0),
0019 maxNumberLostLayers = cms.uint32(999),
0020 qualityBit = cms.string(''),
0021 mightGet = cms.optional.untracked.vstring
0022 )
0023 for a in args:
0024 mod.update_(a)
0025 mod.update_(kwargs)
0026 return mod