Message: Re: Hits definition and Sensitive Detectors Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Hits definition and Sensitive Detectors 

Keywords: hits, sensitive detector
Forum: Hits, Digitization and Pileup
Re: Question Hits definition and Sensitive Detectors (Megan lehnherr)
Date: 29 Jan, 2004
From: Makoto Asai <Makoto Asai>

I’m afraid I don’t fully understand your questions. 
But here are some comments/suggestions.

> I'm having a bit of trouble figuring out what's going on with the hit
> collections. I have a calorimeter, and I wish to count the number of
> optical photons created in it. I was using a counter in StackingAction
> to keep track of the number. However, I'm trying to use the 
> Hits to get
> information about particles.

I would like to invite you to
Tips #4 and #6 in Event & track category would help you.
Currently, you cannot count optical photons at your sensitive 
detector. We are aware of this requirement and it should be 
available in near future release.

> Currently in my ProcessHits() function, all particles are 
> neutral, which
> makes me think that somewhere a hit is defined as a neutral 
> particle. Is
> this the case? And if so, where is a hit defined? Also, if I have
> different sections that would need different hit definitions, 
> do I need
> to define a specific sensitive detector for each section?

When a track makes a step in a sensitive volume (a volume 
which has a valid pointer to a sensitive detector), regardless of 
the charge of the particle or the amount of energy deposition 
along that step, PorcessHits() method of corresponding sensitive 
detector is invoked. It is user’s responsibility to select 
“meaningful” step. 

We expect the user to implement one sensitive detector class 
for each individual type of detector, i.e. Tracker, Calorimeter, 
etc. For the simplest example, refer to ExampleN04.
> Another thing that I'm confused about is that fact that currently for
> one event there are thousands of hits. How do I simply get 
> the number of
> optical photons (or charged particles in another one of the 
> sections) in
> a section of my calorimeter?

Again, Tips #4 and #6 would help you.

You may be interested in attending to the next Geant4 tutorial
course to be held at SLAC on March 8th-10th. For information and
registration, refer to

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

 Add Message Add Message
to: "Re: Hits definition and Sensitive Detectors"

 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 ]