Adding Efficiency plots weighted by mcEventsWeights.at(0) in CutManager
I add such plots in combination with the GetXSectionTool
, in order to make user-friendly and "fast" the calculation of the yield in easyjet.
The (Thomas') idea is basically to rescale these plots by the total weight :
weight = (mcEventWeight/SumOfWeight) x filterEfficiency x kFactor x crossSection * luminosity
which will be available through post-rocessing scripts that utilize the GetXSectionTool
.
Then we will be able to have cutflow plots in terms of yield.
Testing the implementation in bbyy
so far.
Edited by Spyridon Merianos