1 import FWCore.ParameterSet.Config
as cms
4 reducedHcalRecHits = cms.EDProducer(
"HcalHitSelection",
5 hbheTag = cms.InputTag(
'hbhereco'),
6 hfTag = cms.InputTag(
'hfreco'),
7 hoTag = cms.InputTag(
'horeco'),
8 hoSeverityLevel = cms.int32(13),
9 interestingDetIds = cms.VInputTag(
10 cms.InputTag(
"interestingGedEgammaIsoHCALDetId"),
11 cms.InputTag(
"interestingOotEgammaIsoHCALDetId"),
15 slimmedHcalRecHits = reducedHcalRecHits.clone(
16 hbheTag =
"reducedHcalRecHits:hbhereco",
17 hfTag =
"reducedHcalRecHits:hfreco",
18 hoTag =
"reducedHcalRecHits:horeco",
19 interestingDetIds = ()
22 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
23 pp_on_AA_2018.toModify(reducedHcalRecHits.interestingDetIds, func =
lambda list: list.remove(cms.InputTag(
"interestingOotEgammaIsoHCALDetId")) )