Message: Re: Get energy deposition from the target made of multiple spheres Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Get energy deposition from the target made of multiple spheres 

Forum: Geometry
Re: Question Get energy deposition from the target made of multiple spheres (Volodymyr Rodin)
Date: 21 Feb, 2016
From: michel maire <michel maire>

On Wed, 17 Feb 2016 16:23:05 GMT, Volodymy Rodin wrote:
> Hello everyone. I would little to ask you for a help in resolving one
> problem. I am simulating the process where the electrons impinge on the
> tungsten target made of the small spheres. To do that, I implemented a
> row of the spherical volumes and replicated it. I use Stepping Action
> for obtaining results (I am not using the sensitive volume so far).
> 
> My problem is to calculate the energy deposition in each sphere
> individually. Could you please give an idea how I can do it?
> 
> Maybe, there is a way to get a number of each replica that was touched
> by the particle? And if yes, perhaps in this way I can get the total
> energy deposition in every sphere. Will it work?

   There is a similar situation in example TestEm3 (see readme).
   Here, the code in SteppingAction :

  //here we are in an absorber. Locate it
  //
  G4int absorNum  = prePoint->GetTouchableHandle()->GetCopyNumber(0);
  G4int layerNum  = prePoint->GetTouchableHandle()->GetCopyNumber(1);

 Add Message Add Message
to: "Re: Get energy deposition from the target made of multiple spheres"

 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 ]