File indexing completed on 2024-08-27 22:59:23
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def ParticleTransformerAK4ONNXJetTagsProducer(**kwargs):
0004 mod = cms.EDProducer('ParticleTransformerAK4ONNXJetTagsProducer',
0005 src = cms.InputTag('pfParticleTransformerAK4TagInfos'),
0006 input_names = cms.vstring(
0007 'input_1',
0008 'input_2',
0009 'input_3',
0010 'input_4',
0011 'input_5',
0012 'input_6'
0013 ),
0014 model_path = cms.FileInPath('RecoBTag/Combined/data/RobustParTAK4/PUPPI/V00/modelfile/model.onnx'),
0015 output_names = cms.vstring('softmax'),
0016 flav_names = cms.vstring(
0017 'probb',
0018 'probbb',
0019 'problepb',
0020 'probc',
0021 'probuds',
0022 'probg'
0023 ),
0024 mightGet = cms.optional.untracked.vstring
0025 )
0026 for k,v in kwargs.items():
0027 setattr(mod, k, v)
0028 return mod