#include "G4FieldTrack.hh"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const G4FieldTrack &SixVec) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const G4FieldTrack & | SixVec | |||
) |
Definition at line 33 of file G4FieldTrack.cc.
References G4FieldTrack::fMomentumDir, G4FieldTrack::GetCurveLength(), and G4FieldTrack::SixVector.
00034 { 00035 const G4double *SixV = SixVec.SixVector; 00036 os << " ( "; 00037 os << " X= " << SixV[0] << " " << SixV[1] << " " 00038 << SixV[2] << " "; // Position 00039 os << " V= " << SixV[3] << " " << SixV[4] << " " 00040 << SixV[5] << " "; // Momentum 00041 os << " v2= " 00042 << G4ThreeVector(SixV[3], SixV[4], SixV[5]).mag(); // mom magnitude 00043 os << " mdm= " << SixVec.fMomentumDir.mag(); 00044 os << " l= " << SixVec.GetCurveLength(); 00045 os << " ) "; 00046 return os; 00047 }