Geant4 9.6.0
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 84 of file G4ErrorFreeTrajParam.cc.

85{
86 G4int oldprc = out.precision(8);
87 out << " InvP= " << tp.fInvP << " Theta= "
88 << tp.fLambda << " Phi= " << tp.fPhi << " YPerp= " << tp.fYPerp
89 << " ZPerp= " << tp.fZPerp << G4endl;
90 out << " momentum direction= " << tp.fDir << G4endl;
91 out.precision(oldprc);
92
93 return out;
94}
int G4int
Definition: G4Types.hh:66
#define G4endl
Definition: G4ios.hh:52