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),
34 timeCalibTag = cms.ESInputTag(
'',
''),
35 timeOffsetTag = cms.ESInputTag(
'',
''),
38 skipTimeCalib = cms.bool(
False),
41 laserCorrection = cms.bool(
True),
44 flagsMapDBReco = cms.PSet(
45 kGood = cms.vstring(
'kOk',
'kDAC',
'kNoLaser',
'kNoisy'),
46 kNoisy = cms.vstring(
'kNNoisy',
'kFixedG6',
'kFixedG1'),
47 kNeighboursRecovered = cms.vstring(
'kFixedG0',
48 'kNonRespondingIsolated',
50 kTowerRecovered = cms.vstring(
'kDeadFE'),
51 kDead = cms.vstring(
'kNoDataNoTP')
55 algoRecover = cms.string(
"EcalRecHitWorkerRecover"),
56 recoverEBIsolatedChannels = cms.bool(
False),
57 recoverEEIsolatedChannels = cms.bool(
False),
58 recoverEBVFE = cms.bool(
False),
59 recoverEEVFE = cms.bool(
False),
60 recoverEBFE = cms.bool(
True),
61 recoverEEFE = cms.bool(
True),
63 dbStatusToBeExcludedEE = cms.vint32(
68 dbStatusToBeExcludedEB = cms.vint32(
77 logWarningEtThreshold_EB_FE = cms.double(50),
78 logWarningEtThreshold_EE_FE = cms.double(50),
79 ebDetIdToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:ebDetId"),
80 eeDetIdToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:eeDetId"),
81 ebFEToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:ebFE"),
82 eeFEToBeRecovered = cms.InputTag(
"ecalDetIdToBeRecovered:eeFE"),
83 singleChannelRecoveryMethod = cms.string(
"BDTG"),
84 singleChannelRecoveryThreshold = cms.double(0.70),
85 sum8ChannelRecoveryThreshold = cms.double(0.),
86 bdtWeightFileNoCracks = cms.FileInPath(
"RecoLocalCalo/EcalDeadChannelRecoveryAlgos/data/BDTWeights/bdtgAllRH_8GT700MeV_noCracks_ZskimData2017_v1.xml"),
87 bdtWeightFileCracks = cms.FileInPath(
"RecoLocalCalo/EcalDeadChannelRecoveryAlgos/data/BDTWeights/bdtgAllRH_8GT700MeV_onlyCracks_ZskimData2017_v1.xml"),
88 triggerPrimitiveDigiCollection = cms.InputTag(
"ecalDigis:EcalTriggerPrimitives"),
89 cleaningConfig=cleaningAlgoConfig,
93 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
95 fastSim.toModify(ecalRecHit,
96 killDeadChannels =
False,
99 recoverEBIsolatedChannels =
False 103 from Configuration.ProcessModifiers.ecal_cctiming_cff
import ecal_cctiming
104 ecal_cctiming.toModify(ecalRecHit,
105 timeCalibTag =
':CC',
106 timeOffsetTag =
':CC' 111 gpuValidationEcal.toModify(ecalRecHit,
117 from Configuration.Eras.Modifier_phase2_ecal_devel_cff
import phase2_ecal_devel
118 phase2_ecal_devel.toModify(ecalRecHit,
119 EBuncalibRecHitCollection =
"ecalUncalibRecHitPhase2:EcalUncalibRecHitsEB",
120 EEuncalibRecHitCollection =
"",
121 killDeadChannels =
False,
124 recoverEBIsolatedChannels =
False,
125 recoverEEIsolatedChannels =
False