23void RCutFlowReport::Print()
const
29std::string RCutFlowReport::AsString()
const
35 const auto &
name =
ci.GetName();
36 const auto pass =
ci.GetPass();
37 const auto all =
ci.GetAll();
38 const auto eff =
ci.GetEff();
41 std::string
stringtodisplay =
Form(
"%-20s: pass=%-10lld all=%-10lld -- eff=%3.2f %% cumulative eff=%3.2f %%",
54 throw std::runtime_error(
"Cannot look for an unnamed cut.");
60 std::string err =
"Cannot find a cut called \"";
62 err +=
"\". Available named cuts are: \n";
64 err +=
" - " +
ci.GetName() +
"\n";
66 throw std::runtime_error(err);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
std::vector< TCutInfo > fCutInfos
std::string AsString() const
const_iterator begin() const
const_iterator end() const