Geant4 9.6.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 111 of file G4ErrorTrajState.cc.

112{
113 // long mode = out.setf(std::ios::fixed,std::ios::floatfield);
114 out
115 << " G4ErrorTrajState of type " << ts.theTSType << " : partycle: "
116 << ts.fParticleType << " position: " << std::setw(6) << ts.fPosition
117 << " momentum: " << ts.fMomentum
118 << " error matrix ";
119 G4cout << ts.fError << G4endl;
120
121 return out;
122}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
G4ErrorTrajErr fError