CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoTracker/FinalTrackSelectors/python/selectTight_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 selectTight = cms.EDProducer("AnalyticalTrackSelector",
00004     src = cms.InputTag("generalTracks"),
00005     keepAllTracks = cms.bool(False), ## if set to true tracks failing this filter are kept in the output
00006     beamspot = cms.InputTag("offlineBeamSpot"),
00007 
00008     # vertex selection 
00009     vertices = cms.InputTag("pixelVertices"),
00010     vtxNumber = cms.int32(-1),
00011     vertexCut = cms.string('ndof>=2&!isFake'),
00012 
00013     #untracked bool copyTrajectories = true // when doing retracking before
00014     copyTrajectories = cms.untracked.bool(False),
00015     copyExtras = cms.untracked.bool(True), ## set to false on AOD
00016     qualityBit = cms.string('tight'), ## set to '' or comment out if you don't want to set the bit
00017 
00018     # parameters for adapted optimal cuts on chi2 and primary vertex compatibility
00019     chi2n_par = cms.double(0.7),
00020     res_par = cms.vdouble(0.003, 0.01),
00021     d0_par1 = cms.vdouble(0.3, 4.0),
00022     dz_par1 = cms.vdouble(0.35, 4.0),
00023     d0_par2 = cms.vdouble(0.4, 4.0),
00024     dz_par2 = cms.vdouble(0.4, 4.0),
00025     # Boolean indicating if adapted primary vertex compatibility cuts are to be applied.
00026     applyAdaptedPVCuts = cms.bool(True),
00027 
00028     # Impact parameter absolute cuts.
00029     max_d0 = cms.double(100.),
00030     max_z0 = cms.double(100.),
00031     nSigmaZ = cms.double(3.),
00032 
00033     # Cuts on numbers of layers with hits/3D hits/lost hits. 
00034     minNumberLayers = cms.uint32(3),
00035     minNumber3DLayers = cms.uint32(3),
00036     maxNumberLostLayers = cms.uint32(2),
00037                            
00038     # Absolute cuts in case of no PV. If yes, please define also max_d0NoPV and max_z0NoPV 
00039     applyAbsCutsIfNoPV = cms.bool(False)
00040                              
00041 )
00042 
00043