195 s <<
"\nDumping LumiDetails\n";
196 s << std::setw(12) <<
"lumi version " << lumiDetails.lumiVersion() <<
"\n";
197 std::vector<std::string>::const_iterator algo;
198 std::vector<std::string>::const_iterator algoEnd;
200 algo = lumiDetails.algoNames().begin();
201 algoEnd = lumiDetails.algoNames().end();
203 algo = lumiDetails.dipalgoNames().begin();
204 algoEnd = lumiDetails.dipalgoNames().end();
208 for( ; algo != algoEnd; ++algo, ++
i) {
210 std::vector<float>::const_iterator
value = lumiDetails.lumiValuesForAlgo(i).first;
211 std::vector<float>::const_iterator valueEnd = lumiDetails.lumiValuesForAlgo(i).second;
212 std::vector<float>::const_iterator
error = lumiDetails.lumiErrorsForAlgo(i).first;
213 std::vector<short>::const_iterator
quality = lumiDetails.lumiQualitiesForAlgo(i).first;
215 s <<
"algorithm: " << *algo <<
"\n";
216 s << std::setw(12) <<
"value"
217 << std::setw(12) <<
"error"
218 << std::setw(12) <<
"quality" <<
"\n";
221 s << std::setw(12) << *value
222 << std::setw(12) << *error
223 << std::setw(12) << *quality <<
"\n";
227 s <<
"beam 1 intensities:\n";
228 std::vector<float>
const& beam1Intensities = lumiDetails.lumiBeam1Intensities();
229 for (std::vector<float>::const_iterator intensity = beam1Intensities.begin(),
230 iEnd = beam1Intensities.end();
231 intensity != iEnd; ++intensity) {
232 s << *intensity <<
"\n";
234 s <<
"\nbeam 2 intensities:\n";
235 std::vector<float>
const& beam2Intensities = lumiDetails.lumiBeam2Intensities();
236 for (std::vector<float>::const_iterator intensity = beam2Intensities.begin(),
237 iEnd = beam2Intensities.end();
238 intensity != iEnd; ++intensity) {
239 s << *intensity <<
"\n";