CMS 3D CMS Logo

particleFlowClusterECAL_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #### PF CLUSTER ECAL ####
4 
5 #energy corrector for corrected cluster producer
6 _emEnergyCorrector = cms.PSet(
7  algoName = cms.string("PFClusterEMEnergyCorrector"),
8  applyCrackCorrections = cms.bool(False),
9  applyMVACorrections = cms.bool(True),
10  maxPtForMVAEvaluation = cms.double(90.),
11  recHitsEBLabel = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
12  recHitsEELabel = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
13  autoDetectBunchSpacing = cms.bool(True),
14 )
15 
16 particleFlowClusterECAL = cms.EDProducer(
17  "CorrectedECALPFClusterProducer",
18  inputECAL = cms.InputTag("particleFlowClusterECALUncorrected"),
19  inputPS = cms.InputTag("particleFlowClusterPS"),
20  minimumPSEnergy = cms.double(0.0),
21  energyCorrector = _emEnergyCorrector
22  )
23