31 std::stringstream stringRepresentation;
35 const auto &
name = ci.GetName();
36 const auto pass = ci.GetPass();
37 const auto all = ci.GetAll();
38 const auto eff = ci.GetEff();
39 const auto cumulativeEff = 100.f *
double(pass) /
double(allEntries);
41 std::string stringtodisplay =
Form(
"%-20s: pass=%-10lld all=%-10lld -- eff=%3.2f %% cumulative eff=%3.2f %%",
42 name.c_str(), pass, all, eff, cumulativeEff);
44 stringRepresentation << stringtodisplay;
46 stringRepresentation <<
"\n";
48 return stringRepresentation.str();