4 if hasattr(process,
'DigiToRaw'):
6 if hasattr(process,
'RawToDigi'):
9 if hasattr(process,
'reconstruction')
or hasattr(process,
'dqmoffline_step'):
10 if hasattr(process,
'mix'):
11 if hasattr(process.mix,
'input'):
12 n=process.mix.input.nbPileupEvents.averageNumber.value()
14 print 'phase1TkCustoms requires a --pileup option to cmsDriver to run the reconstruction/dqm'
15 print 'Please provide one!'
17 if hasattr(process,
'reconstruction'):
19 if hasattr(process,
'digitisation_step'):
21 if hasattr(process,
'dqmoffline_step'):
23 if hasattr(process,
'dqmHarvesting'):
25 if hasattr(process,
'validation_step'):
32 process.mix.digitizers.pixel.MissCalibrate =
False
33 process.mix.digitizers.pixel.LorentzAngle_DB =
False
34 process.mix.digitizers.pixel.killModules =
False
35 process.mix.digitizers.pixel.useDB =
False
36 process.mix.digitizers.pixel.DeadModules_DB =
False
37 process.mix.digitizers.pixel.NumPixelBarrel = cms.int32(10)
38 process.mix.digitizers.pixel.NumPixelEndcap = cms.int32(10)
39 process.mix.digitizers.pixel.ThresholdInElectrons_FPix = cms.double(2000.0)
40 process.mix.digitizers.pixel.ThresholdInElectrons_BPix = cms.double(2000.0)
41 process.mix.digitizers.pixel.ThresholdInElectrons_BPix_L1 = cms.double(2000.0)
42 process.mix.digitizers.pixel.thePixelColEfficiency_BPix4 = cms.double(0.999)
43 process.mix.digitizers.pixel.thePixelEfficiency_BPix4 = cms.double(0.999)
44 process.mix.digitizers.pixel.thePixelChipEfficiency_BPix4 = cms.double(0.999)
45 process.mix.digitizers.pixel.thePixelColEfficiency_FPix3 = cms.double(0.999)
46 process.mix.digitizers.pixel.thePixelEfficiency_FPix3 = cms.double(0.999)
47 process.mix.digitizers.pixel.thePixelChipEfficiency_FPix3 = cms.double(0.999)
48 process.mix.digitizers.pixel.AddPixelInefficiencyFromPython = cms.bool(
False)
49 process.mix.digitizers.strip.ROUList = cms.vstring(
"g4SimHitsTrackerHitsPixelBarrelLowTof",
50 'g4SimHitsTrackerHitsPixelEndcapLowTof')
51 process.digitisation_step.remove(process.simSiStripDigiSimLink)
52 process.mergedtruth.simHitCollections.tracker = []
57 process.digi2raw_step.remove(process.siPixelRawData)
58 process.digi2raw_step.remove(process.rpcpacker)
62 process.raw2digi_step.remove(process.siPixelDigis)
69 process.reconstruction.remove(process.pixelLessStepSeedClusterMask)
70 process.reconstruction.remove(process.castorreco)
71 process.reconstruction.remove(process.CastorTowerReco)
72 process.reconstruction.remove(process.ak7BasicJets)
73 process.reconstruction.remove(process.ak7CastorJetID)
76 process.MixedTripletStep.remove(process.mixedTripletStepSeedsB)
77 process.mixedTripletStepSeeds = cms.EDProducer(
"SeedCombiner",
78 seedCollections = cms.VInputTag(cms.InputTag(
"mixedTripletStepSeedsA"))
80 process.load(
"RecoTracker.IterativeTracking.HighPtTripletStep_cff")
81 from RecoTracker.IterativeTracking.HighPtTripletStep_cff
import HighPtTripletStep
82 process.iterTracking = cms.Sequence(process.InitialStep*
83 process.HighPtTripletStep*
84 process.LowPtTripletStep*
85 process.PixelPairStep*
86 process.DetachedTripletStep*
87 process.MixedTripletStep*
90 process.earlyGeneralTracks*
91 process.muonSeededStep*
92 process.preDuplicateMergingGeneralTracks*
93 process.generalTracksSequence*
95 process.conversionStepTracks
101 process.convClusters.oldClusterRemovalInfo=cms.InputTag(
"mixedTripletStepClusters")
102 process.convClusters.trajectories=cms.InputTag(
"mixedTripletStepTracks")
103 process.convClusters.overrideTrkQuals= cms.InputTag(
"mixedTripletStep")
104 process.pixellayertriplets.layerList = cms.vstring(
'BPix1+BPix2+BPix3',
108 'BPix2+BPix3+FPix1_pos',
109 'BPix2+BPix3+FPix1_neg',
110 'BPix1+BPix2+FPix1_pos',
111 'BPix1+BPix2+FPix1_neg',
112 'BPix2+FPix1_pos+FPix2_pos',
113 'BPix2+FPix1_neg+FPix2_neg',
114 'BPix1+FPix1_pos+FPix2_pos',
115 'BPix1+FPix1_neg+FPix2_neg',
116 'FPix1_pos+FPix2_pos+FPix3_pos',
117 'FPix1_neg+FPix2_neg+FPix3_neg' )
118 process.MeasurementTracker.UsePixelROCQualityDB = cms.bool(
False)
119 process.MeasurementTracker.UsePixelModuleQualityDB = cms.bool(
False)
120 process.mixedTripletStepSeedLayersA.layerList = cms.vstring(
'BPix1+BPix2+BPix3',
121 'BPix1+BPix2+FPix1_pos',
122 'BPix1+BPix2+FPix1_neg',
123 'BPix1+FPix1_pos+FPix2_pos',
124 'BPix1+FPix1_neg+FPix2_neg',
125 'BPix2+FPix1_pos+FPix2_pos',
126 'BPix2+FPix1_neg+FPix2_neg')
127 process.convLayerPairs.layerList = cms.vstring(
'BPix1+BPix2',
133 'FPix1_pos+FPix2_pos',
134 'FPix1_neg+FPix2_neg')
136 process.earlyGeneralTracks.setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4), pQual=cms.bool(
True) ))
137 process.earlyGeneralTracks.hasSelector=cms.vint32(1,1,1,1,1)
138 process.earlyGeneralTracks.selectedTrackQuals = cms.VInputTag(
139 cms.InputTag(
"initialStepSelector",
"initialStep"),
140 cms.InputTag(
"highPtTripletStepSelector",
"highPtTripletStep"),
141 cms.InputTag(
"lowPtTripletStepSelector",
"lowPtTripletStep"),
142 cms.InputTag(
"pixelPairStepSelector",
"pixelPairStep"),
143 cms.InputTag(
"mixedTripletStep")
145 process.earlyGeneralTracks.TrackProducers = cms.VInputTag(
146 cms.InputTag(
"initialStepTracks"),
147 cms.InputTag(
"highPtTripletStepTracks"),
148 cms.InputTag(
"lowPtTripletStepTracks"),
149 cms.InputTag(
"pixelPairStepTracks"),
150 cms.InputTag(
"mixedTripletStepTracks")
153 process.tripletElectronSeedLayers.BPix.skipClusters=cms.InputTag(
'mixedTripletStepSeedClusterMask')
154 process.tripletElectronSeedLayers.FPix.skipClusters=cms.InputTag(
'mixedTripletStepSeedClusterMask')
155 process.tripletElectronClusterMask.oldClusterRemovalInfo=cms.InputTag(
'mixedTripletStepSeedClusterMask')
157 process.initialStepSeedClusterMask.oldClusterRemovalInfo=cms.InputTag(
"mixedTripletStepClusters")
158 process.newCombinedSeeds.seedCollections = cms.VInputTag(cms.InputTag(
'initialStepSeeds'),
159 cms.InputTag(
"highPtTripletStepSeeds"),
160 cms.InputTag(
'pixelPairStepSeeds'),
161 cms.InputTag(
'mixedTripletStepSeeds'),
162 cms.InputTag(
'tripletElectronSeeds'),
163 cms.InputTag(
'pixelPairElectronSeeds'),
164 cms.InputTag(
'stripPairElectronSeeds') )
165 process.stripPairElectronSeedLayers.layerList = cms.vstring(
'BPix4+BPix5')
166 process.stripPairElectronSeedLayers.BPix = cms.PSet(
167 HitProducer = cms.string(
'siPixelRecHits'),
168 hitErrorRZ = cms.double(0.006),
169 useErrorsFromParam = cms.bool(
True),
170 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
171 skipClusters = cms.InputTag(
"pixelPairStepClusters"),
172 hitErrorRPhi = cms.double(0.0027)
174 process.regionalCosmicTrackerSeeds.OrderedHitsFactoryPSet.LayerPSet.layerList = cms.vstring(
'BPix10+BPix9')
175 process.regionalCosmicTrackerSeeds.OrderedHitsFactoryPSet.LayerPSet.BPix = cms.PSet(
176 HitProducer = cms.string(
'siPixelRecHits'),
177 hitErrorRZ = cms.double(0.006),
178 useErrorsFromParam = cms.bool(
True),
179 TTRHBuilder = cms.string(
'TTRHBuilderWithoutAngle4PixelPairs'),
180 skipClusters = cms.InputTag(
"pixelPairStepClusters"),
181 hitErrorRPhi = cms.double(0.0027)
183 process.pixelTracks.SeedMergerPSet = cms.PSet(
184 layerListName = cms.string(
'PixelSeedMergerQuadruplets'),
185 addRemainingTriplets = cms.bool(
False),
186 mergeTriplets = cms.bool(
True),
187 ttrhBuilderLabel = cms.string(
'PixelTTRHBuilderWithoutAngle')
189 process.initialStepSeedClusterMask.oldClusterRemovalInfo=cms.InputTag(
"mixedTripletStepClusters")
192 process.MeasurementTracker.inactivePixelDetectorLabels = cms.VInputTag()
193 process.load(
"SLHCUpgradeSimulations.Geometry.recoFromSimDigis_cff")
196 process.ClusterShapeHitFilterESProducer.PixelShapeFile = cms.string(
'RecoPixelVertexing/PixelLowPtUtilities/data/pixelShape_Phase1Tk.par')
198 process.mergedDuplicateTracks.TTRHBuilder =
'WithTrackAngle'
199 process.ctfWithMaterialTracks.TTRHBuilder =
'WithTrackAngle'
200 process.PixelCPEGenericESProducer.UseErrorsFromTemplates = cms.bool(
False)
201 process.PixelCPEGenericESProducer.TruncatePixelCharge = cms.bool(
False)
202 process.PixelCPEGenericESProducer.LoadTemplatesFromDB = cms.bool(
False)
203 process.PixelCPEGenericESProducer.Upgrade = cms.bool(
True)
204 process.PixelCPEGenericESProducer.IrradiationBiasCorrection =
False
205 process.PixelCPEGenericESProducer.DoCosmics =
False
206 process.siPixelRecHits.CPE = cms.string(
'PixelCPEGeneric')
208 process.load(
"RecoPixelVertexing.PixelTriplets.quadrupletseedmerging_cff")
209 process.pixelseedmergerlayers.BPix.TTRHBuilder = cms.string(
"PixelTTRHBuilderWithoutAngle" )
210 process.pixelseedmergerlayers.BPix.HitProducer = cms.string(
"siPixelRecHits" )
211 process.pixelseedmergerlayers.FPix.TTRHBuilder = cms.string(
"PixelTTRHBuilderWithoutAngle" )
212 process.pixelseedmergerlayers.FPix.HitProducer = cms.string(
"siPixelRecHits" )
214 process.highPtTripletStepTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
215 process.detachedTripletStepTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
216 process.initialStepTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
217 process.pixelPairStepTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
218 process.lowPtTripletStepTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
219 process.convStepTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
220 process.mixedTripletStepTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
221 process.muonSeededSeedsInOut.TrackerRecHitBuilder = cms.string(
'WithTrackAngle')
222 process.muonSeededTracksInOut.TTRHBuilder = cms.string(
'WithTrackAngle')
223 process.muons1stStep.TrackerKinkFinderParameters.TrackerRecHitBuilder=cms.string(
'WithTrackAngle')
224 process.regionalCosmicTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
225 process.cosmicsVetoTracksRaw.TTRHBuilder=cms.string(
'WithTrackAngle')
230 process.load(
'SLHCUpgradeSimulations.Geometry.fakeConditions_BarrelEndcap_cff')
231 process.trackerNumberingSLHCGeometry.layerNumberPXB = cms.uint32(20)
232 process.trackerTopologyConstants.pxb_layerStartBit = cms.uint32(20)
233 process.trackerTopologyConstants.pxb_ladderStartBit = cms.uint32(12)
234 process.trackerTopologyConstants.pxb_moduleStartBit = cms.uint32(2)
235 process.trackerTopologyConstants.pxb_layerMask = cms.uint32(15)
236 process.trackerTopologyConstants.pxb_ladderMask = cms.uint32(255)
237 process.trackerTopologyConstants.pxb_moduleMask = cms.uint32(1023)
238 process.trackerTopologyConstants.pxf_diskStartBit = cms.uint32(18)
239 process.trackerTopologyConstants.pxf_bladeStartBit = cms.uint32(12)
240 process.trackerTopologyConstants.pxf_panelStartBit = cms.uint32(10)
241 process.trackerTopologyConstants.pxf_moduleMask = cms.uint32(255)
248 alist=[
'RAWSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'GENRAW',
'RAWSIMHLT',
'FEVT']
251 if hasattr(process,b):
252 getattr(process,b).outputCommands.append(
'keep PSimHits_g4SimHits_*_*')
253 getattr(process,b).outputCommands.append(
'keep SimTracks_g4SimHits_*_*')
254 getattr(process,b).outputCommands.append(
'keep SimVertexs_g4SimHits_*_*')
255 getattr(process,b).outputCommands.append(
'keep *_simSiPixelDigis_*_*')
256 getattr(process,b).outputCommands.append(
'keep *_genParticles_*_*')
257 getattr(process,b).outputCommands.append(
'keep *_L1TkBeams_*_*')
258 getattr(process,b).outputCommands.append(
'keep *_L1TkClustersFromPixelDigis_*_*')
259 getattr(process,b).outputCommands.append(
'keep *_L1TkClustersFromSimHits_*_*')
260 getattr(process,b).outputCommands.append(
'keep *_L1TkStubsFromPixelDigis_*_*')
261 getattr(process,b).outputCommands.append(
'keep *_L1TkStubsFromSimHits_*_*')
262 getattr(process,b).outputCommands.append(
'keep *_siPixelRecHits_*_*')
264 getattr(process,b).outputCommands.append(
'drop PSimHits_g4SimHits_EcalHitsEB_*')
265 getattr(process,b).outputCommands.append(
'drop PSimHits_g4SimHits_EcalHitsEE_*')
266 getattr(process,b).outputCommands.append(
'drop *_L1TkStubsFromSimHits_StubsFail_*')
278 process.dqmoffline_step.remove(process.muonAnalyzer)
279 process.dqmoffline_step.remove(process.jetMETAnalyzer)
285 process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(
True)
286 process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(
True)
287 process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(
True)
288 process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(
True)
289 process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(
True)
290 process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(
True)
292 from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber
import customise_trackMon_IterativeTracking_PHASE1PU140
293 from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber
import customise_trackMon_IterativeTracking_PHASE1PU70
299 process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep2)
300 process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep4)
301 process.globalrechitsanalyze.ROUList = cms.vstring(
302 'g4SimHitsTrackerHitsPixelBarrelLowTof',
303 'g4SimHitsTrackerHitsPixelBarrelHighTof',
304 'g4SimHitsTrackerHitsPixelEndcapLowTof',
305 'g4SimHitsTrackerHitsPixelEndcapHighTof')
309 process.validation_step.remove(process.PixelTrackingRecHitsValid)
310 process.validation_step.remove(process.stripRecHitsValid)
311 process.validation_step.remove(process.StripTrackingRecHitsValid)
313 process.validation_step.remove(process.HLTSusyExoVal)
314 process.validation_step.remove(process.hltHiggsValidator)
315 process.validation_step.remove(process.relvalMuonBits)
319 process.dqmHarvesting.remove(process.jetMETDQMOfflineClient)
320 process.dqmHarvesting.remove(process.dataCertificationJetMET)
321 process.dqmHarvesting.remove(process.sipixelEDAClient)
322 process.dqmHarvesting.remove(process.sipixelCertification)
def customise_condOverRides
def customise_trackMon_IterativeTracking_PHASE1PU70
Phase1 PU70.
def customise_trackMon_IterativeTracking_PHASE1PU140
Phase1 PU140.