File indexing completed on 2024-04-06 12:03:38
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def customiseCommon(process):
0004
0005
0006
0007
0008
0009
0010
0011
0012 process.newSeedFromTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
0013 process.newSeedFromPairs.ClusterCheckPSet.MaxNumberOfStripClusters=20000
0014 process.secTriplets.ClusterCheckPSet.MaxNumberOfPixelClusters=2000
0015 process.fifthSeeds.ClusterCheckPSet.MaxNumberOfStripClusters = 20000
0016 process.fourthPLSeeds.ClusterCheckPSet.MaxNumberOfStripClusters=20000
0017 process.thTripletsA.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
0018 process.thTripletsB.ClusterCheckPSet.MaxNumberOfPixelClusters = 5000
0019
0020
0021
0022
0023 process.pixelVertices.useBeamConstraint = False
0024
0025
0026
0027 process.pixelTracks.RegionFactoryPSet.RegionPSet.nSigmaZ = 4.06
0028 process.pixelTracks.RegionFactoryPSet.RegionPSet.originHalfLength = cms.double(40.6)
0029
0030
0031
0032 process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.06)
0033 process.newSeedFromTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 40.6
0034
0035
0036
0037 process.secTriplets.RegionFactoryPSet.RegionPSet.nSigmaZ = cms.double(4.47)
0038 process.secTriplets.RegionFactoryPSet.RegionPSet.originHalfLength = 44.7
0039
0040
0041 process.ecalRecHit.ChannelStatusToBeExcluded = [ 1, 2, 3, 4, 8, 9, 10, 11, 12, 13, 14, 78, 142 ]
0042
0043
0044
0045
0046
0047
0048 return (process)
0049
0050
0051
0052 def customisePPData(process):
0053 process= customiseCommon(process)
0054
0055
0056 process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
0057 process.particleFlowRecHitHCAL.ApplyPulseDPG = True
0058
0059
0060 process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
0061 process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
0062
0063
0064 process.CSCHaloData.ExpectedBX = cms.int32(3)
0065
0066
0067 process.hfreco.PETstat.flagsToSkip = 2
0068 process.hfreco.S8S1stat.flagsToSkip = 18
0069 process.hfreco.S9S1stat.flagsToSkip = 26
0070
0071 return process
0072
0073
0074
0075 def customisePPMC(process):
0076 process=customiseCommon(process)
0077
0078 return process
0079
0080
0081 def customiseCosmicData(process):
0082
0083 return process
0084
0085
0086 def customiseCosmicMC(process):
0087
0088 return process
0089
0090
0091 def customiseVALSKIM(process):
0092 process= customisePPData(process)
0093 process.reconstruction.remove(process.lumiProducer)
0094 return process
0095
0096
0097 def customiseExpress(process):
0098 process= customisePPData(process)
0099
0100 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0101 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0102
0103 return process
0104
0105
0106 def customisePrompt(process):
0107 process= customisePPData(process)
0108
0109 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0110 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0111
0112 return process