From 7314c334d1a4ae478ba2f6866e3257b2204b6946 Mon Sep 17 00:00:00 2001 From: Mateusz Zarucki Date: Tue, 15 Jan 2019 12:05:36 +0100 Subject: [PATCH] Check and set equal xsec when combining samples --- core/python/Sample.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/python/Sample.py b/core/python/Sample.py index 1b72d79..09bd03a 100644 --- a/core/python/Sample.py +++ b/core/python/Sample.py @@ -166,6 +166,7 @@ def combine(cls, name, samples, texName = None, maxN = None, color = 0): return cls(name = name, \ treeName = check_equal_([s.treeName for s in samples]), + xSection = check_equal_([s.xSection for s in samples]), normalization = normalization, files = files, selectionString = check_equal_([s.selectionString for s in samples]),