43 : fParticleType(partType)
57 : fParticleType(ts.fParticleType)
58 , fPosition(ts.fPosition)
59 , fMomentum(ts.fMomentum)
62 , theTSType(ts.theTSType)
63 , theG4Track(ts.theG4Track)
64 , iverbose(ts.iverbose)
67 ts.theG4Track =
nullptr;
104 ts.theG4Track =
nullptr;
112 std::ostringstream message;
113 message <<
"Wrong trajectory state type !" <<
G4endl
115 G4Exception(
"G4ErrorTrajState::PropagateError()",
"GEANT4e-Error",
142 if(particle ==
nullptr)
144 std::ostringstream message;
146 G4Exception(
"G4ErrorTrajState::BuildCharge()",
"GEANT4e-error",
165 out <<
" G4ErrorTrajState of type " << ts.
theTSType
166 <<
" : partycle: " << ts.
fParticleType <<
" position: " << std::setw(6)
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()