Bug #92237 fixed as Barth suggested
authormrodrigu <mrodrigu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Mar 2012 21:19:14 +0000 (21:19 +0000)
committermrodrigu <mrodrigu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Mar 2012 21:19:14 +0000 (21:19 +0000)
ACORDE/AliACORDEQAChecker.cxx

index f9513e0..ffff3ba 100755 (executable)
@@ -115,8 +115,10 @@ void AliACORDEQAChecker::Check(Double_t * test, AliQAv1::ALITASK_t /*index*/, TO
                                TString hdataName = hdata->GetName();
                                //if (hdata->GetListOfFunctions()->GetEntries() == 0) continue;  
                                if (hdataName.Contains("fhACORDEStatusAMU_DQM")){
-                                       hdata->GetListOfFunctions()->Add(fTextDQMShifterInfo);
-                                        hdata->GetListOfFunctions()->Add(fMax);
+                                       if (!hdata->GetListOfFunctions()->Contains(fTextDQMShifterInfo))
+                                               hdata->GetListOfFunctions()->Add(fTextDQMShifterInfo);
+                                       if (!hdata->GetListOfFunctions()->Contains(fMax))
+                                               hdata->GetListOfFunctions()->Add(fMax);
 
                                }
                                // Here we use the QAref ACORDE data from fRefOCDBSubDir