File indexing completed on 2024-08-27 22:59:24
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PhotonMVANtuplizer(**kwargs):
0004 mod = cms.EDAnalyzer('PhotonMVANtuplizer',
0005 src = cms.InputTag('slimmedPhotons'),
0006 vertices = cms.InputTag('offlineSlimmedPrimaryVertices'),
0007 pileup = cms.InputTag('slimmedAddPileupInfo'),
0008 genParticles = cms.InputTag('prunedGenParticles'),
0009 ebReducedRecHitCollection = cms.InputTag('reducedEgamma', 'reducedEBRecHits'),
0010 eeReducedRecHitCollection = cms.InputTag('reducedEgamma', 'reducedEERecHits'),
0011 phoMVAs = cms.vstring(),
0012 phoMVALabels = cms.vstring(),
0013 phoMVAValMaps = cms.vstring(),
0014 phoMVAValMapLabels = cms.vstring(),
0015 phoMVACats = cms.vstring(),
0016 phoMVACatLabels = cms.vstring(),
0017 doEnergyMatrix = cms.bool(False),
0018 energyMatrixSize = cms.int32(2),
0019 isMC = cms.bool(True),
0020 ptThreshold = cms.double(15),
0021 deltaR = cms.double(0.1),
0022 variableDefinition = cms.required.string,
0023 mightGet = cms.optional.untracked.vstring
0024 )
0025 for k,v in kwargs.items():
0026 setattr(mod, k, v)
0027 return mod