Crash when running on postprocessed nanoAOD MC
Since !36 (merged) was merged, when trying to run on postprocessed nanoAOD MC (i.e. with jet systematics), bamboo crashes with the following traceback:
Traceback (most recent call last):
File "/t3home/swertz/bambooDev/devvenv/bin/bambooRun", line 11, in <module>
load_entry_point('bamboo', 'console_scripts', 'bambooRun')()
File "/t3home/swertz/bambooDev/bamboo/bamboo/scripts/bambooRun.py", line 62, in main
modInst.run()
File "/t3home/swertz/bambooDev/bamboo/bamboo/analysismodules.py", line 191, in run
self.processTrees(inputs, output, sampleCfg=tConfig, **kwargs)
File "/t3home/swertz/bambooDev/bamboo/bamboo/analysismodules.py", line 374, in processTrees
self.plotList = self.definePlots(tree, noSel, sample=sample, sampleCfg=sampleCfg)
File "plotter.py", line 195, in definePlots
plots += defs.makeMETPlots(oneMu4JetSel, muon, myMET, "1mu_4j")
File "/t3home/swertz/bambooDev/ttbbRun2Bamboo/python/definitions.py", line 121, in makeMETPlots
EquidistantBinning(60 // binScaling, 0., 600.), title="MET p_{T} (GeV)", plotopts=getOpts(uname)))
File "/t3home/swertz/bambooDev/bamboo/bamboo/plots.py", line 149, in make1D
return Plot(name, (adaptArg(variable),), selection, (binning,), **kwargs)
File "/t3home/swertz/bambooDev/bamboo/bamboo/plots.py", line 97, in __init__
selection._fbe.addPlot(self, autoSyst=autoSyst)
File "/t3home/swertz/bambooDev/bamboo/bamboo/dataframebackend.py", line 302, in addPlot
wN = varNd.wName[varn] if systN in selSysts else varNd.wName["nominal"] ## else should be "only in the variables", so varNd == nomNd then
KeyError: 'unclustEnup'