File indexing completed on 2024-07-24 04:45:06
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from PhysicsTools.PatAlgos.mcMatchLayer0.ootPhotonMatch_cff import *
0004 from PhysicsTools.PatAlgos.producersLayer1.photonProducer_cfi import *
0005
0006 patOOTPhotons = patPhotons.clone()
0007 patOOTPhotons.photonSource = cms.InputTag("ootPhotons")
0008 patOOTPhotons.embedSuperCluster = cms.bool(False)
0009 patOOTPhotons.embedSeedCluster = cms.bool(False)
0010 patOOTPhotons.embedBasicClusters = cms.bool(False)
0011 patOOTPhotons.embedPreshowerClusters = cms.bool(False)
0012 patOOTPhotons.embedRecHits = cms.bool(False)
0013
0014 patOOTPhotons.isoDeposits = cms.PSet()
0015 patOOTPhotons.isolationValues = cms.PSet()
0016
0017
0018 patOOTPhotons.addPhotonID = cms.bool(False)
0019 patOOTPhotons.photonIDSources = cms.PSet()
0020
0021
0022 patOOTPhotons.addGenMatch = cms.bool(True)
0023 patOOTPhotons.embedGenMatch = cms.bool(False)
0024
0025
0026 patOOTPhotons.addEfficiencies = cms.bool(False)
0027 patOOTPhotons.efficiencies = cms.PSet()
0028
0029
0030 patOOTPhotons.addResolutions = cms.bool(False)
0031 patOOTPhotons.resolutions = cms.PSet()
0032
0033
0034 patOOTPhotons.addPuppiIsolation = cms.bool(False)
0035
0036
0037 patOOTPhotons.addPFClusterIso = cms.bool(False)
0038
0039
0040 patOOTPhotons.genParticleMatch = cms.InputTag("ootPhotonMatch")
0041
0042
0043
0044 makePatOOTPhotonsTask = cms.Task(
0045 ootPhotonMatch,
0046 patOOTPhotons
0047 )
0048
0049 makePatOOTPhotons = cms.Sequence(makePatOOTPhotonsTask)