File indexing completed on 2024-08-27 22:59:21
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def BJetEnergyRegressionMVA(**kwargs):
0004 mod = cms.EDProducer('BJetEnergyRegressionMVA',
0005 src = cms.required.InputTag,
0006 name = cms.required.string,
0007 weightFile = cms.required.FileInPath,
0008 batch_eval = cms.bool(False),
0009 variables = cms.required.VPSet,
0010 backend = cms.string('TMVA'),
0011 isClassifier = cms.bool(True),
0012 pvsrc = cms.required.InputTag,
0013 svsrc = cms.required.InputTag,
0014 rhosrc = cms.required.InputTag,
0015 mightGet = cms.optional.untracked.vstring
0016 )
0017 for k,v in kwargs.items():
0018 setattr(mod, k, v)
0019 return mod