Message: Re: Special time Stack Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Special time Stack 

Keywords: stack time
Forum: Event and Track Management
Re: Question Special time Stack (Kevin Xie)
Re: More Re: Special time Stack (Gumplinger Peter)
Date: 23 Feb, 2008
From: Kevin Xie <Kevin Xie>

Hi Peter,

  This time sequence Stack can be done as below, but some G4 standard 
class and function will be modified.
  1) Push all tracks in fWaiting Stack in ClassifyNewTrack().

  2) Pop out only one track from fWaiting to fUrgent each time in 
NewStage() as:
     stackManager->TransferStackedTracks(fUrgent,fWaiting);
     stackManager->TransferOneStackedTrack(fWaiting,fUrgent);

  3) Modify TransferOneStackedTrack() function (in G4stackManager 
Class) to pop out one track according to Globletime. The GlobleTime 
of last Stackedtrack can be got by: 
         lastStackedTrack->GetTrack()->GetGlobalTime();
     and for other Stacked tracks, you can get info like:
         lastStackedTrack->GetPrevious()->GetTrack()->GetGlobalTime(); 

  Regards,
  Kevin 

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

 Add Message Add Message
to: "Re: Special time Stack"

 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 ]