CMS 3D CMS Logo

cosmictrackSelector_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 cosmictrackSelector = cms.EDProducer("CosmicTrackSelector",
4  src = cms.InputTag("ctfWithMaterialTracksCosmics"),
5  keepAllTracks = cms.bool(False), ## if set to true tracks failing this filter are kept in the output
6  beamspot = cms.InputTag("offlineBeamSpot"),
7  #untracked bool copyTrajectories = true // when doing retracking before
8  copyTrajectories = cms.untracked.bool(False),
9  copyExtras = cms.untracked.bool(True), ## set to false on AOD
10  qualityBit = cms.string(''), # set to '' or comment out if you don't want to set the bit
11  # parameters for adapted optimal cuts on chi2
12  chi2n_par = cms.double(10.0),
13  # Impact parameter absolute cuts.
14  max_d0 = cms.double(110.),
15  max_z0 = cms.double(300.),
16  # track parameter cuts
17  max_eta = cms.double(2.0),
18  min_pt = cms.double(1.0),
19  # Cut on numbers of valid hits
20  min_nHit = cms.uint32(5),
21  # Cut on number of Pixel Hit
22  min_nPixelHit = cms.uint32(0),
23  # Cuts on numbers of layers with hits/3D hits/lost hits.
24  minNumberLayers = cms.uint32(0),
25  minNumber3DLayers = cms.uint32(0),
26  maxNumberLostLayers = cms.uint32(999)
27  )
28 
29