#include "G4DataVector.hh"
#include <iomanip>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &out, const G4DataVector &pv) |
std::ostream& operator<< | ( | std::ostream & | out, | |
const G4DataVector & | pv | |||
) |
Definition at line 137 of file G4DataVector.cc.
References G4endl.
00138 { 00139 out << pv.size() << std::setprecision(12) << G4endl; 00140 for(size_t i = 0; i < pv.size(); i++) 00141 { 00142 out << pv[i] << G4endl; 00143 } 00144 out << std::setprecision(6); 00145 00146 return out; 00147 }