File indexing completed on 2025-02-07 14:24:11
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CorrectedECALPFClusterProducer(*args, **kwargs):
0004 mod = cms.EDProducer('CorrectedECALPFClusterProducer',
0005 minimumPSEnergy = cms.double(0),
0006 skipPS = cms.bool(False),
0007 inputPS = cms.InputTag('particleFlowClusterPS'),
0008 energyCorrector = cms.PSet(
0009 applyCrackCorrections = cms.bool(False),
0010 applyMVACorrections = cms.bool(False),
0011 srfAwareCorrection = cms.bool(False),
0012 setEnergyUncertainty = cms.bool(False),
0013 autoDetectBunchSpacing = cms.bool(True),
0014 bunchSpacing = cms.int32(25),
0015 maxPtForMVAEvaluation = cms.double(-99),
0016 recHitsEBLabel = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
0017 recHitsEELabel = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
0018 ebSrFlagLabel = cms.InputTag('ecalDigis'),
0019 eeSrFlagLabel = cms.InputTag('ecalDigis')
0020 ),
0021 inputECAL = cms.InputTag('particleFlowClusterECALUncorrected'),
0022 mightGet = cms.optional.untracked.vstring
0023 )
0024 for a in args:
0025 mod.update_(a)
0026 mod.update_(kwargs)
0027 return mod