File indexing completed on 2024-04-06 12:09:12
0001 import FWCore.ParameterSet.Config as cms
0002 import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg
0003
0004 seedMonitoring = {}
0005
0006 seedMonitoring['initialStep'] = cms.PSet(
0007 seedInputTag = cms.InputTag("initialStepSeeds"),
0008 trackCandInputTag = cms.InputTag("initialStepTrackCandidates"),
0009 trackSeedSizeBin = cms.int32(100),
0010 trackSeedSizeMin = cms.double(0),
0011 trackSeedSizeMax = cms.double(5000),
0012 clusterLabel = cms.vstring('Pix'),
0013 clusterBin = cms.int32(100),
0014 clusterMax = cms.double(20000),
0015 )
0016
0017 seedMonitoring['highPtTripletStep'] = cms.PSet(
0018 seedInputTag = cms.InputTag("highPtTripletStepSeeds"),
0019 trackCandInputTag = cms.InputTag("highPtTripletStepTrackCandidates"),
0020 trackSeedSizeBin = cms.int32(100),
0021 trackSeedSizeMin = cms.double(0),
0022 trackSeedSizeMax = cms.double(30000),
0023 clusterLabel = cms.vstring('Pix'),
0024 clusterBin = cms.int32(100),
0025 clusterMax = cms.double(20000),
0026 )
0027
0028 seedMonitoring['lowPtQuadStep'] = cms.PSet(
0029 seedInputTag = cms.InputTag("lowPtQuadStepSeeds"),
0030 trackCandInputTag = cms.InputTag("lowPtQuadStepTrackCandidates"),
0031 trackSeedSizeBin = cms.int32(100),
0032 trackSeedSizeMin = cms.double(0),
0033 trackSeedSizeMax = cms.double(10000),
0034 clusterLabel = cms.vstring('Pix'),
0035 clusterBin = cms.int32(100),
0036 clusterMax = cms.double(20000),
0037 )
0038
0039 seedMonitoring['lowPtTripletStep'] = cms.PSet(
0040 seedInputTag = cms.InputTag("lowPtTripletStepSeeds"),
0041 trackCandInputTag = cms.InputTag("lowPtTripletStepTrackCandidates"),
0042 trackSeedSizeBin = cms.int32(100),
0043 trackSeedSizeMin = cms.double(0),
0044 trackSeedSizeMax = cms.double(30000),
0045 clusterLabel = cms.vstring('Pix'),
0046 clusterBin = cms.int32(100),
0047 clusterMax = cms.double(20000),
0048 )
0049
0050 seedMonitoring['pixelPairStep'] = cms.PSet(
0051 seedInputTag = cms.InputTag("pixelPairStepSeeds"),
0052 trackCandInputTag = cms.InputTag("pixelPairStepTrackCandidates"),
0053 trackSeedSizeBin = cms.int32(400),
0054 trackSeedSizeMin = cms.double(0),
0055 trackSeedSizeMax = cms.double(10000),
0056 TCSizeMax = cms.double(199.5),
0057 clusterLabel = cms.vstring('Pix'),
0058 clusterBin = cms.int32(100),
0059 clusterMax = cms.double(20000),
0060 )
0061 from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
0062 trackingPhase1.toModify(seedMonitoring['pixelPairStep'],
0063 RegionSeedingLayersProducer = cms.InputTag("pixelPairStepTrackingRegionsSeedLayersB"),
0064 RegionSizeBin = cms.int32(100),
0065 RegionSizeMax = cms.double(399.5),
0066 )
0067
0068 seedMonitoring['detachedQuadStep'] = cms.PSet(
0069 seedInputTag = cms.InputTag("detachedQuadStepSeeds"),
0070 trackCandInputTag = cms.InputTag("detachedQuadStepTrackCandidates"),
0071 trackSeedSizeBin = cms.int32(100),
0072 trackSeedSizeMin = cms.double(0),
0073 trackSeedSizeMax = cms.double(10000),
0074 TCSizeMax = cms.double(199.5),
0075 clusterLabel = cms.vstring('Pix'),
0076 clusterBin = cms.int32(100),
0077 clusterMax = cms.double(20000),
0078 )
0079
0080 seedMonitoring['detachedTripletStep'] = cms.PSet(
0081 seedInputTag = cms.InputTag("detachedTripletStepSeeds"),
0082 trackCandInputTag = cms.InputTag("detachedTripletStepTrackCandidates"),
0083 trackSeedSizeBin = cms.int32(100),
0084 trackSeedSizeMin = cms.double(0),
0085 trackSeedSizeMax = cms.double(30000),
0086 clusterLabel = cms.vstring('Pix'),
0087 clusterBin = cms.int32(100),
0088 clusterMax = cms.double(20000),
0089 )
0090
0091 seedMonitoring['mixedTripletStep'] = cms.PSet(
0092 seedInputTag = cms.InputTag("mixedTripletStepSeeds"),
0093 trackCandInputTag = cms.InputTag("mixedTripletStepTrackCandidates"),
0094 trackSeedSizeBin = cms.int32(200),
0095 trackSeedSizeMin = cms.double(0),
0096 trackSeedSizeMax = cms.double(10000),
0097 TCSizeMax = cms.double(199.5),
0098 clusterLabel = cms.vstring('Tot'),
0099 clusterBin = cms.int32(100),
0100 clusterMax = cms.double(100000),
0101 )
0102
0103 seedMonitoring['pixelLessStep'] = cms.PSet(
0104 seedInputTag = cms.InputTag("pixelLessStepSeeds"),
0105 trackCandInputTag = cms.InputTag("pixelLessStepTrackCandidates"),
0106 trackSeedSizeBin = cms.int32(400),
0107 trackSeedSizeMin = cms.double(0),
0108 trackSeedSizeMax = cms.double(200000),
0109 clusterLabel = cms.vstring('Strip'),
0110 clusterBin = cms.int32(500),
0111 clusterMax = cms.double(100000),
0112 )
0113
0114 seedMonitoring['tobTecStep'] = cms.PSet(
0115 seedInputTag = cms.InputTag("tobTecStepSeeds"),
0116 trackCandInputTag= cms.InputTag("tobTecStepTrackCandidates"),
0117 trackSeedSizeBin = cms.int32(400),
0118 trackSeedSizeMin = cms.double(0),
0119 trackSeedSizeMax = cms.double(100000),
0120 TCSizeMax = cms.double(199.5),
0121 clusterLabel = cms.vstring('Strip'),
0122 clusterBin = cms.int32(100),
0123 clusterMax = cms.double(100000),
0124 )
0125
0126 seedMonitoring['displacedGeneralStep'] = cms.PSet(
0127 seedInputTag = cms.InputTag("displacedGeneralStepSeeds"),
0128 trackCandInputTag= cms.InputTag("displacedGeneralStepTrackCandidates"),
0129 trackSeedSizeBin = cms.int32(400),
0130 trackSeedSizeMin = cms.double(0),
0131 trackSeedSizeMax = cms.double(100000),
0132 TCSizeMax = cms.double(199.5),
0133 clusterLabel = cms.vstring('Strip'),
0134 clusterBin = cms.int32(100),
0135 clusterMax = cms.double(100000),
0136 )
0137
0138
0139 seedMonitoring['muonSeededStepInOut'] = cms.PSet(
0140 seedInputTag = cms.InputTag("muonSeededSeedsInOut"),
0141 trackCandInputTag = cms.InputTag("muonSeededTrackCandidatesInOut"),
0142 trackSeedSizeBin = cms.int32(30),
0143 trackSeedSizeMin = cms.double(-0.5),
0144 trackSeedSizeMax = cms.double(29.5),
0145 TCSizeMax = cms.double(199.5),
0146 clusterLabel = cms.vstring('Strip'),
0147 clusterBin = cms.int32(100),
0148 clusterMax = cms.double(100000),
0149 )
0150
0151 seedMonitoring['muonSeededStepOutIn'] = cms.PSet(
0152 seedInputTag = cms.InputTag("muonSeededSeedsOutIn"),
0153 trackCandInputTag = cms.InputTag("muonSeededTrackCandidatesOutIn"),
0154 trackSeedSizeBin = cms.int32(30),
0155 trackSeedSizeMin = cms.double(-0.5),
0156 trackSeedSizeMax = cms.double(29.5),
0157 TCSizeMax = cms.double(199.5),
0158 clusterLabel = cms.vstring('Strip'),
0159 clusterBin = cms.int32(100),
0160 clusterMax = cms.double(100000),
0161 )
0162
0163 seedMonitoring['displacedRegionalStep'] = cms.PSet(
0164 seedInputTag = cms.InputTag("displacedRegionalStepSeeds"),
0165 trackCandInputTag= cms.InputTag("displacedRegionalStepTrackCandidates"),
0166 trackSeedSizeBin = cms.int32(400),
0167 trackSeedSizeMin = cms.double(0),
0168 trackSeedSizeMax = cms.double(100000),
0169 TCSizeMax = cms.double(199.5),
0170 clusterLabel = cms.vstring('Strip'),
0171 clusterBin = cms.int32(100),
0172 clusterMax = cms.double(100000),
0173 )
0174
0175 seedMonitoring['muonSeededStepOutInDisplaced'] = cms.PSet(
0176 seedInputTag = cms.InputTag("muonSeededSeedsOutInDisplaced"),
0177 trackCandInputTag = cms.InputTag("muonSeededTrackCandidatesOutInDisplacedg"),
0178 trackSeedSizeBin = cms.int32(30),
0179 trackSeedSizeMin = cms.double(-0.5),
0180 trackSeedSizeMax = cms.double(29.5),
0181 TCSizeMax = cms.double(199.5),
0182 clusterLabel = cms.vstring('Strip'),
0183 clusterBin = cms.int32(100),
0184 clusterMax = cms.double(100000),
0185 )
0186
0187 seedMonitoring['jetCoreRegionalStep'] = cms.PSet(
0188 seedInputTag = cms.InputTag("jetCoreRegionalStepSeeds"),
0189 trackCandInputTag = cms.InputTag("jetCoreRegionalStepTrackCandidates"),
0190 trackSeedSizeBin = cms.int32(100),
0191 trackSeedSizeMin = cms.double(-0.5),
0192 trackSeedSizeMax = cms.double(199.5),
0193 clusterLabel = cms.vstring('Tot'),
0194 clusterBin = cms.int32(100),
0195 clusterMax = cms.double(100000),
0196 RegionProducer = cms.InputTag("jetCoreRegionalStepTrackingRegions"),
0197 RegionCandidates = cms.InputTag("jetsForCoreTracking"),
0198 trajCandPerSeedBin = cms.int32(50),
0199 trajCandPerSeedMax = cms.double(49.5),
0200 )
0201
0202 seedMonitoring['jetCoreRegionalStepBarrel'] = cms.PSet(
0203 seedInputTag = cms.InputTag("jetCoreRegionalStepSeedsBarrel"),
0204 trackCandInputTag = cms.InputTag("jetCoreRegionalStepBarrelTrackCandidates"),
0205 trackSeedSizeBin = cms.int32(100),
0206 trackSeedSizeMin = cms.double(-0.5),
0207 trackSeedSizeMax = cms.double(199.5),
0208 clusterLabel = cms.vstring('Tot'),
0209 clusterBin = cms.int32(100),
0210 clusterMax = cms.double(100000),
0211 RegionProducer = cms.InputTag("jetCoreRegionalStepBarrelTrackingRegions"),
0212 RegionCandidates = cms.InputTag("jetsForCoreTrackingBarrel"),
0213 trajCandPerSeedBin = cms.int32(50),
0214 trajCandPerSeedMax = cms.double(49.5),
0215 doMVAPlots = cms.bool(True),
0216 TrackProducerForMVA = cms.InputTag("jetCoreRegionalStepBarrelTracks"),
0217 MVAProducers = cms.InputTag("jetCoreRegionalBarrelStep"),
0218 )
0219
0220 seedMonitoring['jetCoreRegionalStepEndcap'] = cms.PSet(
0221 seedInputTag = cms.InputTag("jetCoreRegionalStepSeedsEndcap"),
0222 trackCandInputTag = cms.InputTag("jetCoreRegionalStepEndcapTrackCandidates"),
0223 trackSeedSizeBin = cms.int32(100),
0224 trackSeedSizeMin = cms.double(-0.5),
0225 trackSeedSizeMax = cms.double(199.5),
0226 clusterLabel = cms.vstring('Tot'),
0227 clusterBin = cms.int32(100),
0228 clusterMax = cms.double(100000),
0229 RegionProducer = cms.InputTag("jetCoreRegionalStepEndcapTrackingRegions"),
0230 RegionCandidates = cms.InputTag("jetsForCoreTrackingEndcap"),
0231 trajCandPerSeedBin = cms.int32(50),
0232 trajCandPerSeedMax = cms.double(49.5),
0233 doMVAPlots = cms.bool(True),
0234 TrackProducerForMVA = cms.InputTag("jetCoreRegionalStepEndcapTracks"),
0235 MVAProducers = cms.InputTag("jetCoreRegionalEndcapStep"),
0236 )
0237
0238 for _eraName, _postfix, _era in _cfg.allEras():
0239 locals()["selectedIterTrackingStep"+_postfix] = _cfg.iterationAlgos(_postfix)
0240
0241