Message: Re: Using Primitive Scorer to fill an histogram with energies. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Using Primitive Scorer to fill an histogram with energies. 

Forum: Hits, Digitization and Pileup
Re: Question Using Primitive Scorer to fill an histogram with energies. (Bruno Morgado)
Date: 21 Jul, 2009
From: Tsukasa Aso <Tsukasa Aso>

Hi,

 The primitive scorer is designed to accumulate physical quantity in a event,
so that it is not suitable for scoring values in each step and each track.
(If you just want to score energy distribution of particular particle species
and obtain energy distribution, please check example/extended/runAndEvent/RE02,
where the sensitive filters are used to choose a particular particle species and
energy range.)

 If you want to score step based information, you have to implement your own
Hit class and SensitiveDetector class. One simple example is in 
example/novice/N02/. There is a ExN02TrackerSD class and ExN02TrackerHit class.
The ExN02TrackerSD is a sensitive detector class that creates a ExN02TrackerHit
object and fill values in it at every step.ExN02TrackerSD is a container for 
storing the quantity. 
 You may need to add a information about particle ID, but the example will be
a good starting point.


 Thanks,
 Tsukasa Aso

 Add Message Add Message
to: "Re: Using Primitive Scorer to fill an histogram with energies."

 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 ]