#include <iomanip>
#include "BesTruthVertex.hh"
#include "BesTruthTrack.hh"
Go to the source code of this file.
◆ operator<<() [1/2]
ostream & operator<< |
( |
ostream & | stream, |
|
|
const BesTruthVertex & | vert ) |
Definition at line 29 of file BesTruthVertex.cc.
30{
32 stream << " --";
33 else
34 stream << setw(4) << vert.
GetIndex();
35
38 else
39 stream << " --";
40
41 stream << " " << setiosflags(ios::fixed)
42 << setprecision(4) << setw(11) << vert.
GetPosition().x()
43 << setprecision(4) << setw(11) << vert.
GetPosition().y()
44 << setprecision(4) << setw(11) << vert.
GetPosition().z()
45 << " " << setiosflags(ios::scientific)
46 << setprecision(4) << setw(11) << vert.
GetTime()
47 << resetiosflags(ios::scientific);
48
49 return stream;
50}
BesTruthTrack * GetParentTrack() const
G4ThreeVector GetPosition() const
◆ operator<<() [2/2]
ostream & operator<< |
( |
ostream & | stream, |
|
|
const BesTruthVertex * | vert ) |