Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 def customiseCommon(process):
00004
00005
00006
00007
00008
00009
00010
00011 process.newSeedFromTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
00012 process.newSeedFromPairs.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
00013 process.secTriplets.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
00014 process.thTripletsA.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
00015 process.thTripletsB.OrderedHitsFactoryPSet.GeneratorPSet.maxElement = cms.uint32(100000)
00016 process.fourthPLSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
00017 process.fifthSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(100000)
00018
00019
00020
00021
00022 process.pixelVertices.useBeamConstraint = False
00023
00024
00025
00026
00027
00028
00029 return (process)
00030
00031
00032
00033 def customisePPData(process):
00034 process= customiseCommon(process)
00035
00036
00037 process.particleFlowRecHitHCAL.LongShortFibre_Cut = 30.
00038 process.particleFlowRecHitHCAL.ApplyPulseDPG = True
00039
00040
00041 process.hcalRecAlgos.SeverityLevels[3].RecHitFlags.remove("HFDigiTime")
00042 process.hcalRecAlgos.SeverityLevels[4].RecHitFlags.append("HFDigiTime")
00043
00044
00045 process.CSCHaloData.ExpectedBX = cms.int32(3)
00046
00047
00048 process.hfreco.PETstat.flagsToSkip = 2
00049 process.hfreco.S8S1stat.flagsToSkip = 18
00050 process.hfreco.S9S1stat.flagsToSkip = 26
00051
00052 return process
00053
00054
00055
00056 def customisePPMC(process):
00057 process=customiseCommon(process)
00058
00059 return process
00060
00061
00062 def customiseCosmicData(process):
00063
00064 return process
00065
00066
00067 def customiseCosmicMC(process):
00068
00069 return process
00070
00071
00072 def customiseVALSKIM(process):
00073 process= customisePPData(process)
00074 process.reconstruction.remove(process.lumiProducer)
00075 return process
00076
00077
00078 def customiseExpress(process):
00079 process= customisePPData(process)
00080
00081 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00082 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00083
00084 return process
00085
00086
00087 def customisePrompt(process):
00088 process= customisePPData(process)
00089
00090 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00091 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00092
00093 return process
00094
00095
00096
00097
00098 def customiseCommonHI(process):
00099
00100
00101
00102
00103
00104
00105
00106 process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
00107 process.siStripZeroSuppression.Algorithms.CutToAvoidSignal = cms.double(2.0)
00108 process.siStripZeroSuppression.Algorithms.Iterations = cms.int32(3)
00109 process.siStripZeroSuppression.storeCM = cms.bool(True)
00110
00111
00112
00113
00114
00115
00116
00117 return process
00118
00119
00120 def customiseExpressHI(process):
00121 process= customiseCommonHI(process)
00122
00123 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00124 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00125
00126 return process
00127
00128
00129 def customisePromptHI(process):
00130 process= customiseCommonHI(process)
00131
00132 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00133 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00134
00135 return process
00136
00137