]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix on add task (J.Wilkinson)
authorzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Jun 2013 13:02:25 +0000 (13:02 +0000)
committerzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Jun 2013 13:02:25 +0000 (13:02 +0000)
PWGHF/vertexingHF/macros/AddTaskCFVertexingHFCascade.C

index 433d65c5368daec7c4b404385dcad856c7746011..a13f35f13adad2c09cf78e1d49de04ea153b6baa 100644 (file)
@@ -516,7 +516,7 @@ AliCFTaskVertexingHF *AddTaskCFVertexingHFCascade(const char* cutFile = "DStarto
                else {
                        task->SetWeightFunction(funcWeight);
                        Printf("User-defined Weights will be used. The function being:");
-                       task->GetWeightFunction(funcWeight)->Print();
+                       task->GetWeightFunction()->Print();
                }
        }
 
@@ -538,7 +538,7 @@ AliCFTaskVertexingHF *AddTaskCFVertexingHFCascade(const char* cutFile = "DStarto
        Printf("UseWeight = %d",(Int_t)task->GetUseWeight());
        if (task->GetUseWeight()) {
                Printf("User-defined Weight function:");
-               task->GetWeightFunction(funcWeight)->Print();
+               task->GetWeightFunction()->Print();
        }
        else{
                Printf("FONLL will be used for the weights");