Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-20 03:45:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def SimpleTrackValidation(*args, **kwargs):
0004   mod = cms.EDAnalyzer('SimpleTrackValidation',
0005     trackLabels = cms.VInputTag('generalTracks'),
0006     trackingParticles = cms.InputTag('mix', 'MergedTrackTruth'),
0007     trackAssociator = cms.InputTag('trackingParticleRecoTrackAsssociation'),
0008     ptMinTP = cms.double(0.9),
0009     ptMaxTP = cms.double(1e+100),
0010     minRapidityTP = cms.double(-2.4),
0011     maxRapidityTP = cms.double(2.4),
0012     tipTP = cms.double(3.5),
0013     lipTP = cms.double(30),
0014     minHitTP = cms.int32(0),
0015     signalOnlyTP = cms.bool(True),
0016     intimeOnlyTP = cms.bool(False),
0017     chargedOnlyTP = cms.bool(True),
0018     stableOnlyTP = cms.bool(False),
0019     pdgIdTP = cms.vint32(),
0020     invertRapidityCutTP = cms.bool(False),
0021     minPhiTP = cms.double(-3.2),
0022     maxPhiTP = cms.double(3.2),
0023     mightGet = cms.optional.untracked.vstring
0024   )
0025   for a in args:
0026     mod.update_(a)
0027   mod.update_(kwargs)
0028   return mod