CMS 3D CMS Logo

HcalHitSelection_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 reducedHcalRecHits = cms.EDProducer("HcalHitSelection",
4  hbheTag = cms.InputTag('hbhereco'),
5  hfTag = cms.InputTag('hfreco'),
6  hoTag = cms.InputTag('horeco'),
7  hoSeverityLevel = cms.int32(13),
8  interestingDetIds = cms.VInputTag(
9  cms.InputTag("interestingGedEgammaIsoHCALDetId"),
10  cms.InputTag("interestingOotEgammaIsoHCALDetId"),
11  )
12  )
13 
14 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
15 pp_on_AA_2018.toModify(reducedHcalRecHits.interestingDetIds, func = lambda list: list.remove(cms.InputTag("interestingOotEgammaIsoHCALDetId")) )