diff --git a/Phys/B2KShh/python/B2KShh/RecoAlgo.py b/Phys/B2KShh/python/B2KShh/RecoAlgo.py index 7265b6a..d91f812 100644 --- a/Phys/B2KShh/python/B2KShh/RecoAlgo.py +++ b/Phys/B2KShh/python/B2KShh/RecoAlgo.py @@ -51,6 +51,9 @@ self.set_mc_daug_types( mc_daughters ) + # If extended hypoteses, do not cut on Mb in self.analyse + self.use_extended_hypothesis_set = use_extended_hypothesis_set + def set_mc_daug_types( self, mc_daughters ) : """ @@ -1737,8 +1740,10 @@ # apply cut on the B-candidate mass (calculated under the new daughter hypothesis) newbmass = bparams.momentum().m() - if newbmass.value() < 5000.0 or newbmass.value() > 5800.0 : - continue + # If extended hypoteses, do not cut on Mb + if not use_extended_hypothesis_set: + if newbmass.value() < 5000.0 or newbmass.value() > 5800.0 : + continue # get the B daughters if not self.wrongsign :