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

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

Definition at line 111 of file G4ErrorTrajState.cc.

References G4ErrorTrajState::fError, G4ErrorTrajState::fMomentum, G4ErrorTrajState::fParticleType, G4ErrorTrajState::fPosition, G4cout, G4endl, and G4ErrorTrajState::theTSType.

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 }
G4ErrorTrajErr fError
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61