CMS 3D CMS Logo

ootPhotonProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 patOOTPhotons = patPhotons.clone()
7 patOOTPhotons.photonSource = cms.InputTag("ootPhotons")
8 patOOTPhotons.embedSuperCluster = cms.bool(False)
9 patOOTPhotons.embedSeedCluster = cms.bool(False)
10 patOOTPhotons.embedBasicClusters = cms.bool(False)
11 patOOTPhotons.embedPreshowerClusters = cms.bool(False)
12 patOOTPhotons.embedRecHits = cms.bool(False)
13 
14 patOOTPhotons.isoDeposits = cms.PSet()
15 patOOTPhotons.isolationValues = cms.PSet()
16 
17 # photon ID
18 patOOTPhotons.addPhotonID = cms.bool(False)
19 patOOTPhotons.photonIDSources = cms.PSet()
20 
21 # mc matching
22 patOOTPhotons.addGenMatch = cms.bool(True)
23 patOOTPhotons.embedGenMatch = cms.bool(False)
24 
25 # efficiencies
26 patOOTPhotons.addEfficiencies = cms.bool(False)
27 patOOTPhotons.efficiencies = cms.PSet()
28 
29 # resolutions
30 patOOTPhotons.addResolutions = cms.bool(False)
31 patOOTPhotons.resolutions = cms.PSet()
32 
33 # Puppi Iso
34 patOOTPhotons.addPuppiIsolation = cms.bool(False)
35 
36 # PFClusterIso
37 patOOTPhotons.addPFClusterIso = cms.bool(False)
38 
39 # MC Match
40 patOOTPhotons.genParticleMatch = cms.InputTag("ootPhotonMatch")
41 
42 
43 
44 makePatOOTPhotonsTask = cms.Task(
45  ootPhotonMatch,
46  patOOTPhotons
47  )
48 
49 makePatOOTPhotons = cms.Sequence(makePatOOTPhotonsTask)