File indexing completed on 2025-02-07 14:24:03
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def DeepCombinedONNXJetTagsProducer(*args, **kwargs):
0004 mod = cms.EDProducer('DeepCombinedONNXJetTagsProducer',
0005 src = cms.InputTag('pfDeepFlavourTagInfos'),
0006 input_names = cms.vstring(
0007 'input_1_DFla',
0008 'input_2_DFla',
0009 'input_3_DFla',
0010 'input_4_DFla',
0011 'input_1',
0012 'input_2',
0013 'input_3',
0014 'input_4',
0015 'input_5',
0016 'input_6',
0017 'input_7',
0018 'input_8',
0019 'input_9',
0020 'input_10',
0021 'input_11',
0022 'input_12'
0023 ),
0024 model_path = cms.FileInPath('RecoBTag/Combined/data/DeepVertex/phase1_deepvertexcombined.onnx'),
0025 output_names = cms.vstring('dense_13'),
0026 flav_names = cms.vstring(
0027 'probb',
0028 'probc',
0029 'probuds',
0030 'probg'
0031 ),
0032 min_jet_pt = cms.double(15),
0033 max_jet_eta = cms.double(2.5),
0034 mightGet = cms.optional.untracked.vstring
0035 )
0036 for a in args:
0037 mod.update_(a)
0038 mod.update_(kwargs)
0039 return mod