From 4945defe3bfb4a7bc7dddd4c65242c53d9ec26d5 Mon Sep 17 00:00:00 2001 From: cholm Date: Wed, 29 Oct 2014 01:05:07 +0100 Subject: [PATCH] Fix --- PWGLF/FORWARD/analysis2/AliBaseESDTask.h | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/PWGLF/FORWARD/analysis2/AliBaseESDTask.h b/PWGLF/FORWARD/analysis2/AliBaseESDTask.h index 533fe31c575..0d9998b4d61 100644 --- a/PWGLF/FORWARD/analysis2/AliBaseESDTask.h +++ b/PWGLF/FORWARD/analysis2/AliBaseESDTask.h @@ -100,13 +100,30 @@ public: * * @param sumFile Output file for sums * @param resFile Output file for sums - * @param old Use old names * * @return true on success */ virtual Bool_t Connect(const char* sumFile=0, - const char* resFile=0, - Bool_t old=false); + const char* resFile=0) + { + return Connect(sumFile, resFile, false); + } + /** + * Add this task to the manager and connect the outputs. If @a + * sumFile is null or the empty string, then the sum container is + * stored in the default output file of the manager. If @a resFile + * is null or the empty string, then it is set to @a resFile if + * defined, otherwise to the default output file of the manager. + * + * @param sumFile Output file for sums + * @param resFile Output file for sums + * @param old Use old names + * + * @return true on success + */ + virtual Bool_t Connect(const char* sumFile, + const char* resFile, + Bool_t old); /** * Called when initializing the train */ -- 2.43.0