#include "G4PhysicsVector.hh"
#include <iomanip>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &out, const G4PhysicsVector &pv) |
Variables | |
G4Allocator< G4PhysicsVector > | aPVAllocator |
std::ostream& operator<< | ( | std::ostream & | out, | |
const G4PhysicsVector & | pv | |||
) |
Definition at line 487 of file G4PhysicsVector.cc.
References G4PhysicsVector::binVector, G4PhysicsVector::dataVector, G4PhysicsVector::edgeMax, G4PhysicsVector::edgeMin, G4endl, and G4PhysicsVector::numberOfNodes.
00488 { 00489 // binning 00490 out << std::setprecision(12) << pv.edgeMin << " " 00491 << pv.edgeMax << " " << pv.numberOfNodes << G4endl; 00492 00493 // contents 00494 out << pv.dataVector.size() << G4endl; 00495 for(size_t i = 0; i < pv.dataVector.size(); i++) 00496 { 00497 out << pv.binVector[i] << " " << pv.dataVector[i] << G4endl; 00498 } 00499 out << std::setprecision(6); 00500 00501 return out; 00502 }
Definition at line 59 of file G4PhysicsVector.cc.
Referenced by G4PhysicsVector::operator delete(), and G4PhysicsVector::operator new().