25 def __init__(self, name, metadata, data, masterGroup, suffix):
29 self.
passWeighted = data.GetBinContent(RatesBins.PASS_WEIGHTED_OR_BIN.value)
33 self.
passRaw = data.GetBinContent(RatesBins.PASS_RAW_BIN.value)
47 self.
activeRaw = data.GetBinContent(RatesBins.ACTIVE_RAW_BIN.value)
50 self.
activeWeighted = data.GetBinContent(RatesBins.ACTIVE_WEIGHTED_BIN.value)
56 log.error(
"Normalisation factor not found in the input ntuple! Check if it's not corrupted")
75 prescales = metadata[
'prescales']
77 lowers = metadata[
'lowers']
78 express = metadata[
'express']