34{
35 const G4double* SixV = SixVec.SixVector;
36 const G4int precPos= 9;
37 const G4int precEp= 9;
38 const G4int precLen= 12;
39 const G4int precSpin= 9;
40 const G4int precTime= 6;
41 const G4int oldpr= os.precision(precPos);
42 os << " ( ";
43 os << " X= " << SixV[0] << " " << SixV[1] << " "
44 << SixV[2] << " ";
45 os.precision(precEp);
46 os << " P= " << SixV[3] << " " << SixV[4] << " "
47 << SixV[5] << " ";
48 os << " Pmag= "
50 os << " Ekin= " << SixVec.fKineticEnergy ;
51 os.precision(precLen);
53 os.precision(6);
54 os << " m0= " << SixVec.fRestMass_c2;
55 os <<
" (Pdir-1)= " << SixVec.fMomentumDir.
mag()-1.0;
56 if( SixVec.fLabTimeOfFlight > 0.0 )
57 {
58 os.precision(precTime);
59 }
60 else
61 {
62 os.precision(3);
63 }
64 os << " t_lab= " << SixVec.fLabTimeOfFlight;
65 os << " t_proper= " << SixVec.fProperTimeOfFlight ;
67 if( pol.
mag2() > 0.0 )
68 {
69 os.precision(precSpin);
70 os << " PolV= " << pol;
71 }
72 else
73 {
74 os << " PolV= (0,0,0) ";
75 }
76 os << " ) ";
77 os.precision(oldpr);
78 return os;
79}
CLHEP::Hep3Vector G4ThreeVector
G4double GetCurveLength() const
G4ThreeVector GetPolarization() const