5 from SLHCUpgradeSimulations.Configuration.customise_mixing
import customise_pixelMixing_PU
8 if hasattr(process,
'DigiToRaw'):
10 if hasattr(process,
'RawToDigi'):
13 if hasattr(process,
'reconstruction')
or hasattr(process,
'dqmoffline_step'):
14 if hasattr(process,
'mix'):
15 if hasattr(process.mix,
'input'):
16 n=process.mix.input.nbPileupEvents.averageNumber.value()
18 print 'phase1TkCustoms requires a --pileup option to cmsDriver to run the reconstruction/dqm'
19 print 'Please provide one!'
21 if hasattr(process,
'reconstruction'):
24 if hasattr(process,
'digitisation_step'):
26 if hasattr(process,
'dqmoffline_step'):
28 if hasattr(process,
'dqmHarvesting'):
30 if hasattr(process,
'validation_step'):
37 process.digi2raw_step.remove(process.siPixelRawData)
38 process.digi2raw_step.remove(process.castorRawData)
42 process.raw2digi_step.remove(process.siPixelDigis)
43 process.raw2digi_step.remove(process.castorDigis)
47 process.mix.digitizers.pixel.MissCalibrate =
False
48 process.mix.digitizers.pixel.LorentzAngle_DB =
False
49 process.mix.digitizers.pixel.killModules =
False
50 process.mix.digitizers.pixel.useDB =
False
51 process.mix.digitizers.pixel.DeadModules_DB =
False
52 process.mix.digitizers.pixel.NumPixelBarrel = cms.int32(4)
53 process.mix.digitizers.pixel.NumPixelEndcap = cms.int32(3)
54 process.mix.digitizers.pixel.ThresholdInElectrons_FPix = cms.double(2000.0)
55 process.mix.digitizers.pixel.ThresholdInElectrons_BPix = cms.double(2000.0)
56 process.mix.digitizers.pixel.ThresholdInElectrons_BPix_L1 = cms.double(2000.0)
57 process.mix.digitizers.pixel.thePixelColEfficiency_BPix4 = cms.double(0.999)
58 process.mix.digitizers.pixel.thePixelEfficiency_BPix4 = cms.double(0.999)
59 process.mix.digitizers.pixel.thePixelChipEfficiency_BPix4 = cms.double(0.999)
60 process.mix.digitizers.pixel.thePixelColEfficiency_FPix3 = cms.double(0.999)
61 process.mix.digitizers.pixel.thePixelEfficiency_FPix3 = cms.double(0.999)
62 process.mix.digitizers.pixel.thePixelChipEfficiency_FPix3 = cms.double(0.999)
63 process.mix.digitizers.pixel.AddPixelInefficiencyFromPython = cms.bool(
True)
77 process.dqmoffline_step.remove(process.muonAnalyzer)
78 process.dqmoffline_step.remove(process.jetMETAnalyzer)
84 process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(
True)
85 process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(
True)
86 process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(
True)
87 process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(
True)
88 process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(
True)
89 process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(
True)
91 from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber
import customise_trackMon_IterativeTracking_PHASE1PU140
92 from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber
import customise_trackMon_IterativeTracking_PHASE1PU70
101 process.validation_step.remove(process.PixelTrackingRecHitsValid)
103 process.validation_step.remove(process.HLTSusyExoVal)
104 process.validation_step.remove(process.hltHiggsValidator)
105 process.validation_step.remove(process.relvalMuonBits)
107 process.trackValidator.label=cms.VInputTag(cms.InputTag(
"cutsRecoTracksHp"))
108 process.tracksValidationSelectors = cms.Sequence(process.cutsRecoTracksHp)
109 process.globalValidation.remove(process.recoMuonValidation)
110 process.validation.remove(process.recoMuonValidation)
111 process.validation_preprod.remove(process.recoMuonValidation)
112 process.validation_step.remove(process.recoMuonValidation)
113 process.validation.remove(process.globalrechitsanalyze)
114 process.validation_prod.remove(process.globalrechitsanalyze)
115 process.validation_step.remove(process.globalrechitsanalyze)
116 process.validation.remove(process.stripRecHitsValid)
117 process.validation_step.remove(process.stripRecHitsValid)
118 process.validation_step.remove(process.StripTrackingRecHitsValid)
119 process.globalValidation.remove(process.vertexValidation)
120 process.validation.remove(process.vertexValidation)
121 process.validation_step.remove(process.vertexValidation)
122 process.mix.input.nbPileupEvents.averageNumber = cms.double(0.0)
123 process.mix.minBunch = cms.int32(0)
124 process.mix.maxBunch = cms.int32(0)
129 process.dqmHarvesting.remove(process.dataCertificationJetMET)
131 process.sipixelEDAClient.isUpgrade = cms.untracked.bool(
True)
132 process.dqmHarvesting.remove(process.sipixelCertification)
137 process.trackerTopologyConstants.pxb_layerStartBit = cms.uint32(20)
138 process.trackerTopologyConstants.pxb_ladderStartBit = cms.uint32(12)
139 process.trackerTopologyConstants.pxb_moduleStartBit = cms.uint32(2)
140 process.trackerTopologyConstants.pxb_layerMask = cms.uint32(15)
141 process.trackerTopologyConstants.pxb_ladderMask = cms.uint32(255)
142 process.trackerTopologyConstants.pxb_moduleMask = cms.uint32(1023)
143 process.trackerTopologyConstants.pxf_diskStartBit = cms.uint32(18)
144 process.trackerTopologyConstants.pxf_bladeStartBit = cms.uint32(12)
145 process.trackerTopologyConstants.pxf_panelStartBit = cms.uint32(10)
146 process.trackerTopologyConstants.pxf_moduleMask = cms.uint32(255)
151 process.SiPixelRawDataErrorSource.modOn = cms.untracked.bool(
True)
152 process.SiPixelDigiSource.modOn = cms.untracked.bool(
True)
153 process.SiPixelClusterSource.modOn = cms.untracked.bool(
True)
154 process.SiPixelRecHitSource.modOn = cms.untracked.bool(
True)
155 process.SiPixelTrackResidualSource.modOn = cms.untracked.bool(
True)
156 process.SiPixelHitEfficiencySource.modOn = cms.untracked.bool(
True)
162 if hasattr(process,
'mix'):
163 process.mix.digitizers.pixel.AddPixelInefficiencyFromPython = cms.bool(
False)
172 if pileup>100: nPU=140
175 process.ClusterShapeHitFilterESProducer.PixelShapeFile = cms.string(
'RecoPixelVertexing/PixelLowPtUtilities/data/pixelShape_Phase1Tk.par')
177 process.MeasurementTracker.inactivePixelDetectorLabels = cms.VInputTag()
180 process.PixelLayerTriplets.layerList = cms.vstring(
'BPix1+BPix2+BPix3',
184 'BPix2+BPix3+FPix1_pos',
185 'BPix2+BPix3+FPix1_neg',
186 'BPix1+BPix2+FPix1_pos',
187 'BPix1+BPix2+FPix1_neg',
188 'BPix2+FPix1_pos+FPix2_pos',
189 'BPix2+FPix1_neg+FPix2_neg',
190 'BPix1+FPix1_pos+FPix2_pos',
191 'BPix1+FPix1_neg+FPix2_neg',
192 'FPix1_pos+FPix2_pos+FPix3_pos',
193 'FPix1_neg+FPix2_neg+FPix3_neg' )
200 itIndex=process.globalreco.index(process.trackingGlobalReco)
201 grIndex=process.reconstruction.index(process.globalreco)
203 process.reconstruction.remove(process.globalreco)
204 process.globalreco.remove(process.iterTracking)
205 process.globalreco.remove(process.electronSeedsSeq)
206 process.reconstruction_fromRECO.remove(process.trackingGlobalReco)
207 del process.iterTracking
208 del process.ckftracks
209 del process.ckftracks_woBH
210 del process.ckftracks_wodEdX
211 del process.ckftracks_plus_pixelless
212 del process.trackingGlobalReco
213 del process.electronSeedsSeq
214 del process.InitialStep
215 del process.LowPtTripletStep
216 del process.PixelPairStep
217 del process.DetachedTripletStep
218 del process.MixedTripletStep
219 del process.PixelLessStep
220 del process.TobTecStep
221 del process.earlyGeneralTracks
224 process.load(
"RecoTracker.Configuration.RecoTrackerPhase1PU"+str(nPU)+
"_cff")
226 process.globalreco.insert(itIndex,process.trackingGlobalReco)
227 process.reconstruction.insert(grIndex,process.globalreco)
233 process.reconstruction.remove(process.castorreco)
234 process.reconstruction.remove(process.CastorTowerReco)
235 process.reconstruction.remove(process.ak7BasicJets)
236 process.reconstruction.remove(process.ak7CastorJetID)
241 PixelSeedMergerQuadruplets.BPix.TTRHBuilder = cms.string(
"PixelTTRHBuilderWithoutAngle" )
242 PixelSeedMergerQuadruplets.BPix.HitProducer = cms.string(
"siPixelRecHits" )
243 PixelSeedMergerQuadruplets.FPix.TTRHBuilder = cms.string(
"PixelTTRHBuilderWithoutAngle" )
244 PixelSeedMergerQuadruplets.FPix.HitProducer = cms.string(
"siPixelRecHits" )
247 process.load(
"SLHCUpgradeSimulations.Geometry.recoFromSimDigis_cff")
249 process.PixelCPEGenericESProducer.Upgrade = cms.bool(
True)
250 process.PixelCPEGenericESProducer.UseErrorsFromTemplates = cms.bool(
False)
251 process.PixelCPEGenericESProducer.LoadTemplatesFromDB = cms.bool(
False)
252 process.PixelCPEGenericESProducer.TruncatePixelCharge = cms.bool(
False)
253 process.PixelCPEGenericESProducer.IrradiationBiasCorrection =
False
254 process.PixelCPEGenericESProducer.DoCosmics =
False
256 process.siPixelRecHits.CPE = cms.string(
'PixelCPEGeneric')
258 process.mergedDuplicateTracks.TTRHBuilder =
'WithTrackAngle'
259 process.ctfWithMaterialTracks.TTRHBuilder =
'WithTrackAngle'
260 process.muonSeededSeedsInOut.TrackerRecHitBuilder=cms.string(
'WithTrackAngle')
261 process.muonSeededTracksInOut.TTRHBuilder=cms.string(
'WithTrackAngle')
262 process.muonSeededTracksOutIn.TTRHBuilder=cms.string(
'WithTrackAngle')
263 process.muons1stStep.TrackerKinkFinderParameters.TrackerRecHitBuilder=cms.string(
'WithTrackAngle')
264 process.regionalCosmicTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
265 process.cosmicsVetoTracksRaw.TTRHBuilder=cms.string(
'WithTrackAngle')
269 process.pixelTracks.SeedMergerPSet = cms.PSet(
270 layerList = PixelSeedMergerQuadruplets,
271 addRemainingTriplets = cms.bool(
False),
272 mergeTriplets = cms.bool(
True),
273 ttrhBuilderLabel = cms.string(
'PixelTTRHBuilderWithoutAngle')
275 process.pixelTracks.FilterPSet.chi2 = cms.double(50.0)
276 process.pixelTracks.FilterPSet.tipMax = cms.double(0.05)
277 process.pixelTracks.RegionFactoryPSet.RegionPSet.originRadius = cms.double(0.02)
def customise_pixelMixing_PU
def customise_condOverRides
def customise_trackMon_IterativeTracking_PHASE1PU70
Phase1 PU70.
def add_detailed_pixel_dqm
def customise_trackMon_IterativeTracking_PHASE1PU140
Phase1 PU140.