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)
virtual void Initialize(const G4Track &)
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
virtual void Dump(const G4String &msg) const
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual G4double GetMeanFreePath(const class G4Track &track, G4double, G4ForceCondition *)
G4GLOB_DLL std::ostream G4cout
void reset(G4bool ifSkipIon=true)
G4ErrorTrackLengthTarget(const G4double maxTrkLength)
const G4String & GetProcessName() const
G4double GetTrackLength() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool IsShortLived() const
G4ErrorTargetType theType
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
static G4ParticleTable * GetParticleTable()
G4VProcess * RemoveProcess(G4VProcess *aProcess)
G4PTblDicIterator * GetIterator() const
#define theParticleIterator
G4ProcessVector * GetProcessList() const