1 import FWCore.ParameterSet.Config
as cms
3 from RecoBTag.FeatureTools.pfDeepBoostedJetTagInfos_cfi
import pfDeepBoostedJetTagInfos
as _pfDeepBoostedJetTagInfos
4 from RecoBTag.ONNXRuntime.boostedJetONNXJetTagsProducer_cfi
import boostedJetONNXJetTagsProducer
5 from RecoBTag.ONNXRuntime.Parameters.HiggsInteractionNet.V00.pfHiggsInteractionNetPreprocessParams_cfi
import pfHiggsInteractionNetPreprocessParams
6 from RecoBTag.ONNXRuntime.particleNetSonicJetTagsProducer_cfi
import particleNetSonicJetTagsProducer
as _particleNetSonicJetTagsProducer
7 from Configuration.ProcessModifiers.particleNetSonicTriton_cff
import particleNetSonicTriton
10 pfHiggsInteractionNetTagInfos = _pfDeepBoostedJetTagInfos.clone(
11 min_pt_for_track_properties = 0.95,
14 include_neutrals =
False,
15 sort_by_sip2dsig =
True,
19 pfHiggsInteractionNetTags = boostedJetONNXJetTagsProducer.clone(
20 src =
'pfHiggsInteractionNetTagInfos',
21 preprocessParams = pfHiggsInteractionNetPreprocessParams,
22 model_path =
'RecoBTag/Combined/data/HiggsInteractionNet/V00/modelfile/model.onnx',
23 flav_names = [
'probQCD',
'probHbb' ]
26 particleNetSonicTriton.toReplaceWith(pfHiggsInteractionNetTags, _particleNetSonicJetTagsProducer.clone(
27 src =
'pfHiggsInteractionNetTagInfos',
28 preprocess_json =
'RecoBTag/Combined/data/models/higgsInteractionNet/preprocess.json',
30 timeout = cms.untracked.uint32(300),
31 mode = cms.string(
"Async"),
32 modelName = cms.string(
"higgsInteractionNet"),
33 modelConfigPath = cms.FileInPath(
"RecoBTag/Combined/data/models/higgsInteractionNet/config.pbtxt"),
34 modelVersion = cms.string(
""),
35 verbose = cms.untracked.bool(
False),
36 allowedTries = cms.untracked.uint32(0),
37 useSharedMemory = cms.untracked.bool(
True),
38 compression = cms.untracked.string(
""),
40 flav_names = pfHiggsInteractionNetTags.flav_names,
45 _pfHiggsInteractionNetTagsProbs = [
'pfHiggsInteractionNetTags:' + flav_name
46 for flav_name
in pfHiggsInteractionNetTags.flav_names]