]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bugfix: filling correct histogram; extension of argument options for configuring...
authorebruna <ebruna@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Jun 2013 17:11:18 +0000 (17:11 +0000)
committerebruna <ebruna@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Jun 2013 17:11:18 +0000 (17:11 +0000)
PWGHF/correlationHF/AliDxHFEParticleSelectionEl.cxx
PWGHF/correlationHF/macros/AddTaskDxHFECorrelation.C
PWGHF/correlationHF/macros/AddTaskDxHFECorrelationME.C

index 97c155f672a4573db46dd4a4687763b302895a05..d93f45eb7a8db3afd119b91144c5fc724000ec7c 100644 (file)
@@ -810,7 +810,7 @@ void AliDxHFEParticleSelectionEl::InvMassFilter(TList *elList, Bool_t *selIndx)
                ((TH1D*)fHistoList->FindObject("fInvMass2SelLS"))->Fill(mass);
                if(mass>fInvMassLow)
                  {
-                   ((TH1D*)fHistoList->FindObject("fInvMassLScut"))->Fill(mass);
+                   ((TH1D*)fHistoList->FindObject("fInvMass2SelLScut"))->Fill(mass);
                    selIndx[i]=kTRUE;
                    selIndx[j]=kTRUE;
                  }
@@ -821,7 +821,7 @@ void AliDxHFEParticleSelectionEl::InvMassFilter(TList *elList, Bool_t *selIndx)
                ((TH1D*)fHistoList->FindObject("fInvMass2SelULS"))->Fill(mass);
                if(mass>fInvMassLow)
                  {
-                   ((TH1D*)fHistoList->FindObject("fInvMassULScut"))->Fill(mass);
+                   ((TH1D*)fHistoList->FindObject("fInvMass2SelULScut"))->Fill(mass);
                    selIndx[i]=kTRUE;
                    selIndx[j]=kTRUE;
                  }
index 547669ed8241cb3f169228f0d5495715e7168a37..1dc9fa39def708e965ed44f9edeb8a2e9a88f2ed 100644 (file)
@@ -134,7 +134,9 @@ int AddTaskDxHFECorrelation(TString configuration="", TString analysisName="PWGH
            bEventMixing=kTRUE;
            taskOptions+=" event-mixing";
          }
-         if (argument.BeginsWith("PbPb")) {
+         if (argument.BeginsWith("PbPb") ||
+             argument.BeginsWith("system=1") ||
+             argument.BeginsWith("Pb-Pb")) {
            system=1;
            taskOptions+=" system=Pb-Pb";
          }
index d54e4888b72dd96333671017cdce64b474e695f6..dc3665ac082bb87234bb68723c64ea2fb9134212 100644 (file)
@@ -95,7 +95,8 @@ int AddTaskDxHFECorrelationME(TString configuration="")
       }
     }
     else if(argument.BeginsWith("PbPb") ||
-           argument.BeginsWith("system=1")){
+           argument.BeginsWith("system=1") ||
+           argument.BeginsWith("Pb-Pb")){
       system=1;
       taskOptions+=" PbPb";
     }