Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-08 03:35:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def AnalyticalTrackSelector(*args, **kwargs):
0004   mod = cms.EDProducer('AnalyticalTrackSelector',
0005     src = cms.InputTag('generalTracks'),
0006     keepAllTracks = cms.bool(False),
0007     beamspot = cms.InputTag('offlineBeamSpot'),
0008     useVertices = cms.bool(True),
0009     useVtxError = cms.bool(False),
0010     vertices = cms.InputTag('firstStepPrimaryVertices'),
0011     vtxNumber = cms.int32(-1),
0012     vertexCut = cms.string('ndof>=2&!isFake'),
0013     copyExtras = cms.untracked.bool(False),
0014     copyTrajectories = cms.untracked.bool(False),
0015     qualityBit = cms.string(''),
0016     chi2n_no1Dmod_par = cms.double(9999),
0017     chi2n_par = cms.double(1.6),
0018     res_par = cms.vdouble(
0019       0.003,
0020       0.01
0021     ),
0022     d0_par1 = cms.vdouble(
0023       0.55,
0024       4
0025     ),
0026     d0_par2 = cms.vdouble(
0027       0.65,
0028       4
0029     ),
0030     dz_par1 = cms.vdouble(
0031       0.55,
0032       4
0033     ),
0034     dz_par2 = cms.vdouble(
0035       0.45,
0036       4
0037     ),
0038     applyAdaptedPVCuts = cms.bool(True),
0039     max_d0 = cms.double(100),
0040     max_z0 = cms.double(100),
0041     nSigmaZ = cms.double(4),
0042     minNumberLayers = cms.uint32(0),
0043     minNumber3DLayers = cms.uint32(0),
0044     minHitsToBypassChecks = cms.uint32(20),
0045     maxNumberLostLayers = cms.uint32(999),
0046     applyAbsCutsIfNoPV = cms.bool(False),
0047     max_d0NoPV = cms.double(100),
0048     max_z0NoPV = cms.double(100),
0049     max_relpterr = cms.double(9999),
0050     min_nhits = cms.uint32(0),
0051     max_lostHitFraction = cms.double(1),
0052     max_minMissHitOutOrIn = cms.int32(99),
0053     max_eta = cms.double(9999),
0054     min_eta = cms.double(-9999),
0055     useMVA = cms.bool(False),
0056     useAnyMVA = cms.bool(False),
0057     useMVAonly = cms.bool(False),
0058     minMVA = cms.double(-1),
0059     GBRForestLabel = cms.string('MVASelectorIter0'),
0060     mvaType = cms.string('Detached'),
0061     mightGet = cms.optional.untracked.vstring
0062   )
0063   for a in args:
0064     mod.update_(a)
0065   mod.update_(kwargs)
0066   return mod