1 import FWCore.ParameterSet.Config
as cms
3 from RecoLocalCalo.EcalRecAlgos.ecalCleaningAlgo
import cleaningAlgoConfig
6 ecalRecHit = cms.EDProducer(
"EcalRecHitProducer",
7 EErechitCollection = cms.string(
'EcalRecHitsEE'),
8 EEuncalibRecHitCollection = cms.InputTag(
"ecalMultiFitUncalibRecHit",
"EcalUncalibRecHitsEE"),
9 EBuncalibRecHitCollection = cms.InputTag(
"ecalMultiFitUncalibRecHit",
"EcalUncalibRecHitsEB"),
10 EBrechitCollection = cms.string(
'EcalRecHitsEB'),
12 ChannelStatusToBeExcluded = cms.vstring(
'kNoisy',
17 'kNonRespondingIsolated',
22 killDeadChannels = cms.bool(
True),
23 algo = cms.string(
"EcalRecHitWorkerSimple"),
26 EBLaserMIN = cms.double(0.5),
27 EELaserMIN = cms.double(0.5),
29 EBLaserMAX = cms.double(3.0),
30 EELaserMAX = cms.double(8.0),
34 laserCorrection = cms.bool(
True),
37 flagsMapDBReco = cms.PSet(
38 kGood = cms.vstring(
'kOk',
'kDAC',
'kNoLaser',
'kNoisy'),
39 kNoisy = cms.vstring(
'kNNoisy',
'kFixedG6',
'kFixedG1'),
40 kNeighboursRecovered = cms.vstring(
'kFixedG0',
41 'kNonRespondingIsolated',
43 kTowerRecovered = cms.vstring(
'kDeadFE'),
44 kDead = cms.vstring(
'kNoDataNoTP')
48 algoRecover = cms.string(
"EcalRecHitWorkerRecover"),
49 recoverEBIsolatedChannels = cms.bool(
False),
50 recoverEEIsolatedChannels = cms.bool(
False),
51 recoverEBVFE = cms.bool(
False),
52 recoverEEVFE = cms.bool(
False),
53 recoverEBFE = cms.bool(
True),
54 recoverEEFE = cms.bool(
True),
56 dbStatusToBeExcludedEE = cms.vint32(
61 dbStatusToBeExcludedEB = cms.vint32(
70 logWarningEtThreshold_EB_FE = cms.double(50),
71 logWarningEtThreshold_EE_FE = cms.double(50),
72 ebDetIdToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:ebDetId"),
73 eeDetIdToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:eeDetId"),
74 ebFEToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:ebFE"),
75 eeFEToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:eeFE"),
76 singleChannelRecoveryMethod = cms.string(
"NeuralNetworks"),
77 singleChannelRecoveryThreshold = cms.double(8),
78 triggerPrimitiveDigiCollection = cms.InputTag(
"ecalDigis:EcalTriggerPrimitives"),
79 cleaningConfig=cleaningAlgoConfig,