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.PedestalSubtractionFedMode = cms.bool(False)
00107 process.siStripZeroSuppression.Algorithms.CommonModeNoiseSubtractionMode = cms.string("IteratedMedian")
00108 process.siStripZeroSuppression.doAPVRestore = cms.bool(True)
00109 process.siStripZeroSuppression.storeCM = cms.bool(True)
00110
00111
00112 process.hiPixel3ProtoTracks.RegionFactoryPSet.RegionPSet.originRadius = 0.2
00113 process.hiPixel3ProtoTracks.RegionFactoryPSet.RegionPSet.fixedError = 0.5
00114 process.hiSelectedProtoTracks.maxD0Significance = 100
00115 process.hiPixelAdaptiveVertex.TkFilterParameters.maxD0Significance = 100
00116 process.hiPixelAdaptiveVertex.useBeamConstraint = False
00117 process.hiPixelAdaptiveVertex.PVSelParameters.maxDistanceToBeam = 1.0
00118
00119
00120
00121
00122
00123
00124 return process
00125
00126
00127 def customiseExpressHI(process):
00128 process= customiseCommonHI(process)
00129
00130 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00131 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00132
00133
00134 process.siStripZeroSuppression.produceRawDigis = cms.bool(True)
00135 process.siStripZeroSuppression.produceCalculatedBaseline = cms.bool(True)
00136
00137 return process
00138
00139
00140 def customisePromptHI(process):
00141 process= customiseCommonHI(process)
00142
00143 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00144 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00145
00146 return process
00147
00148
00149 def customiseAlcaOnlyPromptHI(process):
00150 process= customiseCommonHI(process)
00151
00152 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00153 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00154
00155 import HLTrigger.HLTfilters.hltHighLevel_cfi
00156 process.hltCentralityVeto = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00157 HLTPaths = cms.vstring('HLT_HICentralityVeto'),
00158 throw = cms.bool(False)
00159 )
00160
00161 for path in process.paths:
00162 getattr(process,path)._seq = process.hltCentralityVeto * getattr(process,path)._seq
00163
00164 return process
00165
00166