CMS 3D CMS Logo

superclusValueMapProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoEgamma.EgammaIsolationAlgos.electronTrackIsolations_cfi import trkIsol04CfgV2
4 
5 # supposed to be calculated from AOD (see https://github.com/cms-sw/cmssw/pull/42007)
6 # but since we didn't create the new PAT version of SC
7 # trk iso values are calculated on-the-fly from miniAOD
8 # parameters are inherited from HEEP trk iso
9 
10 # instead, we use fairly loose inner cone & strip veto from EgammaHLTTrackIsolation
11 # to avoid strong bias due to the tight trk isolation
12 # e.g. see hltEgammaHollowTrackIsoL1Seeded filter
13 
14 scTrkIso04 = cms.PSet(
15  barrelCuts = trkIsol04CfgV2.barrelCuts.clone(
16  minDR = 0.06,
17  minDEta = 0.03
18  ),
19  endcapCuts = trkIsol04CfgV2.endcapCuts.clone(
20  minDR = 0.06,
21  minDEta = 0.03
22  )
23 )
24 
25 superclusValueMaps = cms.EDProducer("SuperclusValueMapProducer",
26  srcBs = cms.InputTag("offlineBeamSpot"),
27  srcPv = cms.InputTag("offlineSlimmedPrimaryVertices"),
28  srcSc = cms.InputTag("reducedEgamma:reducedSuperClusters"),
29  cands = cms.VInputTag("packedPFCandidates",
30  "lostTracks"), # do not count electron tracks in the trk iso
31  candVetos = cms.vstring("ELES","NONE"),
32  trkIsoConfig = scTrkIso04,
33 )