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(
'kDAC',
18 'kNonRespondingIsolated',
23 killDeadChannels = cms.bool(
True),
24 algo = cms.string(
"EcalRecHitWorkerSimple"),
27 EBLaserMIN = cms.double(0.5),
28 EELaserMIN = cms.double(0.5),
30 EBLaserMAX = cms.double(3.0),
31 EELaserMAX = cms.double(8.0),
35 laserCorrection = cms.bool(
True),
38 flagsMapDBReco = cms.PSet(
39 kGood = cms.vstring(
'kOk',
'kDAC',
'kNoLaser',
'kNoisy'),
40 kNoisy = cms.vstring(
'kNNoisy',
'kFixedG6',
'kFixedG1'),
41 kNeighboursRecovered = cms.vstring(
'kFixedG0',
42 'kNonRespondingIsolated',
44 kTowerRecovered = cms.vstring(
'kDeadFE'),
45 kDead = cms.vstring(
'kNoDataNoTP')
49 algoRecover = cms.string(
"EcalRecHitWorkerRecover"),
50 recoverEBIsolatedChannels = cms.bool(
False),
51 recoverEEIsolatedChannels = cms.bool(
False),
52 recoverEBVFE = cms.bool(
False),
53 recoverEEVFE = cms.bool(
False),
54 recoverEBFE = cms.bool(
True),
55 recoverEEFE = cms.bool(
True),
57 dbStatusToBeExcludedEE = cms.vint32(
62 dbStatusToBeExcludedEB = cms.vint32(
71 logWarningEtThreshold_EB_FE = cms.double(50),
72 logWarningEtThreshold_EE_FE = cms.double(50),
73 ebDetIdToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:ebDetId"),
74 eeDetIdToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:eeDetId"),
75 ebFEToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:ebFE"),
76 eeFEToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:eeFE"),
77 singleChannelRecoveryMethod = cms.string(
"NeuralNetworks"),
78 singleChannelRecoveryThreshold = cms.double(8),
79 triggerPrimitiveDigiCollection = cms.InputTag(
"ecalDigis:EcalTriggerPrimitives"),
80 cleaningConfig=cleaningAlgoConfig,