Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const G4FieldTrack & |
SixVec |
|
) |
| |
Definition at line 33 of file G4FieldTrack.cc.
35 const G4double *SixV = SixVec.SixVector;
38 const int precLen= 12;
39 const int precSpin= 9;
40 const int precTime= 6;
41 const int oldpr= os.precision(precPos);
43 os <<
" X= " << SixV[0] <<
" " << SixV[1] <<
" "
46 os <<
" P= " << SixV[3] <<
" " << SixV[4] <<
" "
50 os <<
" Ekin= " << SixVec.fKineticEnergy ;
51 os.precision(precLen);
54 os <<
" m0= " << SixVec.fRestMass_c2;
55 os <<
" (Pdir-1)= " << SixVec.fMomentumDir.
mag()-1.0;
56 if( SixVec.fLabTimeOfFlight > 0.0 ) os.precision(precTime);
58 os <<
" t_lab= " << SixVec.fLabTimeOfFlight;
59 os <<
" t_proper= " << SixVec.fProperTimeOfFlight ;
61 if( pol.
mag2() > 0.0 ){
62 os.precision(precSpin);
63 os <<
" PolV= " << pol;
65 os <<
" PolV= (0,0,0) ";
G4double GetCurveLength() const
CLHEP::Hep3Vector G4ThreeVector
G4ThreeVector GetPolarization() const