Message: Re: Purpose of managing the stacks Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Purpose of managing the stacks 

Forum: Event and Track Management
Re: Question Purpose of managing the stacks (Vlasios Vasileiou)
Date: 23 Apr, 2004
From: Jeremy McCormick <Jeremy McCormick>

Hi,

For an example of StackingAction "in action" see ExN04.

Here are some legitimate and useful reasons for using StackingAction:

1) Simulate the background from "looper" particles in a detector 
   by postponing them until the next event.

2) Kill or wait on tracks you don't care much about (i.e. leaving the world,
   simulate others first, etc.).  It can more efficiently perform some of the 
   track management usually put in TrackingAction.

3) Manage the stages of your event simulation by waiting until all tracks
   have reached a certain volume boundary, status, etc.

4) Manage individual jet processing.

5) Improve performance.

6) Set up some experimental-based priority among your tracks.

7) Event filtering.

8) Access and set various information based on having a particle and
   its secondaries all on the stack.

9) Analysis -- for instance, counting the number of optical photons
   generated.

Also, see the User Application Guide's section on "Optional User Actions":

http://geant4.web.cern.ch/geant4/G4UsersDocuments/UsersGuides/ForApplicationDeveloper/html/UserActions/OptionalActions.html

Makoto Asai is an expert on this...

See pages 12-15 from this G4 Tutorial talk:

http://conferences.fnal.gov/g4tutorial/g4cd/Slides/Fermilab/AdvancedFeatures.pdf

--JM

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

1 None: Re: Purpose of managing the stacks   (michel maire - 24 Apr, 2004)
 Add Message Add Message
to: "Re: Purpose of managing the stacks"

 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 ]