]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix
authorcholm <Christian.Holm.Christensen@cern.ch>
Wed, 29 Oct 2014 00:05:07 +0000 (01:05 +0100)
committercholm <Christian.Holm.Christensen@cern.ch>
Wed, 29 Oct 2014 00:05:07 +0000 (01:05 +0100)
PWGLF/FORWARD/analysis2/AliBaseESDTask.h

index 533fe31c575470734ea39b51dd544de1e688dc5f..0d9998b4d619bcec65daed92d00c64cbad4603c3 100644 (file)
@@ -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 
    */