Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ErrorTrajState.cc File Reference
#include "G4ErrorTrajState.hh"
#include "G4ParticleTable.hh"
#include "G4ParticleDefinition.hh"
#include "G4ErrorPropagatorData.hh"
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const G4ErrorTrajState &ts)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  out,
const G4ErrorTrajState ts 
)

Definition at line 170 of file G4ErrorTrajState.cc.

171{
172 // long mode = out.setf(std::ios::fixed,std::ios::floatfield);
173 out
174 << " G4ErrorTrajState of type " << ts.theTSType << " : partycle: "
175 << ts.fParticleType << " position: " << std::setw(6) << ts.fPosition
176 << " momentum: " << ts.fMomentum
177 << " error matrix ";
178 G4cout << ts.fError << G4endl;
179
180 return out;
181}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
G4ErrorTrajErr fError