CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
cutsCKF_cfi.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # we want to keep all the tracks with many hits
4 # less hits but vertex association
5 # less hits but vertex association
6 # even less hits, but decent track
7 # end of cut sets
8 import FWCore.ParameterSet.Config as cms
9 
10 cutsCKF = cms.EDProducer("TrackMultiSelector",
11  src = cms.InputTag("ctfWithMaterialTracks"),
12  beamspot = cms.PSet( ## same as RecoTracker/TkTrackingRegions/data/GlobalTrackingRegionFromBeamSpot.cfi
13 
14  src = cms.InputTag("offlineBeamSpot"),
15  dzSigmas = cms.double(3.0), ## z window relative to the interaction point spread (given by the beamSpot)
16 
17  d0 = cms.double(0.2)
18  ),
19  vtxTracks = cms.uint32(3), ## at least 3 tracks
20 
21  vtxChi2Prob = cms.double(0.01), ## at least 1% chi2nprobability (if it has a chi2)
22 
23  #untracked bool copyTrajectories = true // when doing retracking before
24  copyTrajectories = cms.untracked.bool(False),
25  vertices = cms.InputTag("pixelVertices"),
26  vtxNumber = cms.int32(-1),
27  copyExtras = cms.untracked.bool(True), ## set to false on AOD
28 
29  splitOutputs = cms.untracked.bool(False),
30  cutSets = cms.VPSet(cms.PSet(
31  pt = cms.vdouble(0.3, 999999.0),
32  validLayers = cms.vuint32(10, 999999),
33  d0Rel = cms.double(9999.0),
34  lostHits = cms.vuint32(0, 999999),
35  chi2n = cms.vdouble(0.0, 999999.0),
36  dz = cms.double(5.0),
37  dzRel = cms.double(9999.0),
38  d0 = cms.double(1.0)
39  ),
40  cms.PSet(
41  pt = cms.vdouble(0.3, 999999.0),
42  validLayers = cms.vuint32(8, 9),
43  d0Rel = cms.double(10.0),
44  lostHits = cms.vuint32(0, 999999),
45  chi2n = cms.vdouble(0.0, 999999.0),
46  dz = cms.double(2.0),
47  dzRel = cms.double(10.0),
48  d0 = cms.double(0.2)
49  ),
50  cms.PSet(
51  pt = cms.vdouble(0.3, 999999.0),
52  validLayers = cms.vuint32(5, 7),
53  d0Rel = cms.double(7.0),
54  lostHits = cms.vuint32(0, 999999),
55  chi2n = cms.vdouble(0.0, 999999.0),
56  dz = cms.double(0.5),
57  dzRel = cms.double(7.0),
58  d0 = cms.double(0.04)
59  ),
60  cms.PSet(
61  pt = cms.vdouble(0.3, 999999.0),
62  validLayers = cms.vuint32(3, 4),
63  d0Rel = cms.double(3.0),
64  lostHits = cms.vuint32(0, 0),
65  chi2n = cms.vdouble(0.0, 100.0),
66  dz = cms.double(0.2),
67  dzRel = cms.double(3.0),
68  d0 = cms.double(0.02)
69  ))
70 )
71 
72