CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoTracker/FinalTrackSelectors/python/selectLoose_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 selectLoose = 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     useVertices = cms.bool(True),
00010     useVtxError = cms.bool(False),
00011     vertices = cms.InputTag("pixelVertices"),
00012     vtxNumber = cms.int32(-1),
00013     vertexCut = cms.string('ndof>=2&!isFake'),
00014 
00015     #untracked bool copyTrajectories = true // when doing retracking before
00016     copyTrajectories = cms.untracked.bool(False),
00017     copyExtras = cms.untracked.bool(True), ## set to false on AOD
00018     qualityBit = cms.string('loose'), ## set to '' or comment out if you don't want to set the bit
00019 
00020     # parameters for adapted optimal cuts on chi2 and primary vertex compatibility
00021     chi2n_par = cms.double(1.6),
00022     chi2n_no1Dmod_par = cms.double(9999.),
00023     res_par = cms.vdouble(0.003, 0.01),
00024     d0_par1 = cms.vdouble(0.55, 4.0),
00025     dz_par1 = cms.vdouble(0.65, 4.0),
00026     d0_par2 = cms.vdouble(0.55, 4.0),
00027     dz_par2 = cms.vdouble(0.45, 4.0),
00028     # Boolean indicating if adapted primary vertex compatibility cuts are to be applied.
00029     applyAdaptedPVCuts = cms.bool(True),
00030 
00031     # Impact parameter absolute cuts.
00032     max_d0 = cms.double(100.),
00033     max_z0 = cms.double(100.),
00034     nSigmaZ = cms.double(4.),
00035 
00036     # Cuts on numbers of layers with hits/3D hits/lost hits. 
00037     minNumberLayers = cms.uint32(0),
00038     minNumber3DLayers = cms.uint32(0),
00039     maxNumberLostLayers = cms.uint32(999),
00040     minHitsToBypassChecks = cms.uint32(20),
00041 
00042     # Absolute cuts in case of no PV. If yes, please define also max_d0NoPV and max_z0NoPV 
00043     applyAbsCutsIfNoPV = cms.bool(False),
00044     max_d0NoPV = cms.double( 100.0 ),
00045     max_z0NoPV = cms.double( 100.0 ),
00046 
00047     # parameters for cutting on pterror/pt and number of valid hits
00048     max_relpterr = cms.double(9999.),
00049     min_nhits = cms.uint32(0),
00050 
00051     # parameters for cutting on eta
00052     max_eta = cms.double(9999.),
00053     min_eta = cms.double(-9999.)
00054 
00055 )