Message: Re: Keeping track of coincident events Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Keeping track of coincident events 

Forum: Event and Track Management
Re: Question Keeping track of coincident events (Jeff)
Date: 16 Sep, 2010
From: Gumplinger Peter <Gumplinger Peter>

Hi Jeff,

Using the LXe example as a template is probably a good starting point for your problem at hand - though it's a bit complicated for a complete G4 novice.

What you need to do is collect 'hits' in your 'sensitive detectors' during tracking. These hits need to contain the 'copy number' of the detector in question, as well as other information you'll need to calculate your quantities of interest later; like the detector locations etc. You then implement the logic for the calculations of your momentum vector sum etc. in EndOfEventAction by retrieving the hits and combining their information as necessary.

Hope this helps, Peter

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

1 Question: Re: Keeping track of coincident events   (Jeff - 19 Sep, 2010)
(_ Feedback: Re: Keeping track of coincident events   (Gumplinger Peter - 20 Sep, 2010)
 Add Message Add Message
to: "Re: Keeping track of coincident events"

 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 ]