Message: Re: RE: Hits Collection For Brachy Example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: RE: Hits Collection For Brachy Example 

Forum: Medical Applications
Re: Question Hits Collection For Brachy Example (Oscar García)
Re: None RE: Hits Collection For Brachy Example (Susanna)
Re: Question Re: RE: Hits Collection For Brachy Example (Oscar García)
Date: 29 Oct, 2010
From: michel maire <michel maire>

On Thu, 28 Oct 2010 17:48:03 GMT, Oscar Garc&#65533;a wrote:
> Hi dear Dr. Susanna, thank you so much for your message!
> 
> I have reviewed the N02 example and I understand the HitCollection
> accumulates the hitsG for each event in this example.
> 
> For get the total dose distribution for all events, I guess that
> defining a private array in the RunAction class, which accumulates in
> each EndofEvent and It prints in the EndofRunAction it could store the
> Total dose. I don't really know if it works..

  See, for instance, example N03.
  You even do not need the concept of Hits collection to do that.

  For filling an histogram, see examples/extended/electromagnetic/TestEm4 (the simplest) or TestEm11 or 12 ..etc..

    Michel

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

1 None: Re: RE: Hits Collection For Brachy Example   (Oscar García - 26 Nov, 2010)
(_ None: Re: RE: Hits Collection For Brachy Example   (michel maire - 29 Nov, 2010)
 Add Message Add Message
to: "Re: RE: Hits Collection For Brachy Example"

 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 ]