Commit 20e6c971 authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

remove error message due to empty histograms in the merge

parent b194e99e
...@@ -103,7 +103,9 @@ void ReadChain() ...@@ -103,7 +103,9 @@ void ReadChain()
SetStandardGlobalValues(); SetStandardGlobalValues();
//g debug O optimized //g debug O optimized
const char *comp_opt="+g"; const char *comp_opt="+O";
gErrorIgnoreLevel = kFatal;
if(fNEntries==0) MyChain->Process(Form("src/PlotResultsSelector.C+%s",comp_opt)); if(fNEntries==0) MyChain->Process(Form("src/PlotResultsSelector.C+%s",comp_opt));
else MyChain->Process(Form("src/PlotResultsSelector.C+%s",comp_opt),"",fNEntries); else MyChain->Process(Form("src/PlotResultsSelector.C+%s",comp_opt),"",fNEntries);
......
...@@ -1163,112 +1163,6 @@ void PlotResultsSelector::SlaveTerminate() ...@@ -1163,112 +1163,6 @@ void PlotResultsSelector::SlaveTerminate()
} }
} }
} }
// TObject *o1 = 0x0;
// TIter *iter = new TIter(fNedaHistList);
// while( (o1 = iter->Next()))
// {
// TH1 *h = (TH1*)o1;
// if(h->InheritsFrom("TH1") && h->GetEntries()<=fStatMin)
// {
// fNedaHistList->Remove(h);
// }
// TList *l = (TList*)o1;
// if(l->InheritsFrom("TList"))
// {
// TIter *iter12 = new TIter(l);
// while( (o1 = iter12->Next()))
// {
// TH1 *h = (TH1*)o1;
// if(h && h->GetEntries()<=fStatMin)
// {
// l->Remove(h);
// }
// }
// }
// }
// TObject *o2 = 0x0;
// TIter *iter2 = new TIter(fDiamantHistList);
// while( (o2 = iter2->Next()))
// {
// TH1 *h = (TH1*)o2;
// if(h->InheritsFrom("TH1") && h->GetEntries()<=fStatMin)
// {
// fDiamantHistList->Remove(h);
// }
// TList *l = (TList*)o2;
// if(l->InheritsFrom("TList"))
// {
// TIter *iter22 = new TIter(l);
// while( (o2 = iter22->Next()))
// {
// TH1 *h = (TH1*)o2;
// if(h && h->GetEntries()<=fStatMin)
// {
// l->Remove(h);
// }
// }
// }
// }
// TObject *o3 = 0x0;
// TIter *iter3 = new TIter(fAgataHistList);
// while( (o3 = iter3->Next()))
// {
// TH1 *h = (TH1*)o3;
// if(h->InheritsFrom("TH1") && h->GetEntries()<=fStatMin)
// {
// fAgataHistList->Remove(h);
// }
// TList *l = (TList*)o3;
// if(l->InheritsFrom("TList"))
// {
// TIter *iter32 = new TIter(l);
// while( (o3 = iter32->Next()))
// {
// TH1 *h = (TH1*)o3;
// if(h && h->GetEntries()<=fStatMin)
// {
// l->Remove(h);
// }
// }
// }
// }
// TObject *o4 = 0x0;
// TIter *iter4 = new TIter(fGlobHistList);
// while( (o4 = iter4->Next()))
// {
// TH1 *h = (TH1*)o4;
// if(h->InheritsFrom("TH1") && h->GetEntries()<=fStatMin)
// {
// fGlobHistList->Remove(h);
// }
// TList *l = (TList*)o4;
// if(l->InheritsFrom("TList"))
// {
// TIter *iter42 = new TIter(l);
// while( (o4 = iter42->Next()))
// {
// TH1 *h = (TH1*)o4;
// if(h && h->GetEntries()<=fStatMin)
// {
// l->Remove(h);
// }
// }
// }
// }
// }
} }
void PlotResultsSelector::Terminate() void PlotResultsSelector::Terminate()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment