Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ErrorFreeTrajParam.cc File Reference
#include "G4ErrorFreeTrajParam.hh"
#include "G4ThreeVector.hh"
#include "G4SystemOfUnits.hh"
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const G4ErrorFreeTrajParam &tp)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & out,
const G4ErrorFreeTrajParam & tp )

Definition at line 87 of file G4ErrorFreeTrajParam.cc.

88{
89 G4long oldprc = out.precision(8);
90 out << " InvP= " << tp.fInvP << " Theta= " << tp.fLambda
91 << " Phi= " << tp.fPhi << " YPerp= " << tp.fYPerp
92 << " ZPerp= " << tp.fZPerp << G4endl;
93 out << " momentum direction= " << tp.fDir << G4endl;
94 out.precision(oldprc);
95
96 return out;
97}
long G4long
Definition G4Types.hh:87
#define G4endl
Definition G4ios.hh:67