We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4adae3 commit dda2d9cCopy full SHA for dda2d9c
PhysicsTools/NanoAOD/python/nano_cff.py
@@ -247,7 +247,7 @@ def nanoAOD_customizeCommon(process):
247
reclusterAK8=nanoAOD_rePuppi_switch.reclusterAK8.value(),
248
)
249
250
- if nanoAOD_rePuppi_switch.useExistingWeights == False:
+ if not(nanoAOD_rePuppi_switch.useExistingWeights) and (nanoAOD_rePuppi_switch.reclusterAK4MET or nanoAOD_rePuppi_switch.reclusterAK8):
251
process = UsePuppiWeightFromValueMapForPFCandTable(process)
252
253
# This function is defined in jetsAK4_Puppi_cff.py
0 commit comments