Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
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

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

Definition at line 87 of file G4ErrorFreeTrajParam.cc.

References G4endl.

88 {
89  G4int oldprc = out.precision(8);
90  out << " InvP= " << tp.fInvP << " Theta= "
91  << tp.fLambda << " 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 }
int G4int
Definition: G4Types.hh:78
#define G4endl
Definition: G4ios.hh:61