File indexing completed on 2025-02-07 14:24:04
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def ElectronTaggerESProducer(*args, **kwargs):
0004 mod = cms.ESProducer('ElectronTaggerESProducer',
0005 ipSign = cms.string('any'),
0006 leptonId = cms.string(''),
0007 qualityCut = cms.double(0.5),
0008 useCondDB = cms.bool(False),
0009 gbrForestLabel = cms.string(''),
0010 weightFile = cms.FileInPath(''),
0011 useGBRForest = cms.bool(False),
0012 useAdaBoost = cms.bool(False),
0013 appendToDataLabel = cms.string('')
0014 )
0015 for a in args:
0016 mod.update_(a)
0017 mod.update_(kwargs)
0018 return mod