]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Set the directory to be zero for all histograms, to avoid messages
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Aug 2011 12:57:21 +0000 (12:57 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Aug 2011 12:57:21 +0000 (12:57 +0000)
about possibly lost memory,

FMD/AliFMDQADataMakerRec.cxx

index 6f6ae2c7900fb23a5b1b221c96631314857f47ee..0cb86c24b3598eff28bf08b74ad53a27757b771d 100644 (file)
@@ -139,6 +139,7 @@ TH1* AliFMDQADataMakerRec::MakeADCHist(UShort_t d, Char_t r, Short_t b)
   hist->SetLineColor(color);
   hist->SetMarkerColor(color);
   hist->GetXaxis()->SetNdivisions(408,false);
+  hist->SetDirectory(0);
   // hist->SetStats(0);
 
   return hist;
@@ -165,6 +166,7 @@ TH1* AliFMDQADataMakerRec::MakeELossHist(UShort_t d, Char_t r, Short_t b)
   hist->SetFillColor(color);
   hist->SetLineColor(color);
   hist->SetMarkerColor(color);
+  hist->SetDirectory(0);
   // hist->SetStats(0);
 
   return hist;
@@ -221,6 +223,7 @@ void AliFMDQADataMakerRec::InitRaws()
   hErrors->GetXaxis()->SetBinLabel(3, "FMD3");
   hErrors->SetYTitle("# errors");
   hErrors->SetZTitle("Events [log]");
+  hErrors->SetDirectory(0);
   Add2RawsList(hErrors, 1, !expert, image, !saveCorr);
   //AliInfo(Form("Adding %30s to raw list @ %2d", hErrors->GetName(), 1));