File indexing completed on 2024-08-27 22:59:24
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PhotonXGBoostProducer(**kwargs):
0004 mod = cms.EDProducer('PhotonXGBoostProducer',
0005 candTag = cms.InputTag('hltEgammaCandidatesUnseeded'),
0006 inputTagR9 = cms.InputTag('hltEgammaR9IDUnseeded', 'r95x5'),
0007 inputTagHoE = cms.InputTag('hltEgammaHoverEUnseeded'),
0008 inputTagSigmaiEtaiEta = cms.InputTag('hltEgammaClusterShapeUnseeded', 'sigmaIEtaIEta5x5NoiseCleaned'),
0009 inputTagE2x2 = cms.InputTag('hltEgammaClusterShapeUnseeded', 'e2x2'),
0010 inputTagIso = cms.InputTag('hltEgammaEcalPFClusterIsoUnseeded'),
0011 mvaFileXgbB = cms.FileInPath('RecoEgamma/PhotonIdentification/data/XGBoost/Photon_NTL_168_Barrel_v1.bin'),
0012 mvaFileXgbE = cms.FileInPath('RecoEgamma/PhotonIdentification/data/XGBoost/Photon_NTL_158_Endcap_v1.bin'),
0013 mvaNTreeLimitB = cms.uint32(168),
0014 mvaNTreeLimitE = cms.uint32(158),
0015 mvaThresholdEt = cms.double(0),
0016 mightGet = cms.optional.untracked.vstring
0017 )
0018 for k,v in kwargs.items():
0019 setattr(mod, k, v)
0020 return mod