Message: Re: Altering Example TestEm1 to use GPS to simulate positron source emission Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Altering Example TestEm1 to use GPS to simulate positron source emission  

Forum: Particles
Re: Question Altering Example TestEm1 to use GPS to simulate positron source emission (Matthew Middione)
Date: 27 Jun, 2007
From: Vladimir IVANTCHENKO <vnivanch@mail.cern.ch>

On Wed, 27 Jun 2007, Matthew Middione wrote:

> *** Discussion title: Particles
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/particles/345"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> I am trying to alter the TestEm1 example to allow for the 
> G4GeneralParticleSource to be used to allow me to simulate a positron
> point source being emitted.  
> 
> The reason for this is because I want to model these positrons from
> specific isotopes, specifically those important to PET.  For example,
> I have a volume of tissue and I need a F-18 positron point source to 
> be emitted and have its range be tracked and recorded.  I then will apply 
> different strengths of magnetic fields to see the alterations in the range
> of the positrons as they travel through the tissue medium.
> 
> I had originally just used the example TestEm1 to do this, but this was
> modeling monoentergetic positrons and I am in need of modeling 
> polyentergetic positrons, thus the F-18 source method would work.
> 
> Any assistance regarding altering the TestEm1 code to allow for the GPS 
> to be used would be much appreciated.  Or maybe I am heading down the 
> wrong track...any advice would be much appreciated.
> 
> Thanks in anticipation,
> Matthew Middione 
> 
> 

Hello,

When one want to start application from any G4 example the best start is 
not modufy it but first copy and rename. For example, TestEm1 into MyTest.
Only TestEm1.cc needs to be copied to MyTest.cc and GNUmakefile.

After you have a freedom to change your applications in any direction. You 
can look into examples/extended/eventgenerator/exgps 
and implement gps similary. If something will go wrong you always will be 
able to compare results with oreiginal TestEm1 and exgps, which left 
unchanged.

VI

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

1 None: Re: Altering Example TestEm1 to use GPS to simulate positron source emission   (Matthew Middione - 27 Jun, 2007)
(_ Note: Re: Altering Example TestEm1 to use GPS to simulate positron source emission   (Matthew Middione - 28 Jun, 2007)
(_ Question: Re: Altering Example TestEm1 to use GPS to simulate positron source emission   (Rahul Shah - 07 Apr, 2009)
(_ Feedback: Re: Altering Example TestEm1 to use GPS to simulate positron source emission   (Giovanni Santin - 07 Apr, 2009)
 Add Message Add Message
to: "Re: Altering Example TestEm1 to use GPS to simulate positron source emission "

 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 ]