Message: RE: Storing Path Lengths Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None RE: Storing Path Lengths 

Forum: Event and Track Management
Re: None Storing Path Lengths
Date: 24 Aug, 2009
From: Makoto Asai <Makoto Asai>

If number of photons is not too big, you may keep
all the trajectories of such photons for an event.
Then, at the end of event, you may access to all
the trajectories one by one and see the number of
steps as well as the length of each step.

Hope this helps.
Makoto

> -----Original Message-----
> From: jdswado@gatech.edu [mailto:jdswado@gatech.edu]
> Sent: Monday, August 24, 2009 5:41 AM
> To: eventtrackmanage-g4hn
> Subject: Storing Path Lengths
>=20
>=20
> *** Discussion title: Event and Track Management
>=20
> Hi all,
>=20
> I've got a scintillation detector model and I'm interested in seeing
> how
> many times the optical photons bounce around inside of the detector
> before escaping or being absorbed. Therefore I'd like to do something
> like GetStepLength() for each step of an optical photon, add them up,
> and store that value in an array of many similar values for other
> optical photons.
>=20
> My problem is trying to tell Geant when to start counting the
> pathlength
> anew for a new optical photon. In other words, after one photon has
> "died" how can I say: add all the step lengths you have up and store
> that value, reset to zero and start counting again for a new optical
> photon? Currently I'm just counting all the step lengths from many
> photons because I don't know how to make Geant distinguish between or
> "name" seperate photons and store their calculations seperately.
>=20
> Ideas?
>=20
> Thanks!
>=20
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or
> unsubscribe) at:
> =
http://hypernews.slac.stanford.edu/HyperNews/geant4/get/eventtrackmanag
> e/886.html

 Add Message Add Message
to: "RE: Storing Path Lengths"

 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 ]