100 ED <<
"A track without proper process manager is pushed into the track stack.\n" 102 if(newTrack->GetParentID()<0)
103 { ED <<
"created by a primary particle generator."; }
106 const G4VProcess* vp = newTrack->GetCreatorProcess();
110 { ED <<
"creaded by unknown process."; }
119 ED <<
"\n Process manager is temporally set, but this operation is thread-unsafe\n" 120 <<
"and will be replaced with other methods at version 10.0.";
127 if ((genericIon ==0) || (pman==0)){
129 "Can not define process manager. GenericIon is not available.");
138 <<
" that is equivalent to " << pman <<
G4endl;
140 for(
G4int ip1=0;ip1<ionPvec->
size();ip1++)
142 G4cout <<
" " << ip1 <<
" - " << (*ionPvec)[ip1]->GetProcessName()
156 ED <<
"\nThis track is deleted.";
157 G4Exception(
"G4StackManager::PushOneTrack",
"Event10051",
170 if(classification==
fKill)
175 G4cout <<
" ---> G4Track " << newTrack <<
" (trackID " 176 << newTrack->GetTrackID() <<
", parentID " 177 << newTrack->GetParentID() <<
") is not to be stored." <<
G4endl;
181 delete newTrajectory;
186 switch (classification)
198 G4int i = classification - 10;
201 ED <<
"invalid classification " << classification <<
G4endl;
202 G4Exception(
"G4StackManager::PushOneTrack",
"Event0051",
G4TrackStack * urgentStack
G4UserStackingAction * userStackingAction
G4int GetAtRestIndex(G4VProcess *aProcess, G4ProcessVectorTypeIndex typ=typeGPIL) const
void SetParticleDefinitionID(G4int id=-1)
G4ProcessVector * GetProcessList() const
std::ostringstream G4ExceptionDescription
void PushToStack(const G4StackedTrack &aStackedTrack)
std::vector< G4TrackStack * > additionalWaitingStacks
G4ProcessManager * GetProcessManager() const
G4ParticleDefinition * GetGenericIon() const
G4int GetParticleDefinitionID() const
G4TrackStack * waitingStack
const G4String & GetProcessName() const
const G4String & GetParticleName() const
G4GLOB_DLL std::ostream G4cout
G4TrackStack * postponeStack
G4bool IsGeneralIon() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4int GetNUrgentTrack() const
G4ClassificationOfNewTrack
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
static G4ParticleTable * GetParticleTable()
G4int GetAlongStepIndex(G4VProcess *aProcess, G4ProcessVectorTypeIndex typ=typeGPIL) const
G4ClassificationOfNewTrack DefaultClassification(G4Track *aTrack)
G4int numberOfAdditionalWaitingStacks
G4int GetPostStepIndex(G4VProcess *aProcess, G4ProcessVectorTypeIndex typ=typeGPIL) const