Geant4 11.1.1
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 162 of file G4ErrorTrajState.cc.

163{
164 // long mode = out.setf(std::ios::fixed,std::ios::floatfield);
165 out << " G4ErrorTrajState of type " << ts.theTSType
166 << " : partycle: " << ts.fParticleType << " position: " << std::setw(6)
167 << ts.fPosition << " momentum: " << ts.fMomentum
168 << " error matrix ";
169 G4cout << ts.fError << G4endl;
170
171 return out;
172}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
G4ErrorTrajErr fError