44 : fParticleType(partType), fPosition(pos), fMomentum(mom),
60 : fParticleType(ts.fParticleType), fPosition(ts.fPosition),
61 fMomentum(ts.fMomentum), fCharge(ts.fCharge),
62 fError(ts.fError), theTSType(ts.theTSType),
63 theG4Track(ts.theG4Track), iverbose(ts.iverbose)
66 ts.theG4Track =
nullptr;
105 ts.theG4Track =
nullptr;
114 std::ostringstream message;
115 message <<
"Wrong trajectory state type !" <<
G4endl
117 G4Exception(
"G4ErrorTrajState::PropagateError()",
"GEANT4e-Error",
148 if( particle ==
nullptr )
150 std::ostringstream message;
152 G4Exception(
"G4ErrorTrajState::BuildCharge()",
"GEANT4e-error",
174 <<
" G4ErrorTrajState of type " << ts.
theTSType <<
" : partycle: "
std::ostream & operator<<(std::ostream &out, const G4ErrorTrajState &ts)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
void DumpPosMomError(std::ostream &out=G4cout) const
virtual G4int PropagateError(const G4Track *)
void UpdatePosMom(const G4Point3D &pos, const G4Vector3D &mom)
void SetData(const G4String &partType, const G4Point3D &pos, const G4Vector3D &mom)
G4ErrorTrajState & operator=(const G4ErrorTrajState &)
virtual G4eTSType GetTSType() const
G4double GetPDGCharge() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()