Message: Region Dependent Cross Section Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Region Dependent Cross Section 

Forum: Physics List
Date: 29 Jan, 2013
From: David <David>

I am working on a model that requires cross sections which are a function of position and material. However, in both ComputeCrossSectionPerVolme and ComputeCrossSectionPerAtom I don't see a direct way to access this information i.e. determine which region the cross section is applied. To be more specific, I might want three regions with Gold all of which have the material properties, but the total cross section will be different for each region because the cross section is defined differently for each region. I can see how this is possible by hard coding something like:

  G4Material* Au1 = new G4Material("Gold1",z,a,density);
  G4Material* Au2 = new G4Material("Gold2",z,a,density);
  G4Material* Au3 = new G4Material("Gold3",z,a,density);

Then I could figure out a way to determine the relationship between the material and the various cross sections when ComputeCrossSectionPerVolume is called. I want to be able to do this for an arbitrary geometry using macros to set the cross section for each region, so I want to avoid hard coding materials etc. If anyone has any experience with this I would appreciate some advice.

Thanks,

David

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

1 Idea: Re: Region Dependent Cross Section   (Vladimir Ivanchenko - 05 Feb, 2013)
 Add Message Add Message
to: "Region Dependent Cross Section"

 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 ]