CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.ProcessModifiers.pp_on_AA_cff import pp_on_AA
23 pp_on_AA.toModify(reducedHcalRecHits.interestingDetIds, func = lambda list: list.remove(cms.InputTag("interestingOotEgammaIsoHCALDetId")) )