1 import FWCore.ParameterSet.Config
as cms
3 from RecoBTag.FeatureTools.pfParticleTransformerAK4TagInfos_cfi
import pfParticleTransformerAK4TagInfos
5 from RecoBTag.ONNXRuntime.pfParticleTransformerAK4JetTags_cfi
import pfParticleTransformerAK4JetTags
6 from RecoBTag.ONNXRuntime.pfParticleTransformerAK4DiscriminatorsJetTags_cfi
import pfParticleTransformerAK4DiscriminatorsJetTags
12 _pfParticleTransformerAK4JetTagsProbs = [
'pfParticleTransformerAK4JetTags:' + flav_name
13 for flav_name
in pfParticleTransformerAK4JetTags.flav_names]
15 _pfParticleTransformerAK4JetTagsMetaDiscrs = [
'pfParticleTransformerAK4DiscriminatorsJetTags:' + disc.name.value()
16 for disc
in pfParticleTransformerAK4DiscriminatorsJetTags.discriminators]
17 _pfParticleTransformerAK4JetTagsAll = _pfParticleTransformerAK4JetTagsProbs + _pfParticleTransformerAK4JetTagsMetaDiscrs
23 pfParticleTransformerAK4Task = cms.Task(puppi, primaryVertexAssociation,
24 pfParticleTransformerAK4TagInfos, pfParticleTransformerAK4JetTags,
25 pfParticleTransformerAK4DiscriminatorsJetTags)
27 pfParticleTransformerAK4FromMiniAODTask = cms.Task(pfParticleTransformerAK4TagInfos,
28 pfParticleTransformerAK4JetTags,
29 pfParticleTransformerAK4DiscriminatorsJetTags)