1 import FWCore.ParameterSet.Config
as cms
23 if not hasattr(producer,
"minPhi"):
24 producer.minPhi = cms.double(-3.2)
25 producer.maxPhi = cms.double(3.2)
30 producer.PixelShapeFile = cms.string(
'RecoPixelVertexing/PixelLowPtUtilities/data/pixelShapePhase1_noL1.par')
31 producer.PixelShapeFileL1 = cms.string(
'RecoPixelVertexing/PixelLowPtUtilities/data/pixelShapePhase1_loose.par')
36 if hasattr(process,
'StableParametersRcdSource'):
37 delattr(process,
'StableParametersRcdSource')
38 if hasattr(process,
'StableParameters'):
39 delattr(process,
'StableParameters')
40 if not hasattr(process,
'GlobalParameters'):
42 process.GlobalParameters = GlobalParameters
47 from RecoLocalCalo.HcalRecProducers.HBHEMethod2Parameters_cfi
import m2Parameters
49 producer.algorithm.applyDCConstraint = m2Parameters.applyDCConstraint
51 producer.applyDCConstraint = m2Parameters.applyDCConstraint
56 for producer
in producers_by_type(process,
"TrackMVAClassifierDetached",
"TrackMVAClassifierPrompt"):
57 producer.mva.GBRForestLabel = producer.GBRForestLabel
58 producer.mva.GBRForestFileName = producer.GBRForestFileName
59 del producer.GBRForestLabel
60 del producer.GBRForestFileName
62 del producer.GBRForestLabel
63 del producer.GBRForestFileName
69 for hltParticleFlowRecHitECAL
in [
'hltParticleFlowRecHitECALUnseeded',
'hltParticleFlowRecHitECALL1Seeded',
'hltParticleFlowRecHitECALForMuonsMF',
'hltParticleFlowRecHitECALForTkMuonsMF']:
70 if hasattr(process,hltParticleFlowRecHitECAL):
71 module = getattr(process,hltParticleFlowRecHitECAL)
72 for producer
in module.producers:
73 if hasattr(producer,
'qualityTests'):
74 for qualityTest
in producer.qualityTests:
75 if hasattr(qualityTest,
'thresholds'):
76 qualityTest.applySelectionsToAllCrystals = cms.bool(
False)
def customiseFor20422(process)
def customizeHLTforCMSSW(process, menuType="GRun")
def customiseFor20269(process)
def customiseFor19989(process)
def producers_by_type(process, types)
def customiseFor20429(process)
def esproducers_by_type(process, types)
def customiseFor19029(process)
def customiseFor22967(process)