Message: InvokePostStepDoIt question Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question InvokePostStepDoIt question 

Keywords: InvokePostStepDoItProc
Forum: Event and Track Management
Date: 23 May, 2008
From: Fernando Rannou <rannou@diinf.usach.cl>

Hello, sorry to bother you again with this question, but I'm not sure whether this function is buggy or not:

Please take a look at G4SteppingManager::InvokePostStepDoItProcs():

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

}

notice that the "if" tests fSelectedPostStepDoItVector[MAXofPostStepLoops-np-1] but the np process is called.

Is this correct?

Thanks Fernando Rannou

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

1 None: Re: InvokePostStepDoIt question   (Marc Verderi - 26 May, 2008)
 Add Message Add Message
to: "InvokePostStepDoIt question"

 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 ]