Message: Discrete process calling order in InvokePostStepDoItProcs() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Discrete process calling order in InvokePostStepDoItProcs() 

Keywords: Discrete Process calling
Forum: Event and Track Management
Date: 07 May, 2008
From: Fernando Rannou <rannou@diinf.usach.cl>

Hello
In G4SteppingManager::InvokePostStepDoItProcs() we find that the for-loop
is

for (size_t np=0; np < MAXofPostStepLoops; np++) {
   G4int Cond = (*fSelectedPostStepDoItVector)[MAXofPostStepLoops-np-1];
   if (Cond != ...)
   {
       InvokePSDIP(np);
   }
  ...

}

So, even though the if-test is on the [MAXofPostStepLoops-np-1] process
cond, the [np] process is called. What is the relation between the two?

Is this correct? 

Thanks
Fernando Rannou

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Discrete process calling order in InvokePostStepDoItProcs()"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]