145 s <<
"\nDumping LumiDetails\n";
146 s << std::setw(12) <<
"lumi version " << lumiDetails.lumiVersion() <<
"\n";
147 std::vector<std::string>::const_iterator
algo;
148 std::vector<std::string>::const_iterator algoEnd;
149 if (lumiDetails.lumiVersion() !=
std::string(
"DIP")) {
150 algo = lumiDetails.algoNames().begin();
151 algoEnd = lumiDetails.algoNames().end();
153 algo = lumiDetails.dipalgoNames().begin();
154 algoEnd = lumiDetails.dipalgoNames().end();
159 std::vector<float>::const_iterator
value = lumiDetails.lumiValuesForAlgo(
i).first;
160 std::vector<float>::const_iterator valueEnd = lumiDetails.lumiValuesForAlgo(
i).second;
161 std::vector<float>::const_iterator
error = lumiDetails.lumiErrorsForAlgo(
i).first;
162 std::vector<short>::const_iterator
quality = lumiDetails.lumiQualitiesForAlgo(
i).first;
164 s <<
"algorithm: " << *
algo <<
"\n";
165 s << std::setw(12) <<
"value" << std::setw(12) <<
"error" << std::setw(12) <<
"quality"
169 s << std::setw(12) << *
value << std::setw(12) << *
error << std::setw(12) << *
quality <<
"\n";
173 s <<
"beam 1 intensities:\n";
174 std::vector<float>
const& beam1Intensities = lumiDetails.lumiBeam1Intensities();
175 for (std::vector<float>::const_iterator intensity = beam1Intensities.begin(), iEnd = beam1Intensities.end();
178 s << *intensity <<
"\n";
180 s <<
"\nbeam 2 intensities:\n";
181 std::vector<float>
const& beam2Intensities = lumiDetails.lumiBeam2Intensities();
182 for (std::vector<float>::const_iterator intensity = beam2Intensities.begin(), iEnd = beam2Intensities.end();
185 s << *intensity <<
"\n";