Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:52

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def CorrectedECALPFClusterProducer(**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 k,v in kwargs.items():
0025     setattr(mod, k, v)
0026   return mod