Geant4 10.7.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 86 of file G4ErrorFreeTrajParam.cc.

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