File indexing completed on 2024-08-27 22:59:36
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TrackingNtuple(**kwargs):
0004 mod = cms.EDAnalyzer('TrackingNtuple',
0005 seedTracks = cms.untracked.VInputTag(
0006 'seedTracksinitialStepSeeds',
0007 'seedTracksdetachedTripletStepSeeds',
0008 'seedTrackspixelPairStepSeeds',
0009 'seedTrackslowPtTripletStepSeeds',
0010 'seedTracksmixedTripletStepSeeds',
0011 'seedTrackspixelLessStepSeeds',
0012 'seedTrackstobTecStepSeeds',
0013 'seedTracksjetCoreRegionalStepSeeds',
0014 'seedTracksmuonSeededSeedsInOut',
0015 'seedTracksmuonSeededSeedsOutIn'
0016 ),
0017 trackCandidates = cms.untracked.VInputTag(
0018 'initialStepTrackCandidates',
0019 'detachedTripletStepTrackCandidates',
0020 'pixelPairStepTrackCandidates',
0021 'lowPtTripletStepTrackCandidates',
0022 'mixedTripletStepTrackCandidates',
0023 'pixelLessStepTrackCandidates',
0024 'tobTecStepTrackCandidates',
0025 'jetCoreRegionalStepTrackCandidates',
0026 'muonSeededTrackCandidatesInOut',
0027 'muonSeededTrackCandidatesOutIn'
0028 ),
0029 tracks = cms.untracked.InputTag('generalTracks'),
0030 trackMVAs = cms.untracked.vstring('generalTracks'),
0031 clusterMasks = cms.untracked.VPSet(
0032 cms.PSet(
0033 index = cms.untracked.uint32(24),
0034 src = cms.untracked.InputTag('detachedQuadStepClusters')
0035 ),
0036 cms.PSet(
0037 index = cms.untracked.uint32(22),
0038 src = cms.untracked.InputTag('highPtTripletStepClusters')
0039 ),
0040 cms.PSet(
0041 index = cms.untracked.uint32(7),
0042 src = cms.untracked.InputTag('detachedTripletStepClusters')
0043 ),
0044 cms.PSet(
0045 index = cms.untracked.uint32(23),
0046 src = cms.untracked.InputTag('lowPtQuadStepClusters')
0047 ),
0048 cms.PSet(
0049 index = cms.untracked.uint32(5),
0050 src = cms.untracked.InputTag('lowPtTripletStepClusters')
0051 ),
0052 cms.PSet(
0053 index = cms.untracked.uint32(8),
0054 src = cms.untracked.InputTag('mixedTripletStepClusters')
0055 ),
0056 cms.PSet(
0057 index = cms.untracked.uint32(9),
0058 src = cms.untracked.InputTag('pixelLessStepClusters')
0059 ),
0060 cms.PSet(
0061 index = cms.untracked.uint32(6),
0062 src = cms.untracked.InputTag('pixelPairStepClusters')
0063 ),
0064 cms.PSet(
0065 index = cms.untracked.uint32(10),
0066 src = cms.untracked.InputTag('tobTecStepClusters')
0067 )
0068 ),
0069 trackingParticles = cms.untracked.InputTag('mix', 'MergedTrackTruth'),
0070 trackingParticlesRef = cms.untracked.bool(False),
0071 clusterTPMap = cms.untracked.InputTag('tpClusterProducer'),
0072 simHitTPMap = cms.untracked.InputTag('simHitTPAssocProducer'),
0073 trackAssociator = cms.untracked.InputTag('quickTrackAssociatorByHits'),
0074 pixelDigiSimLink = cms.untracked.InputTag('simSiPixelDigis'),
0075 stripDigiSimLink = cms.untracked.InputTag('simSiStripDigis'),
0076 phase2OTSimLink = cms.untracked.InputTag(''),
0077 beamSpot = cms.untracked.InputTag('offlineBeamSpot'),
0078 pixelRecHits = cms.untracked.InputTag('siPixelRecHits'),
0079 stripRphiRecHits = cms.untracked.InputTag('siStripMatchedRecHits', 'rphiRecHit'),
0080 stripStereoRecHits = cms.untracked.InputTag('siStripMatchedRecHits', 'stereoRecHit'),
0081 stripMatchedRecHits = cms.untracked.InputTag('siStripMatchedRecHits', 'matchedRecHit'),
0082 phase2OTRecHits = cms.untracked.InputTag('siPhase2RecHits'),
0083 vertices = cms.untracked.InputTag('offlinePrimaryVertices'),
0084 trackingVertices = cms.untracked.InputTag('mix', 'MergedTrackTruth'),
0085 trackingParticleNlayers = cms.untracked.InputTag('trackingParticleNumberOfLayersProducer', 'trackerLayers'),
0086 trackingParticleNpixellayers = cms.untracked.InputTag('trackingParticleNumberOfLayersProducer', 'pixelLayers'),
0087 trackingParticleNstripstereolayers = cms.untracked.InputTag('trackingParticleNumberOfLayersProducer', 'stripStereoLayers'),
0088 TTRHBuilder = cms.untracked.string('WithTrackAngle'),
0089 includeSeeds = cms.untracked.bool(False),
0090 includeTrackCandidates = cms.untracked.bool(False),
0091 addSeedCurvCov = cms.untracked.bool(False),
0092 includeAllHits = cms.untracked.bool(False),
0093 includeOnTrackHitData = cms.untracked.bool(False),
0094 includeMVA = cms.untracked.bool(True),
0095 includeTrackingParticles = cms.untracked.bool(True),
0096 includeOOT = cms.untracked.bool(False),
0097 keepEleSimHits = cms.untracked.bool(False),
0098 saveSimHitsP3 = cms.untracked.bool(False),
0099 simHitBySignificance = cms.untracked.bool(False),
0100 mightGet = cms.optional.untracked.vstring
0101 )
0102 for k,v in kwargs.items():
0103 setattr(mod, k, v)
0104 return mod