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