File indexing completed on 2024-04-06 12:31:10
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 def customise(process):
0005 process.load("SLHCUpgradeSimulations.Geometry.recoFromSimDigis_cff")
0006
0007 process.load("SLHCUpgradeSimulations.Geometry.upgradeTracking_stdgeom_cff")
0008
0009 process.ctfWithMaterialTracks.TTRHBuilder = 'WithTrackAngle'
0010
0011 process.PixelCPEGenericESProducer.UseErrorsFromTemplates = cms.bool(True)
0012 process.PixelCPEGenericESProducer.TruncatePixelCharge = cms.bool(False)
0013
0014 process.PixelCPEGenericESProducer.LoadTemplatesFromDB = cms.bool(True)
0015
0016 process.PixelCPEGenericESProducer.IrradiationBiasCorrection = False
0017 process.PixelCPEGenericESProducer.DoCosmics = False
0018
0019
0020 process.siPixelRecHits.CPE = cms.string('PixelCPEGeneric')
0021 process.initialStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
0022 process.lowPtTripletStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
0023 process.pixelPairStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
0024 process.detachedTripletStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
0025 process.mixedTripletStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
0026 process.pixelLessStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
0027 process.tobTecStepTracks.TTRHBuilder = cms.string('WithTrackAngle')
0028
0029
0030
0031 process.MeasurementTracker.inactiveStripDetectorLabels = cms.VInputTag()
0032 process.MeasurementTracker.UseStripModuleQualityDB = cms.bool(False)
0033 process.MeasurementTracker.UseStripAPVFiberQualityDB = cms.bool(False)
0034 process.MeasurementTracker.UseStripStripQualityDB = cms.bool(False)
0035 process.MeasurementTracker.UsePixelModuleQualityDB = cms.bool(False)
0036 process.MeasurementTracker.UsePixelROCQualityDB = cms.bool(False)
0037
0038
0039 process.DigiToRaw.remove(process.castorRawData)
0040
0041
0042
0043
0044 if hasattr(process,'dqmoffline_step'):
0045 process.dqmoffline_step.remove(process.SiPixelTrackResidualSource)
0046 process.dqmoffline_step.remove(process.jetMETAnalyzer)
0047 process.dqmoffline_step.remove(process.hltMonMuBits)
0048 process.dqmoffline_step.remove(process.vbtfAnalyzer)
0049 process.dqmoffline_step.remove(process.hltResults)
0050 process.dqmoffline_step.remove(process.egHLTOffDQMSource)
0051 process.dqmoffline_step.remove(process.globalAnalyzer)
0052 process.dqmoffline_step.remove(process.jetMETHLTOfflineSource)
0053
0054 process.dqmoffline_step.remove(process.TrackerCollisionTrackMon)
0055 if hasattr(process,'validation_step'):
0056 process.validation_step.remove(process.hltHITval)
0057 process.validation_step.remove(process.HLTSusyExoVal)
0058 process.validation_step.remove(process.relvalMuonBits)
0059 process.validation_step.remove(process.hltMuonValidator)
0060 else:
0061
0062 process.pdigi.remove(process.mergedtruth)
0063
0064 return(process)
0065
0066
0067
0068 def customise_pu15_25ns(process):
0069
0070 process=customise(process)
0071
0072 process.load("SLHCUpgradeSimulations.Geometry.mixLowLumPU_stdgeom_cff")
0073
0074
0075 process.mix.input.nbPileupEvents = cms.PSet(
0076 averageNumber = cms.double(15.0)
0077 )
0078 return (process)
0079
0080
0081 def customise_pu50_25ns(process):
0082
0083 process=customise(process)
0084
0085 process.load("SLHCUpgradeSimulations.Geometry.mixLowLumPU_stdgeom_cff")
0086
0087
0088 process.mix.input.nbPileupEvents = cms.PSet(
0089 averageNumber = cms.double(50.0)
0090 )
0091
0092
0093
0094 process.simSiPixelDigis.AddPixelInefficiency = 20
0095
0096
0097
0098
0099
0100
0101
0102
0103 return (process)