Message: Re: Counting total number of scintillation photons per event Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Counting total number of scintillation photons per event 

Keywords: Optical photon counting
Forum: Event and Track Management
Re: Question Counting total number of scintillation photons per event (Jesse Wodin)
Date: 15 Oct, 2002
From: Makoto Asai <Makoto Asai>

Hi,

 The way Peter suggested actually works, but UserSteppingAction
is not informed "end of event" automatically. Thus you need to
inform it from your EndOfEventAction to your SteppingAction.
It is rather messy.

 I would suggest an alternative. In your StackingAction, you will
see all primaries and secondaries at your ClassifyNewTrack method.
Here you can examine whether the new track is seconday optical 
photon, thus you can count all of them in the current event. 
You will be informed whenever the "urgent" stack becomes empty 
via your NewStage method. If you do not use "waiting" stack, it 
means the "end of event". Don't forget to reset your counter at
yout PrepareNewEvent method.

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

1 None: Re: Counting total number of scintillation photons per event   (Makoto Asai - 16 Oct, 2002)
 Add Message Add Message
to: "Re: Counting total number of scintillation photons per event"

 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 ]