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 process.newSeedFromTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
0012 process.newSeedFromPairs.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
0013 process.secTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
0014 process.thTripletsA.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
0015 process.thTripletsB.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
0016 process.fourthPLSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
0017 process.fifthSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
0018
0019
0020
0021
0022 process.pixelVertices.useBeamConstraint = False
0023
0024
0025
0026
0027
0028
0029 return (process)
0030
0031
0032
0033 def customisePPData(process):
0034 process= customiseCommon(process)
0035
0036
0037 process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
0038 process.particleFlowRecHitHCAL.ApplyPulseDPG = True
0039
0040
0041 process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
0042 process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
0043
0044
0045 process.CSCHaloData.ExpectedBX = cms.int32(3)
0046
0047
0048 process.hfreco.PETstat.flagsToSkip = 2
0049 process.hfreco.S8S1stat.flagsToSkip = 18
0050 process.hfreco.S9S1stat.flagsToSkip = 26
0051
0052 return process
0053
0054
0055
0056 def customisePPMC(process):
0057 process=customiseCommon(process)
0058
0059 return process
0060
0061
0062 def customiseCosmicData(process):
0063
0064 return process
0065
0066
0067 def customiseCosmicMC(process):
0068
0069 return process
0070
0071
0072 def customiseVALSKIM(process):
0073 process= customisePPData(process)
0074 process.reconstruction.remove(process.lumiProducer)
0075 return process
0076
0077
0078 def customiseExpress(process):
0079 process= customisePPData(process)
0080
0081 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0082 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0083
0084 return process
0085
0086
0087 def customisePrompt(process):
0088 process= customisePPData(process)
0089
0090 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0091 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0092
0093 return process
0094
0095
0096
0097
0098 def customiseCommonHI(process):
0099
0100
0101
0102
0103
0104
0105
0106 process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
0107 process.siStripZeroSuppression.Algorithms.CutToAvoidSignal = cms.double(2.0)
0108 process.siStripZeroSuppression.Algorithms.Iterations = cms.int32(3)
0109 process.siStripZeroSuppression.storeCM = cms.bool(True)
0110
0111
0112
0113
0114
0115
0116
0117 return process
0118
0119
0120 def customiseExpressHI(process):
0121 process= customiseCommonHI(process)
0122
0123 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0124 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0125
0126 return process
0127
0128
0129 def customisePromptHI(process):
0130 process= customiseCommonHI(process)
0131
0132 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0133 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0134
0135 return process
0136
0137