CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
selectTighter_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 selectTight = cms.EDProducer("AnalyticalTrackSelector",
4  src = cms.InputTag("generalTracks"),
5  keepAllTracks = cms.bool(False),
6  beamspot = cms.InputTag("offlineBeamSpot"),
7 
8  # vertex selection
9  useVertices = cms.bool(True),
10  useVtxError = cms.bool(False),
11  vertices = cms.InputTag("firstStepPrimaryVertices"),
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),
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(4),
38  minNumber3DLayers = cms.uint32(4),
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  max_minMissHitOutOrIn = cms.int32(99),
52  max_lostHitFraction = cms.double(1.0),
53 
54  # parameters for cutting on eta
55  max_eta = cms.double(9999.),
56  min_eta = cms.double(-9999.)
57 
58 )