Message: Re: Transmission of gamma ray Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Transmission of gamma ray 

Forum: Event and Track Management
Re: None Transmission of gamma ray (John)
Date: 07 Nov, 2007
From: michel maire <michel maire>

User John wrote:

>> The program that I am working on requires me to determine if a gamma ray
>> is sent straight through a metal detector (transmitted without producing
>> electrons in the metal). I have decided to do this by seeing if the
>> direction at the end of its path is the same as at the beginning of its
>> path. I tried implementing this in my code through the
>> PreUserTrackingAction and PostUserTrackingAction parts of the
>> TrackingAction class and sending flags to runaction. I do not get
>> expected results. Am I doing something wrong? Any suggestions would be
>> very appreciated.

 Did you visualize few events ? Did you analyse the result of tracking/verbose 1 ?

 Something similar is done in examples/extended/electromagnetic/TestEm13
 (see README). However this example has been designed to be as effecient as possible,
 and may be not well adapted to your need.

 Other possible example is TestEm5

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

1 None: Re: Transmission of gamma ray   (John - 09 Nov, 2007)
(_ None: Re: Transmission of gamma ray   (michel maire - 10 Nov, 2007)
(_ Agree: Re: Transmission of gamma ray   (John - 10 Nov, 2007)
(_ None: Re: Transmission of gamma ray   (michel maire - 12 Nov, 2007)
(_ Question: Re: Transmission of gamma ray   (John - 19 Nov, 2007)
(_ None: Re: Transmission of gamma ray   (michel maire - 20 Nov, 2007)
 Add Message Add Message
to: "Re: Transmission of gamma ray"

 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 ]