CMS 3D CMS Logo

HcalHitSelection_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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"),
12  )
13  )
14 
15 slimmedHcalRecHits = reducedHcalRecHits.clone(
16  hbheTag = "reducedHcalRecHits:hbhereco",
17  hfTag = "reducedHcalRecHits:hfreco",
18  hoTag = "reducedHcalRecHits:horeco",
19  interestingDetIds = ()
20  )
21 
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")) )