Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 cosmictrackSelector = cms.EDProducer("CosmicTrackSelector",
0004                                      src = cms.InputTag("ctfWithMaterialTracksCosmics"),
0005                                      keepAllTracks = cms.bool(False), ## if set to true tracks failing this filter are kept in the output
0006                                      beamspot = cms.InputTag("offlineBeamSpot"),
0007                                      #untracked bool copyTrajectories = true // when doing retracking before
0008                                      copyTrajectories = cms.untracked.bool(False),
0009                                      copyExtras = cms.untracked.bool(True), ## set to false on AOD
0010                                      qualityBit = cms.string(''), # set to '' or comment out if you don't want to set the bit                                     
0011                                      # parameters for adapted optimal cuts on chi2
0012                                      chi2n_par = cms.double(10.0),
0013                                      # Impact parameter absolute cuts.
0014                                      max_d0 = cms.double(110.),
0015                                      max_z0 = cms.double(300.),
0016                                      # track parameter cuts 
0017                                      max_eta = cms.double(2.0),
0018                                      min_pt = cms.double(1.0),
0019                                      # Cut on numbers of valid hits
0020                                      min_nHit = cms.uint32(5),
0021                                      # Cut on number of Pixel Hit 
0022                                      min_nPixelHit = cms.uint32(0),
0023                                      # Cuts on numbers of layers with hits/3D hits/lost hits. 
0024                                      minNumberLayers = cms.uint32(0),
0025                                      minNumber3DLayers = cms.uint32(0),
0026                                      maxNumberLostLayers = cms.uint32(999)
0027                                      )
0028 
0029