From d5ef0d6f49ecd726f68d2d71694b0a1256275093 Mon Sep 17 00:00:00 2001 From: Andrea Marini Date: Tue, 15 Jul 2014 10:22:37 +0200 Subject: [PATCH] bug fix --- UnfoldAnalysis/src/UnfoldAnalysis.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UnfoldAnalysis/src/UnfoldAnalysis.cc b/UnfoldAnalysis/src/UnfoldAnalysis.cc index 5725405f..92554561 100644 --- a/UnfoldAnalysis/src/UnfoldAnalysis.cc +++ b/UnfoldAnalysis/src/UnfoldAnalysis.cc @@ -48,9 +48,9 @@ void UnfoldAnalysis::bookSignalModel(LoopAll& l, Int_t nDataBins) UnfoldBaseClass::bookSignalModel(l,nDataBins); //check if you have a simple map between bins and categories - if( nCategories_%nVarCategories ) + if( nCategories_% (nVarCategories+extraBinOutOfJetAcc) ) { - cout<<"nCategories %% nVarCategories !=0 ["<