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)
141 process.SiPixelRawDataErrorSource.modOn = cms.untracked.bool(
True)
142 process.SiPixelDigiSource.modOn = cms.untracked.bool(
True)
143 process.SiPixelClusterSource.modOn = cms.untracked.bool(
True)
144 process.SiPixelRecHitSource.modOn = cms.untracked.bool(
True)
145 process.SiPixelTrackResidualSource.modOn = cms.untracked.bool(
True)
146 process.SiPixelHitEfficiencySource.modOn = cms.untracked.bool(
True)
152 if hasattr(process,
'mix'):
153 process.mix.digitizers.pixel.AddPixelInefficiencyFromPython = cms.bool(
False)
162 if pileup>100: nPU=140
165 process.ClusterShapeHitFilterESProducer.PixelShapeFile = cms.string(
'RecoPixelVertexing/PixelLowPtUtilities/data/pixelShape_Phase1Tk.par')
167 process.MeasurementTracker.inactivePixelDetectorLabels = cms.VInputTag()
170 process.PixelLayerTriplets.layerList = cms.vstring(
'BPix1+BPix2+BPix3',
174 'BPix2+BPix3+FPix1_pos',
175 'BPix2+BPix3+FPix1_neg',
176 'BPix1+BPix2+FPix1_pos',
177 'BPix1+BPix2+FPix1_neg',
178 'BPix2+FPix1_pos+FPix2_pos',
179 'BPix2+FPix1_neg+FPix2_neg',
180 'BPix1+FPix1_pos+FPix2_pos',
181 'BPix1+FPix1_neg+FPix2_neg',
182 'FPix1_pos+FPix2_pos+FPix3_pos',
183 'FPix1_neg+FPix2_neg+FPix3_neg' )
190 itIndex=process.globalreco.index(process.trackingGlobalReco)
191 grIndex=process.reconstruction.index(process.globalreco)
193 process.reconstruction.remove(process.globalreco)
194 process.globalreco.remove(process.iterTracking)
195 process.globalreco.remove(process.electronSeedsSeq)
196 process.reconstruction_fromRECO.remove(process.trackingGlobalReco)
197 del process.iterTracking
198 del process.ckftracks
199 del process.ckftracks_woBH
200 del process.ckftracks_wodEdX
201 del process.ckftracks_plus_pixelless
202 del process.trackingGlobalReco
203 del process.electronSeedsSeq
204 del process.InitialStep
205 del process.LowPtTripletStep
206 del process.PixelPairStep
207 del process.DetachedTripletStep
208 del process.MixedTripletStep
209 del process.PixelLessStep
210 del process.TobTecStep
211 del process.earlyGeneralTracks
214 process.load(
"RecoTracker.Configuration.RecoTrackerPhase1PU"+str(nPU)+
"_cff")
216 process.globalreco.insert(itIndex,process.trackingGlobalReco)
217 process.reconstruction.insert(grIndex,process.globalreco)
223 process.reconstruction.remove(process.castorreco)
224 process.reconstruction.remove(process.CastorTowerReco)
225 process.reconstruction.remove(process.ak7CastorJets)
226 process.reconstruction.remove(process.ak7CastorJetID)
231 PixelSeedMergerQuadruplets.BPix.TTRHBuilder = cms.string(
"PixelTTRHBuilderWithoutAngle" )
232 PixelSeedMergerQuadruplets.BPix.HitProducer = cms.string(
"siPixelRecHits" )
233 PixelSeedMergerQuadruplets.FPix.TTRHBuilder = cms.string(
"PixelTTRHBuilderWithoutAngle" )
234 PixelSeedMergerQuadruplets.FPix.HitProducer = cms.string(
"siPixelRecHits" )
237 process.load(
"SLHCUpgradeSimulations.Geometry.recoFromSimDigis_cff")
239 process.PixelCPEGenericESProducer.Upgrade = cms.bool(
True)
240 process.PixelCPEGenericESProducer.UseErrorsFromTemplates = cms.bool(
False)
241 process.PixelCPEGenericESProducer.LoadTemplatesFromDB = cms.bool(
False)
242 process.PixelCPEGenericESProducer.TruncatePixelCharge = cms.bool(
False)
243 process.PixelCPEGenericESProducer.IrradiationBiasCorrection =
False
244 process.PixelCPEGenericESProducer.DoCosmics =
False
246 process.siPixelRecHits.CPE = cms.string(
'PixelCPEGeneric')
248 process.mergedDuplicateTracks.TTRHBuilder =
'WithTrackAngle'
249 process.ctfWithMaterialTracks.TTRHBuilder =
'WithTrackAngle'
250 process.muonSeededSeedsInOut.TrackerRecHitBuilder=cms.string(
'WithTrackAngle')
251 process.muonSeededTracksInOut.TTRHBuilder=cms.string(
'WithTrackAngle')
252 process.muonSeededTracksOutIn.TTRHBuilder=cms.string(
'WithTrackAngle')
253 process.muons1stStep.TrackerKinkFinderParameters.TrackerRecHitBuilder=cms.string(
'WithTrackAngle')
254 process.regionalCosmicTracks.TTRHBuilder=cms.string(
'WithTrackAngle')
255 process.cosmicsVetoTracksRaw.TTRHBuilder=cms.string(
'WithTrackAngle')
259 process.pixelTracks.SeedMergerPSet = cms.PSet(
260 layerList = PixelSeedMergerQuadruplets,
261 addRemainingTriplets = cms.bool(
False),
262 mergeTriplets = cms.bool(
True),
263 ttrhBuilderLabel = cms.string(
'PixelTTRHBuilderWithoutAngle')
265 process.pixelTracks.FilterPSet.chi2 = cms.double(50.0)
266 process.pixelTracks.FilterPSet.tipMax = cms.double(0.05)
267 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.