1 import FWCore.ParameterSet.Config
as cms
3 from RecoBTag.FeatureTools.pfUnifiedParticleTransformerAK4TagInfos_cfi
import pfUnifiedParticleTransformerAK4TagInfos
5 from RecoBTag.ONNXRuntime.pfUnifiedParticleTransformerAK4JetTags_cfi
import pfUnifiedParticleTransformerAK4JetTags
6 from RecoBTag.ONNXRuntime.pfUnifiedParticleTransformerAK4DiscriminatorsJetTags_cfi
import pfUnifiedParticleTransformerAK4DiscriminatorsJetTags
12 _pfUnifiedParticleTransformerAK4JetTagsProbs = [
'pfUnifiedParticleTransformerAK4JetTags:' + flav_name
13 for flav_name
in pfUnifiedParticleTransformerAK4JetTags.flav_names]
15 _pfUnifiedParticleTransformerAK4JetTagsMetaDiscrs = [
'pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:' + disc.name.value()
16 for disc
in pfUnifiedParticleTransformerAK4DiscriminatorsJetTags.discriminators]
17 _pfUnifiedParticleTransformerAK4JetTagsAll = _pfUnifiedParticleTransformerAK4JetTagsProbs + _pfUnifiedParticleTransformerAK4JetTagsMetaDiscrs
23 pfUnifiedParticleTransformerAK4Task = cms.Task(puppi, primaryVertexAssociation,
24 pfUnifiedParticleTransformerAK4TagInfos, pfUnifiedParticleTransformerAK4JetTags,
25 pfUnifiedParticleTransformerAK4DiscriminatorsJetTags)
27 pfUnifiedParticleTransformerAK4FromMiniAODTask = cms.Task(pfUnifiedParticleTransformerAK4TagInfos,
28 pfUnifiedParticleTransformerAK4JetTags,
29 pfUnifiedParticleTransformerAK4DiscriminatorsJetTags)