49 theMaximumTrackLength( maxTrkLength )
58 theParticleIterator->
reset();
59 while( (*theParticleIterator)() )
70 G4Exception(
"G4ErrorTrackLengthTarget::G4ErrorTrackLengthTarget",
76 size_t isiz = procvec->
size();
78 for(
size_t ii=0; ii < isiz; ii++ )
80 if( ((*procvec)[ii])->
GetProcessName() ==
"G4ErrorTrackLengthTarget")
86 isiz = procvec->
size();
114 G4cout <<
" G4ErrorTrackLengthTarget::GetMeanFreePath "
127 return &theParticleChange;
134 G4cout << msg <<
"G4ErrorTrackLengthTarget: max track length = "
135 << theMaximumTrackLength <<
G4endl;
G4double condition(const G4ErrorSymMatrix &m)
G4DLLIMPORT std::ostream G4cout
G4ErrorTargetType theType
virtual G4double GetMeanFreePath(const class G4Track &track, G4double, G4ForceCondition *)
G4ErrorTrackLengthTarget(const G4double maxTrkLength)
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual void Dump(const G4String &msg) const
G4ProcessManager * GetProcessManager() const
G4bool IsShortLived() const
const G4String & GetParticleName() const
G4PTblDicIterator * GetIterator()
static G4ParticleTable * GetParticleTable()
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessVector * GetProcessList() const
G4VProcess * RemoveProcess(G4VProcess *aProcess)
G4double GetTrackLength() const
virtual void Initialize(const G4Track &)
const G4String & GetProcessName() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)