111 std::stringstream job_summary;
112 job_summary << std::setprecision(2);
113 for (
int i=1; i <= 110 ;i++) job_summary <<
"=";
114 job_summary << std::endl;
115 job_summary << std::setw(20) <<
"WeightCalc"
116 << std::setw(15) <<
"Type"
117 << std::setw(15) <<
"#RW neutrinos"
118 << std::setw(15) <<
"#Multisims"
119 << std::setw(15) <<
"Min"
120 << std::setw(15) <<
"Max"
121 << std::setw(15) <<
"Avg"
123 for (
int i=1; i <= 110; i++) job_summary <<
"=";
124 job_summary << std::endl;
125 for (
auto it = weightCalcMap.begin(); it!=weightCalcMap.end(); it++) {
126 job_summary << std::setw(20) << it->first
127 << std::setw(15) << (it->second->fWeightCalcType)
128 << std::setw(15) << (it->second->fNcalls)
129 << std::setw(15) << (it->second->fNmultisims)
130 << std::setw(15) << (it->second->fMinWeight)
131 << std::setw(15) << (it->second->fMaxWeight)
132 << std::setw(15) << (it->second->fAvgWeight)
135 for (
int i=1; i<=110; i++) job_summary <<
"=";
136 job_summary << std::endl;
137 mf::LogInfo(
"") << job_summary.str();
std::map< std::string, Weight_t * > GetWeightCalcMap()
Returns the map between calculator name and Weight_t product.
WeightManager _wgt_manager