Message: Re: access to cross section values Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: access to cross section values 

Keywords: cross section
Forum: Event and Track Management
Re: Question access to cross section values (Andy Goedicke)
Date: 11 Jan, 2005
From: michel maire <michel maire>

User Andy Goedicke wrote:

>> Hi,
>> 
>> maybe someone of you has a clever idea solving the following problem I
>> currently stuck with:
>> 
>> During the simulation I need to get NIST like information about the
>> different cross section values for:
>> 
>>   * a given (previously introduced) material
>>   * a specific particle type
>>   * a specific process (previously assigned to this particle)
>> 
>> Although Geant4 permanently has to handle this data for particle
>> tracking I could not find a method to get access to it. All I saw up to
>> now is, that each process provides a methode called
>> 'GetMeanFreePath(...)' which requires a valid G4Track handle.
>> Unfortunately, every time I create and pass an 'artificial' G4Track
>> object to this methode, I get a segmentation violation for unknown
>> reasons. Any idea?
>> 
>> Thanks in advance!
>> 
>> Regards Andy

 Dear Andy,

 During past year there were some progresses on this area, so we can suggest
 you few reasonnable hints for standard electromagnetic package in geant4.7.0

 DEdx, range, crossSection, meanFreePath of Ionisation and Bremsstrahlung can be
 acceded via the new utility class G4EmCalculator.

 Examples of use of this class can be found in EndOfRunAction of 
 examples/extended/electromagnetic/TestEm1 or TestEm5

 the class G4EmCalculator is located in geant4/source/processes/electromagnetic/utils

 Photon processes (photoElectric, Compton, gammaConversion) does not yet
 fit in this scheme (will come ...), but all of them have public methods
 like ComputeCrossSectionPerAtom() and ComputeMeanFreePath() which do not
 require internal Geant4 objects in argument.

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

 Add Message Add Message
to: "Re: access to cross section values"

 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 ]