Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:09

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 selectTight = cms.EDProducer("AnalyticalTrackSelector",
0004     src = cms.InputTag("generalTracks"),
0005     keepAllTracks = cms.bool(False), ## if set to true tracks failing this filter are kept in the output
0006     beamspot = cms.InputTag("offlineBeamSpot"),
0007 
0008     # vertex selection 
0009     useVertices = cms.bool(True),
0010     useVtxError = cms.bool(False),
0011     vertices = cms.InputTag("firstStepPrimaryVertices"),
0012     vtxNumber = cms.int32(-1),
0013     vertexCut = cms.string('ndof>=2&!isFake'),
0014 
0015     #untracked bool copyTrajectories = true // when doing retracking before
0016     copyTrajectories = cms.untracked.bool(False),
0017     copyExtras = cms.untracked.bool(True), ## set to false on AOD
0018     qualityBit = cms.string('tight'), ## set to '' or comment out if you don't want to set the bit
0019 
0020     # parameters for adapted optimal cuts on chi2 and primary vertex compatibility
0021     chi2n_par = cms.double(0.7),
0022     chi2n_no1Dmod_par = cms.double(9999.),
0023     res_par = cms.vdouble(0.003, 0.01),
0024     d0_par1 = cms.vdouble(0.3, 4.0),
0025     dz_par1 = cms.vdouble(0.35, 4.0),
0026     d0_par2 = cms.vdouble(0.4, 4.0),
0027     dz_par2 = cms.vdouble(0.4, 4.0),
0028     # Boolean indicating if adapted primary vertex compatibility cuts are to be applied.
0029     applyAdaptedPVCuts = cms.bool(True),
0030 
0031     # Impact parameter absolute cuts.
0032     max_d0 = cms.double(100.),
0033     max_z0 = cms.double(100.),
0034     nSigmaZ = cms.double(4.),
0035 
0036     # Cuts on numbers of layers with hits/3D hits/lost hits. 
0037     minNumberLayers = cms.uint32(3),
0038     minNumber3DLayers = cms.uint32(3),
0039     maxNumberLostLayers = cms.uint32(2),
0040     minHitsToBypassChecks = cms.uint32(20),
0041 
0042     # Absolute cuts in case of no PV. If yes, please define also max_d0NoPV and max_z0NoPV 
0043     applyAbsCutsIfNoPV = cms.bool(False),
0044     max_d0NoPV = cms.double( 100.0 ),
0045     max_z0NoPV = cms.double( 100.0 ),
0046 
0047     # parameters for cutting on pterror/pt and number of valid hits
0048     max_relpterr = cms.double(9999.),
0049     min_nhits = cms.uint32(0),
0050 
0051     max_minMissHitOutOrIn = cms.int32(99),
0052     max_lostHitFraction = cms.double(1.0),
0053 
0054     # parameters for cutting on eta
0055     max_eta = cms.double(9999.),
0056     min_eta = cms.double(-9999.)
0057 
0058 )