Update (Rossella)
authorzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Sep 2012 17:46:11 +0000 (17:46 +0000)
committerzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 Sep 2012 17:46:11 +0000 (17:46 +0000)
PWGHF/vertexingHF/macros/AddTaskCFVertexingHF3ProngLc.C

index e6a9eea..3cab5b5 100644 (file)
@@ -688,18 +688,21 @@ AliCFTaskVertexingHF *AddTaskCFVertexingHF3ProngLc(const char* cutFile = "./cuts
        output3name=nameCorr;
        if(!isKeepDfromB) {
                outputfile += ":PWG3_D2H_CFtaskLctopKpi_CommonFramework";
+                outputfile+=coutName.Data();
                output1name="CFHFchist0_3Prong_CommonFramework";
-                output1name+=coutName;
+                output1name+=coutName.Data();
        }
        else  if(isKeepDfromBOnly){
                outputfile += ":PWG3_D2H_CFtaskLctopKpiKeepDfromBOnly_CommonFramework";
+                outputfile+=coutName.Data();
                output1name="CFHFchist0DfromB_3Prong_CommonFramework";
-                output1name+=coutName;
+                output1name+=coutName.Data();
        }
        else{
                outputfile += ":PWG3_D2H_CFtaskLctopKpiKeepDfromB_CommonFramework";
+                outputfile+=coutName.Data();
                output1name="CFHFchist0allD_3Prong_CommonFramework";
-                output1name+=coutName;
+                output1name+=coutName.Data();
        }
 
        output4name= "Cuts_3Prong_CommonFramework";