CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
selectHighPurity_cfi.py
Go to the documentation of this file.
2 
3 selectHighPurity = cms.EDProducer("AnalyticalTrackSelector",
4  src = cms.InputTag("generalTracks"),
5  keepAllTracks = cms.bool(False), ## if set to true tracks failing this filter are kept in the output
6  beamspot = cms.InputTag("offlineBeamSpot"),
7 
8  # vertex selection
9  vertices = cms.InputTag("pixelVertices"),
10  vtxNumber = cms.int32(-1),
11  vertexCut = cms.string('ndof>=2&!isFake'),
12 
13  #untracked bool copyTrajectories = true // when doing retracking before
14  copyTrajectories = cms.untracked.bool(False),
15  copyExtras = cms.untracked.bool(True), ## set to false on AOD
16  qualityBit = cms.string('highPurity'), ## set to '' or comment out if you don't want to set the bit
17 
18  # parameters for adapted optimal cuts on chi2 and primary vertex compatibility
19  chi2n_par = cms.double(0.7),
20  res_par = cms.vdouble(0.003, 0.001),
21  d0_par1 = cms.vdouble(0.3, 4.0),
22  dz_par1 = cms.vdouble(0.35, 4.0),
23  d0_par2 = cms.vdouble(0.4, 4.0),
24  dz_par2 = cms.vdouble(0.4, 4.0),
25  # Boolean indicating if adapted primary vertex compatibility cuts are to be applied.
26  applyAdaptedPVCuts = cms.bool(True),
27 
28  # Impact parameter absolute cuts.
29  max_d0 = cms.double(100.),
30  max_z0 = cms.double(100.),
31  nSigmaZ = cms.double(3.),
32 
33  # Cuts on numbers of layers with hits/3D hits/lost hits.
34  minNumberLayers = cms.uint32(3),
35  minNumber3DLayers = cms.uint32(3),
36  maxNumberLostLayers = cms.uint32(2),
37 
38  # Absolute cuts in case of no PV. If yes, please define also max_d0NoPV and max_z0NoPV
39  applyAbsCutsIfNoPV = cms.bool(False)
40 
41 )
42 
43