CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
reducedEgamma_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 reducedEgamma = cms.EDProducer("ReducedEGProducer",
4  keepPhotons = cms.string("hadTowOverEm()<0.15 && pt>10 && (pt>14 || chargedHadronIso()<10)"), #keep in output
5  slimRelinkPhotons = cms.string("hadTowOverEm()<0.15 && pt>10 && (pt>14 || chargedHadronIso()<10)"), #keep only slimmed SuperCluster plus seed cluster
6  relinkPhotons = cms.string("(r9()>0.8 || chargedHadronIso()<20 || chargedHadronIso()<0.3*pt())"), #keep all associated clusters/rechits/conversions
7  keepGsfElectrons = cms.string(""), #keep in output
8  slimRelinkGsfElectrons = cms.string(""), #keep only slimmed SuperCluster plus seed cluster
9  relinkGsfElectrons = cms.string("pt>5"), #keep all associated clusters/rechits/conversions
10  photons = cms.InputTag("gedPhotons"),
11  gsfElectrons = cms.InputTag("gedGsfElectrons"),
12  conversions = cms.InputTag("allConversions"),
13  singleConversions = cms.InputTag("particleFlowEGamma"),
14  barrelEcalHits = cms.InputTag("reducedEcalRecHitsEB"),
15  endcapEcalHits = cms.InputTag("reducedEcalRecHitsEE"),
16  preshowerEcalHits = cms.InputTag("reducedEcalRecHitsES"),
17  photonsPFValMap = cms.InputTag("particleBasedIsolation","gedPhotons"),
18  gsfElectronsPFValMap = cms.InputTag("particleBasedIsolation","gedGsfElectrons"),
19  photonIDSources = cms.VInputTag(
20  cms.InputTag("PhotonIDProdGED","PhotonCutBasedIDLoose"),
21  cms.InputTag("PhotonIDProdGED","PhotonCutBasedIDLooseEM"),
22  cms.InputTag("PhotonIDProdGED","PhotonCutBasedIDTight")
23  ),
24  photonIDOutput = cms.vstring(
25  "PhotonCutBasedIDLoose",
26  "PhotonCutBasedIDLooseEM",
27  "PhotonCutBasedIDTight",
28  ),
29  gsfElectronIDSources = cms.VInputTag(
30  cms.InputTag("eidLoose"),
31  cms.InputTag("eidRobustHighEnergy"),
32  cms.InputTag("eidRobustLoose"),
33  cms.InputTag("eidRobustTight"),
34  cms.InputTag("eidTight"),
35  ),
36  gsfElectronIDOutput = cms.vstring(
37  "eidLoose",
38  "eidRobustHighEnergy",
39  "eidRobustLoose",
40  "eidRobustTight",
41  "eidTight",
42  ),
43  photonPFClusterIsoSources = cms.VInputTag(
44  cms.InputTag("photonEcalPFClusterIsolationProducer"),
45  cms.InputTag("photonHcalPFClusterIsolationProducer"),
46  ),
47  photonPFClusterIsoOutput = cms.vstring(
48  "phoEcalPFClusIso",
49  "phoHcalPFClusIso",
50  ),
51  gsfElectronPFClusterIsoSources = cms.VInputTag(
52  cms.InputTag("electronEcalPFClusterIsolationProducer"),
53  cms.InputTag("electronHcalPFClusterIsolationProducer"),
54  ),
55  gsfElectronPFClusterIsoOutput = cms.vstring(
56  "eleEcalPFClusIso",
57  "eleHcalPFClusIso",
58  ),
59 )