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  useVertices = cms.bool(True),
10  useVtxError = cms.bool(False),
11  vertices = cms.InputTag("pixelVertices"),
12  vtxNumber = cms.int32(-1),
13  vertexCut = cms.string('ndof>=2&!isFake'),
14 
15  #untracked bool copyTrajectories = true // when doing retracking before
16  copyTrajectories = cms.untracked.bool(False),
17  copyExtras = cms.untracked.bool(True), ## set to false on AOD
18  qualityBit = cms.string('highPurity'), ## set to '' or comment out if you don't want to set the bit
19 
20  # parameters for adapted optimal cuts on chi2 and primary vertex compatibility
21  chi2n_par = cms.double(0.7),
22  chi2n_no1Dmod_par = cms.double(9999.),
23  res_par = cms.vdouble(0.003, 0.001),
24  d0_par1 = cms.vdouble(0.3, 4.0),
25  dz_par1 = cms.vdouble(0.35, 4.0),
26  d0_par2 = cms.vdouble(0.4, 4.0),
27  dz_par2 = cms.vdouble(0.4, 4.0),
28  # Boolean indicating if adapted primary vertex compatibility cuts are to be applied.
29  applyAdaptedPVCuts = cms.bool(True),
30 
31  # Impact parameter absolute cuts.
32  max_d0 = cms.double(100.),
33  max_z0 = cms.double(100.),
34  nSigmaZ = cms.double(4.),
35 
36  # Cuts on numbers of layers with hits/3D hits/lost hits.
37  minNumberLayers = cms.uint32(3),
38  minNumber3DLayers = cms.uint32(3),
39  maxNumberLostLayers = cms.uint32(2),
40  minHitsToBypassChecks = cms.uint32(20),
41 
42  # Absolute cuts in case of no PV. If yes, please define also max_d0NoPV and max_z0NoPV
43  applyAbsCutsIfNoPV = cms.bool(False),
44  max_d0NoPV = cms.double( 100.0 ),
45  max_z0NoPV = cms.double( 100.0 ),
46 
47  # parameters for cutting on pterror/pt and number of valid hits
48  max_relpterr = cms.double(9999.),
49  min_nhits = cms.uint32(0),
50 
51  # parameters for cutting on eta
52  max_eta = cms.double(9999.),
53  min_eta = cms.double(-9999.)
54 
55 )