Message: Re: RE: How should I slice up a volume to tabulate charge deposition? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: RE: How should I slice up a volume to tabulate charge deposition? 

Forum: Event and Track Management
Re: Question How should I slice up a volume to tabulate charge deposition? (Mark Looper)
Re: None RE: How should I slice up a volume to tabulate charge deposition? (Makoto Asai)
Date: 19 Jun, 2008
From: Mark Looper <Mark Looper>

On Tue, 17 Jun 2008 22:06:04 GMT, Asai, Makoto wrote:
> Hi Mark,
> 
>  With the command-based scoring feature in Geant4 version 9.1,
> you don't need to implement any extra geometry for scoring.
> All you need is the real material volumes. Then, just utilize the
> UI commands to define the scoring mesh and the quantities you
> want to score.
>  Please try examples/extended/runAndEvent/RE03
> 
> Makoto

Thanks for reminding me about this; it simplifies the slicing and dicing considerably. However, upon reviewing your charts from the February meeting in Tokyo, it seems that the actual scoring uses the same approach I've described: particle tracks are interrupted at scoring-region boundaries in the parallel geometry defined by the commands, and (for my application) I would implicitly use a G4PSCellCharge primitive scorer on each cell to count the difference in charge between particles entering the volume and those exiting the volume. What I'm trying to do is avoid interruption of tracks by the very fine mesh of cell boundaries I need to use; if I could just let the physics interrupt the tracks when there was an interaction, and log any charge liberated or deposited at that point, I'd waste a lot less processing time and introduce fewer possibilities for round-off tracking errors (which in your charts you noted was a possibility for too-fine meshes in the command-based scoring).

Can anybody suggest a way that I can "get my hands on" the individual interactions? For example, is there a method that is called every time a particle is created or discarded, on top of which I could build some code to locate the interaction and tabulate any charge-deposition changes there? Some kind of Pre- or PostStepAction I could register to look at the genesis or fate of the particle in the step?

Thanks!

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

1 Ok: Re: RE: How should I slice up a volume to tabulate charge deposition?   (Mark Looper - 10 Sep, 2008)
 Add Message Add Message
to: "Re: RE: How should I slice up a volume to tabulate charge deposition?"

 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 ]