1 import FWCore.ParameterSet.Config
as cms
2 from PhysicsTools.PatAlgos.tools.puppiJetMETReclusteringTools
import puppiAK4METReclusterFromMiniAOD
3 from PhysicsTools.PatAlgos.tools.puppiJetMETReclusteringTools
import puppiAK8ReclusterFromMiniAOD
5 def setupPuppiAK4AK8METReclustering(process, runOnMC, useExistingWeights=False, reclusterAK4MET=True, reclusterAK8=True, btagDiscriminatorsAK4=None, btagDiscriminatorsAK8=None, btagDiscriminatorsAK8Subjets=None):
9 useExistingWeights=useExistingWeights,
10 btagDiscriminatorsAK4=btagDiscriminatorsAK4
15 useExistingWeights=useExistingWeights,
16 btagDiscriminatorsAK8=btagDiscriminatorsAK8,
17 btagDiscriminatorsAK8Subjets=btagDiscriminatorsAK8Subjets
25 from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK4_cff
import _pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll
as pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll
26 from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK4_cff
import _pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll
as pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll
29 btagDiscriminatorsAK4 = cms.PSet(
31 'pfDeepFlavourJetTags:probb',
32 'pfDeepFlavourJetTags:probbb',
33 'pfDeepFlavourJetTags:problepb',
34 'pfDeepFlavourJetTags:probc',
35 'pfDeepFlavourJetTags:probuds',
36 'pfDeepFlavourJetTags:probg')
37 + pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll
38 + pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll
39 + pfUnifiedParticleTransformerAK4JetTagsAll
46 from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK8_cff
import _pfParticleNetFromMiniAODAK8JetTagsAll
as pfParticleNetFromMiniAODAK8JetTagsAll
47 btagDiscriminatorsAK8 = cms.PSet(names = cms.vstring(
48 pfParticleNetMassCorrelatedJetTagsAll+
49 pfParticleNetFromMiniAODAK8JetTagsAll+
50 pfParticleNetJetTagsAll+
51 pfParticleNetMassRegressionOutputs
56 btagDiscriminatorsAK8Subjets = cms.PSet(names = cms.vstring(
57 'pfDeepFlavourJetTags:probb',
58 'pfDeepFlavourJetTags:probbb',
59 'pfDeepFlavourJetTags:problepb',
60 'pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:BvsAll' 64 useExistingWeights=useExistingWeights,
65 reclusterAK4MET=reclusterAK4MET, reclusterAK8=reclusterAK8,
66 btagDiscriminatorsAK4=btagDiscriminatorsAK4,
67 btagDiscriminatorsAK8=btagDiscriminatorsAK8,
68 btagDiscriminatorsAK8Subjets=btagDiscriminatorsAK8Subjets
def puppiJetMETReclusterFromMiniAOD_MC(process)
def puppiJetMETReclusterFromMiniAOD(process, runOnMC, useExistingWeights=False, reclusterAK4MET=True, reclusterAK8=True)
def puppiJetMETReclusterFromMiniAOD_Data(process)
def setupPuppiAK4AK8METReclustering(process, runOnMC, useExistingWeights=False, reclusterAK4MET=True, reclusterAK8=True, btagDiscriminatorsAK4=None, btagDiscriminatorsAK8=None, btagDiscriminatorsAK8Subjets=None)