22 #ifndef KFPVEfficiencies_H
23 #define KFPVEfficiencies_H
25 #ifndef HLTCA_STANDALONE
64 AddCounter(Form(
"%s",
"PV"), Form(
"%-*s",12,
"PV"));
65 AddCounter(Form(
"%s",
"PVtrigger"), Form(
"%-*s",12,
"PV trigger"));
66 AddCounter(Form(
"%s",
"PVpileup"), Form(
"%-*s",12,
"PV pileup "));
80 names.push_back(name);
112 void Inc(
bool isReco,
int nClones, TString
name)
144 std::ios_base::fmtflags original_flags = std::cout.flags();
145 std::cout.setf(std::ios::fixed);
146 std::cout.setf(std::ios::showpoint);
147 std::cout.precision(3);
157 <<
" | "<<
" N MC " << std::endl;
160 for (
int iC = 0; iC < NCounters; iC++){
161 std::cout <<
names[iC]
170 <<
" | " << std::setw(6) <<
mc.
counters[iC] << std::endl;
172 std::cout.flags(original_flags);