Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marcin
2018 Agata Neda Diamant Campaign - TSelector
Commits
20e6c971
Commit
20e6c971
authored
Apr 25, 2018
by
Jérémie Dudouet
Browse files
remove error message due to empty histograms in the merge
parent
b194e99e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
107 deletions
+3
-107
src/PlotResults.cxx
src/PlotResults.cxx
+3
-1
src/PlotResultsSelector.C
src/PlotResultsSelector.C
+0
-106
No files found.
src/PlotResults.cxx
View file @
20e6c971
...
...
@@ -103,7 +103,9 @@ void ReadChain()
SetStandardGlobalValues
();
//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
));
else
MyChain
->
Process
(
Form
(
"src/PlotResultsSelector.C+%s"
,
comp_opt
),
""
,
fNEntries
);
...
...
src/PlotResultsSelector.C
View file @
20e6c971
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment