]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Using AddAndAxpand instead of AddAt (Andrei)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Oct 2006 15:53:48 +0000 (15:53 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 18 Oct 2006 15:53:48 +0000 (15:53 +0000)
ANALYSIS/AliAnalysisTask.cxx

index a61b2d8d1d614e86d0342f3395ec652f339a54c8..4e8b68dd8ab78d711051911d1fda6aba5f4f23f7 100644 (file)
@@ -234,7 +234,7 @@ void AliAnalysisTask::DefineInput(Int_t islot, TClass *type)
 // Define an input slot and its type.
    AliAnalysisDataSlot *input = new AliAnalysisDataSlot(type, this);
    if (fNinputs<islot+1) fNinputs = islot+1;
-   fInputs->AddAt(input, islot);
+   fInputs->AddAtAndExpand(input, islot);
 }
 
 //______________________________________________________________________________
@@ -252,7 +252,7 @@ void AliAnalysisTask::DefineOutput(Int_t islot, TClass *type)
       fOutputReady = new Bool_t[fNoutputs];
       memset(fOutputReady, 0, fNoutputs*sizeof(Bool_t));
    } 
-   fOutputs->AddAt(output, islot);
+   fOutputs->AddAtAndExpand(output, islot);
 }
 
 //______________________________________________________________________________