1 import FWCore.ParameterSet.Config
as cms
5 from PhysicsTools.NanoAOD.simplePATJetFlatTableProducer_cfi
import simplePATJetFlatTableProducer
12 jetPuppiCorrFactorsNano = patJetCorrFactors.clone(src=
'slimmedJetsPuppi',
13 levels = cms.vstring(
'L1FastJet',
17 payload = cms.string(
'AK4PFPuppi'),
18 primaryVertices = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
23 updatedJetsPuppi = updatedPatJets.clone(
25 jetSource=
'slimmedJetsPuppi',
26 jetCorrFactorsSource=cms.VInputTag(cms.InputTag(
"jetPuppiCorrFactorsNano") ),
29 tightJetPuppiId = cms.EDProducer(
"PatJetIDValueMapProducer",
30 filterParams=cms.PSet(
31 version = cms.string(
'RUN3PUPPIruns2022FGruns2023CD'),
32 quality = cms.string(
'TIGHT'),
34 src = cms.InputTag(
"updatedJetsPuppi")
36 tightJetPuppiIdLepVeto = cms.EDProducer(
"PatJetIDValueMapProducer",
37 filterParams=cms.PSet(
38 version = cms.string(
'RUN3PUPPIruns2022FGruns2023CD'),
39 quality = cms.string(
'TIGHTLEPVETO'),
41 src = cms.InputTag(
"updatedJetsPuppi")
44 run2_jme_2016.toModify(
45 tightJetPuppiId.filterParams, version =
"RUN2UL16PUPPI" 47 tightJetPuppiIdLepVeto.filterParams, version =
"RUN2UL16PUPPI" 50 (run2_jme_2017 | run2_jme_2018 | run3_nanoAOD_122 | run3_nanoAOD_124).toModify(
51 tightJetPuppiId.filterParams, version =
"RUN2ULPUPPI" 53 tightJetPuppiIdLepVeto.filterParams, version =
"RUN2ULPUPPI" 56 run3_jme_Winter22runsBCDEprompt.toModify(
57 tightJetPuppiId.filterParams, version =
"RUN3PUPPIruns2022BCDEprompt" 59 tightJetPuppiIdLepVeto.filterParams, version =
"RUN3PUPPIruns2022BCDEprompt" 63 from RecoJets.JetProducers.hfJetShowerShape_cfi
import hfJetShowerShape
64 hfJetPuppiShowerShapeforNanoAOD = hfJetShowerShape.clone(jets=
"updatedJetsPuppi",vertices=
"offlineSlimmedPrimaryVertices")
66 updatedJetsPuppiWithUserData = cms.EDProducer(
"PATJetUserDataEmbedder",
67 src = cms.InputTag(
"updatedJetsPuppi"),
68 userFloats = cms.PSet(
69 hfsigmaEtaEta = cms.InputTag(
'hfJetPuppiShowerShapeforNanoAOD:sigmaEtaEta'),
70 hfsigmaPhiPhi = cms.InputTag(
'hfJetPuppiShowerShapeforNanoAOD:sigmaPhiPhi'),
73 tightId = cms.InputTag(
"tightJetPuppiId"),
74 tightIdLepVeto = cms.InputTag(
"tightJetPuppiIdLepVeto"),
75 hfcentralEtaStripSize = cms.InputTag(
'hfJetPuppiShowerShapeforNanoAOD:centralEtaStripSize'),
76 hfadjacentEtaStripsSize = cms.InputTag(
'hfJetPuppiShowerShapeforNanoAOD:adjacentEtaStripsSize'),
80 finalJetsPuppi = cms.EDFilter(
"PATJetRefSelector",
81 src = cms.InputTag(
"updatedJetsPuppiWithUserData"),
82 cut = cms.string(
"pt > 15")
86 jetPuppiTable = simplePATJetFlatTableProducer.clone(
87 src = cms.InputTag(
"linkedObjects",
"jets"),
88 name = cms.string(
"Jet"),
89 doc = cms.string(
"slimmedJetsPuppi, i.e. ak4 PFJets Puppi with JECs applied, after basic selection (" + finalJetsPuppi.cut.value()+
")"),
90 externalVariables = cms.PSet(),
91 variables = cms.PSet(P4Vars,
92 area =
Var(
"jetArea()", float, doc=
"jet catchment area, for JECs",precision=10),
93 nMuons =
Var(
"?hasOverlaps('muons')?overlaps('muons').size():0",
"uint8", doc=
"number of muons in the jet"),
94 muonIdx1 =
Var(
"?overlaps('muons').size()>0?overlaps('muons')[0].key():-1",
"int16", doc=
"index of first matching muon"),
95 muonIdx2 =
Var(
"?overlaps('muons').size()>1?overlaps('muons')[1].key():-1",
"int16", doc=
"index of second matching muon"),
96 electronIdx1 =
Var(
"?overlaps('electrons').size()>0?overlaps('electrons')[0].key():-1",
"int16", doc=
"index of first matching electron"),
97 electronIdx2 =
Var(
"?overlaps('electrons').size()>1?overlaps('electrons')[1].key():-1",
"int16", doc=
"index of second matching electron"),
98 nElectrons =
Var(
"?hasOverlaps('electrons')?overlaps('electrons').size():0",
"uint8", doc=
"number of electrons in the jet"),
99 svIdx1 =
Var(
"?overlaps('vertices').size()>0?overlaps('vertices')[0].key():-1",
"int16", doc=
"index of first matching secondary vertex"),
100 svIdx2 =
Var(
"?overlaps('vertices').size()>1?overlaps('vertices')[1].key():-1",
"int16", doc=
"index of second matching secondary vertex"),
101 nSVs =
Var(
"?hasOverlaps('vertices')?overlaps('vertices').size():0",
"uint8", doc=
"number of secondary vertices in the jet"),
102 btagDeepFlavB =
Var(
"bDiscriminator('pfDeepFlavourJetTags:probb')+bDiscriminator('pfDeepFlavourJetTags:probbb')+bDiscriminator('pfDeepFlavourJetTags:problepb')",float,doc=
"DeepJet b+bb+lepb tag discriminator",precision=10),
103 btagDeepFlavCvL =
Var(
"?(bDiscriminator('pfDeepFlavourJetTags:probc')+bDiscriminator('pfDeepFlavourJetTags:probuds')+bDiscriminator('pfDeepFlavourJetTags:probg'))>0?bDiscriminator('pfDeepFlavourJetTags:probc')/(bDiscriminator('pfDeepFlavourJetTags:probc')+bDiscriminator('pfDeepFlavourJetTags:probuds')+bDiscriminator('pfDeepFlavourJetTags:probg')):-1",float,doc=
"DeepJet c vs uds+g discriminator",precision=10),
104 btagDeepFlavCvB =
Var(
"?(bDiscriminator('pfDeepFlavourJetTags:probc')+bDiscriminator('pfDeepFlavourJetTags:probb')+bDiscriminator('pfDeepFlavourJetTags:probbb')+bDiscriminator('pfDeepFlavourJetTags:problepb'))>0?bDiscriminator('pfDeepFlavourJetTags:probc')/(bDiscriminator('pfDeepFlavourJetTags:probc')+bDiscriminator('pfDeepFlavourJetTags:probb')+bDiscriminator('pfDeepFlavourJetTags:probbb')+bDiscriminator('pfDeepFlavourJetTags:problepb')):-1",float,doc=
"DeepJet c vs b+bb+lepb discriminator",precision=10),
105 btagDeepFlavQG =
Var(
"?(bDiscriminator('pfDeepFlavourJetTags:probg')+bDiscriminator('pfDeepFlavourJetTags:probuds'))>0?bDiscriminator('pfDeepFlavourJetTags:probg')/(bDiscriminator('pfDeepFlavourJetTags:probg')+bDiscriminator('pfDeepFlavourJetTags:probuds')):-1",float,doc=
"DeepJet g vs uds discriminator",precision=10),
106 btagPNetB =
Var(
"?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:BvsAll')>0?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:BvsAll'):-1",float,precision=10,doc=
"ParticleNet b vs. udscg"),
107 btagPNetCvNotB =
Var(
"?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralJetTags:probb')>0?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralJetTags:probc')/(1.-bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralJetTags:probb')):-1",float,precision=10,doc=
"ParticleNet C vs notB"),
108 btagPNetCvL =
Var(
"?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:CvsL')>0?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:CvsL'):-1",float,precision=10,doc=
"ParticleNet c vs. udsg"),
109 btagPNetCvB =
Var(
"?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:CvsB')>0?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:CvsB'):-1",float,precision=10,doc=
"ParticleNet c vs. b"),
110 btagPNetQvG =
Var(
"?abs(eta())<2.5?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:QvsG'):bDiscriminator('pfParticleNetFromMiniAODAK4PuppiForwardDiscriminatorsJetTags:QvsG')",float,precision=10,doc=
"ParticleNet q (udsbc) vs. g"),
111 btagPNetTauVJet =
Var(
"?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:TauVsJet')>0?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralDiscriminatorsJetTags:TauVsJet'):-1",float,precision=10,doc=
"ParticleNet tau vs. jet"),
112 PNetRegPtRawCorr =
Var(
"?abs(eta())<2.5?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralJetTags:ptcorr'):bDiscriminator('pfParticleNetFromMiniAODAK4PuppiForwardJetTags:ptcorr')",float,precision=10,doc=
"ParticleNet universal flavor-aware visible pT regression (no neutrinos), correction relative to raw jet pT"),
113 PNetRegPtRawCorrNeutrino =
Var(
"?abs(eta())<2.5?bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralJetTags:ptnu'):bDiscriminator('pfParticleNetFromMiniAODAK4PuppiForwardJetTags:ptnu')",float,precision=10,doc=
"ParticleNet universal flavor-aware pT regression neutrino correction, relative to visible. To apply full regression, multiply raw jet pT by both PNetRegPtRawCorr and PNetRegPtRawCorrNeutrino."),
114 PNetRegPtRawRes =
Var(
"?abs(eta())<2.5?0.5*(bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralJetTags:ptreshigh')-bDiscriminator('pfParticleNetFromMiniAODAK4PuppiCentralJetTags:ptreslow')):0.5*(bDiscriminator('pfParticleNetFromMiniAODAK4PuppiForwardJetTags:ptreshigh')-bDiscriminator('pfParticleNetFromMiniAODAK4PuppiForwardJetTags:ptreslow'))",float,precision=10,doc=
"ParticleNet universal flavor-aware jet pT resolution estimator, (q84 - q16)/2"),
115 btagUParTAK4B =
Var(
"?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:BvsAll')>0?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:BvsAll'):-1",float,precision=10,doc=
"UnifiedParT b vs. udscg"),
116 btagUParTAK4CvL =
Var(
"?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:CvsL')>0?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:CvsL'):-1",float,precision=10,doc=
"UnifiedParT c vs. udsg"),
117 btagUParTAK4CvB =
Var(
"?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:CvsB')>0?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:CvsB'):-1",float,precision=10,doc=
"UnifiedParT c vs. b"),
118 btagUParTAK4CvNotB =
Var(
"?((bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:probb')+bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:probbb')+bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:problepb')))>0?((bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:probc'))/(1.-bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:probb')-bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:probbb')-bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:problepb'))):-1",float,precision=10,doc=
"UnifiedParT c vs. not b"),
119 btagUParTAK4QvG =
Var(
"?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:QvsG')>0?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:QvsG'):-1",float,precision=10,doc=
"UnifiedParT q (udsbc) vs. g"),
120 btagUParTAK4TauVJet =
Var(
"?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:TauVsJet')>0?bDiscriminator('pfUnifiedParticleTransformerAK4DiscriminatorsJetTags:TauVsJet'):-1",float,precision=10,doc=
"UnifiedParT tau vs. jet"),
121 UParTAK4RegPtRawCorr =
Var(
"?bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:ptcorr')>0?bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:ptcorr'):-1",float,precision=10,doc=
"UnifiedParT universal flavor-aware visible pT regression (no neutrinos), correction relative to raw jet pT"),
122 UParTAK4RegPtRawCorrNeutrino =
Var(
"?bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:ptnu')>0?bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:ptnu'):-1",float,precision=10,doc=
"UnifiedParT universal flavor-aware pT regression neutrino correction, relative to visible. To apply full regression, multiply raw jet pT by both UParTAK4RegPtRawCorr and UParTAK4RegPtRawCorrNeutrino."),
123 UParTAK4RegPtRawRes =
Var(
"?(bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:ptreshigh')+bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:ptreslow'))>0?0.5*(bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:ptreshigh')-bDiscriminator('pfUnifiedParticleTransformerAK4JetTags:ptreslow')):-1",float,precision=10,doc=
"UnifiedParT universal flavor-aware jet pT resolution estimator, (q84 - q16)/2"),
124 jetId =
Var(
"userInt('tightId')*2+4*userInt('tightIdLepVeto')",
"uint8",doc=
"Jet ID flag: bit2 is tight, bit3 is tightLepVeto"),
125 hfsigmaEtaEta =
Var(
"userFloat('hfsigmaEtaEta')",float,doc=
"sigmaEtaEta for HF jets (noise discriminating variable)",precision=10),
126 hfsigmaPhiPhi =
Var(
"userFloat('hfsigmaPhiPhi')",float,doc=
"sigmaPhiPhi for HF jets (noise discriminating variable)",precision=10),
127 hfcentralEtaStripSize =
Var(
"userInt('hfcentralEtaStripSize')", int, doc=
"eta size of the central tower strip in HF (noise discriminating variable)"),
128 hfadjacentEtaStripsSize =
Var(
"userInt('hfadjacentEtaStripsSize')", int, doc=
"eta size of the strips next to the central tower strip in HF (noise discriminating variable)"),
129 nConstituents =
Var(
"numberOfDaughters()",
"uint8",doc=
"Number of particles in the jet"),
130 chMultiplicity =
Var(
"chargedMultiplicity()",
"uint8",doc=
"(Puppi-weighted) Number of charged particles in the jet"),
131 neMultiplicity =
Var(
"neutralMultiplicity()",
"uint8",doc=
"(Puppi-weighted) Number of neutral particles in the jet"),
132 rawFactor =
Var(
"1.-jecFactor('Uncorrected')",float,doc=
"1 - Factor to get back to raw pT",precision=6),
133 chHEF =
Var(
"chargedHadronEnergyFraction()", float, doc=
"charged Hadron Energy Fraction", precision= 6),
134 neHEF =
Var(
"neutralHadronEnergyFraction()", float, doc=
"neutral Hadron Energy Fraction", precision= 6),
135 chEmEF =
Var(
"chargedEmEnergyFraction()", float, doc=
"charged Electromagnetic Energy Fraction", precision= 6),
136 neEmEF =
Var(
"neutralEmEnergyFraction()", float, doc=
"neutral Electromagnetic Energy Fraction", precision= 6),
137 hfHEF =
Var(
"HFHadronEnergyFraction()",float,doc=
"hadronic Energy Fraction in HF",precision= 6),
138 hfEmEF =
Var(
"HFEMEnergyFraction()",float,doc=
"electromagnetic Energy Fraction in HF",precision= 6),
139 muEF =
Var(
"muonEnergyFraction()", float, doc=
"muon Energy Fraction", precision= 6),
143 run2_nanoAOD_ANY.toModify(
144 jetPuppiTable.variables,
145 btagCSVV2 =
Var(
"bDiscriminator('pfCombinedInclusiveSecondaryVertexV2BJetTags')",float,doc=
" pfCombinedInclusiveSecondaryVertexV2 b-tag discriminator (aka CSVV2)",precision=10),
146 btagDeepB =
Var(
"?(bDiscriminator('pfDeepCSVJetTags:probb')+bDiscriminator('pfDeepCSVJetTags:probbb'))>=0?bDiscriminator('pfDeepCSVJetTags:probb')+bDiscriminator('pfDeepCSVJetTags:probbb'):-1",float,doc=
"DeepCSV b+bb tag discriminator",precision=10),
147 btagDeepCvL =
Var(
"?bDiscriminator('pfDeepCSVJetTags:probc')>=0?bDiscriminator('pfDeepCSVJetTags:probc')/(bDiscriminator('pfDeepCSVJetTags:probc')+bDiscriminator('pfDeepCSVJetTags:probudsg')):-1", float,doc=
"DeepCSV c vs udsg discriminator",precision=10),
148 btagDeepCvB =
Var(
"?bDiscriminator('pfDeepCSVJetTags:probc')>=0?bDiscriminator('pfDeepCSVJetTags:probc')/(bDiscriminator('pfDeepCSVJetTags:probc')+bDiscriminator('pfDeepCSVJetTags:probb')+bDiscriminator('pfDeepCSVJetTags:probbb')):-1",float,doc=
"DeepCSV c vs b+bb discriminator",precision=10)
151 (run3_nanoAOD_122 | run3_nanoAOD_124).toModify(
152 jetPuppiTable.variables,
158 btagPNetTauVJet =
None,
159 PNetRegPtRawCorr =
None,
160 PNetRegPtRawCorrNeutrino =
None,
161 PNetRegPtRawRes =
None,
163 chMultiplicity =
None,
164 neMultiplicity =
None,
170 jetPuppiTable.variables.pt.precision=10
178 _btagDiscriminators=[]
180 print(
"Updating process to run ParticleNetAK4")
181 from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK4_cff
import _pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll
as pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll
182 from RecoBTag.ONNXRuntime.pfParticleNetFromMiniAODAK4_cff
import _pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll
as pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll
183 _btagDiscriminators += pfParticleNetFromMiniAODAK4PuppiCentralJetTagsAll
184 _btagDiscriminators += pfParticleNetFromMiniAODAK4PuppiForwardJetTagsAll
186 print(
"Updating process to run RobustParTAK4")
188 _btagDiscriminators += pfParticleTransformerAK4JetTagsAll
189 if addUnifiedParTAK4:
190 print(
"Updating process to run UnifiedParTAK4")
192 _btagDiscriminators += pfUnifiedParticleTransformerAK4JetTagsAll
193 if len(_btagDiscriminators)==0:
return process
194 print(
"Will recalculate the following discriminators: "+
", ".
join(_btagDiscriminators))
197 jetSource = cms.InputTag(
'slimmedJetsPuppi'),
198 jetCorrections = (
'AK4PFPuppi', cms.vstring([
'L2Relative',
'L3Absolute']),
'None'),
199 btagDiscriminators = _btagDiscriminators,
200 postfix =
'PuppiWithDeepInfo',
202 process.load(
"Configuration.StandardSequences.MagneticField_cff")
203 process.jetPuppiCorrFactorsNano.src =
"selectedUpdatedPatJetsPuppiWithDeepInfo" 204 process.updatedJetsPuppi.jetSource =
"selectedUpdatedPatJetsPuppiWithDeepInfo" 207 nanoAOD_addDeepInfoAK4_switch = cms.PSet(
208 nanoAOD_addParticleNet_switch = cms.untracked.bool(
False),
209 nanoAOD_addRobustParTAK4Tag_switch = cms.untracked.bool(
False),
210 nanoAOD_addUnifiedParTAK4Tag_switch = cms.untracked.bool(
False)
220 basicJetsPuppiForMetForT1METNano = cms.EDProducer(
"PATJetCleanerForType1MET",
221 src = updatedJetsPuppiWithUserData.src,
222 jetCorrEtaMax = cms.double(9.9),
223 jetCorrLabel = cms.InputTag(
"L3Absolute"),
224 jetCorrLabelRes = cms.InputTag(
"L2L3Residual"),
225 offsetCorrLabel = cms.InputTag(
"L1FastJet"),
226 skipEM = cms.bool(
False),
227 skipEMfractionThreshold = cms.double(0.9),
228 skipMuonSelection = cms.string(
'isGlobalMuon | isStandAloneMuon'),
229 skipMuons = cms.bool(
True),
230 type1JetPtThreshold = cms.double(0.0),
231 calcMuonSubtrRawPtAsValueMap = cms.bool(
True)
234 updatedJetsPuppiWithUserData.userFloats.muonSubtrRawPt = cms.InputTag(
"basicJetsPuppiForMetForT1METNano:MuonSubtrRawPt")
236 corrT1METJetPuppiTable = simplePATJetFlatTableProducer.clone(
237 src = finalJetsPuppi.src,
238 cut = cms.string(
"pt<15 && abs(eta)<9.9"),
239 name = cms.string(
"CorrT1METJet"),
240 doc = cms.string(
"Additional low-pt ak4 Puppi jets for Type-1 MET re-correction"),
241 variables = cms.PSet(
242 rawPt =
Var(
"pt()*jecFactor('Uncorrected')",float,precision=10),
243 eta =
Var(
"eta", float,precision=12),
244 phi =
Var(
"phi", float, precision=12),
245 area =
Var(
"jetArea()", float, doc=
"jet catchment area, for JECs",precision=10),
246 EmEF =
Var(
"chargedEmEnergyFraction()+neutralEmEnergyFraction()", float, doc=
"charged+neutral Electromagnetic Energy Fraction", precision=6),
250 corrT1METJetPuppiTable.variables.muonSubtrFactor =
Var(
"1-userFloat('muonSubtrRawPt')/(pt()*jecFactor('Uncorrected'))",float,doc=
"1-(muon-subtracted raw pt)/(raw pt)",precision=6)
251 jetPuppiTable.variables.muonSubtrFactor =
Var(
"1-userFloat('muonSubtrRawPt')/(pt()*jecFactor('Uncorrected'))",float,doc=
"1-(muon-subtracted raw pt)/(raw pt)",precision=6)
253 jetPuppiForMETTask = cms.Task(basicJetsPuppiForMetForT1METNano,corrT1METJetPuppiTable)
256 jetPuppiUserDataTask = cms.Task(tightJetPuppiId, tightJetPuppiIdLepVeto, hfJetPuppiShowerShapeforNanoAOD)
259 jetPuppiTask = cms.Task(jetPuppiCorrFactorsNano,updatedJetsPuppi,jetPuppiUserDataTask,updatedJetsPuppiWithUserData,finalJetsPuppi)
262 jetPuppiTablesTask = cms.Task(jetPuppiTable)
def Var(expr, valtype, doc=None, precision=-1, lazyEval=False)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
def nanoAOD_addDeepInfoAK4(process, addParticleNet, addRobustParTAK4=False, addUnifiedParTAK4=False)
static std::string join(char **cmd)