Message: Re: ProcessHits() problem in sensitive detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: ProcessHits() problem in sensitive detector 

Keywords: processhit, sensitive detector
Forum: Hits, Digitization and Pileup
Re: Question ProcessHits() problem in sensitive detector (Wah-kai Ngai)
Date: 14 Jan, 2005
From: Jeremy McCormick <Jeremy McCormick>

Hello.

You will often not get expected hits in your sensitive detector
if you have volume overlaps, which leads to "undefined" behavior
from the navigator.

In your macro, set "/tracking/verbose 4" to see that the particle
is actually stepping into your sensitive volume.  If it is not going
into your sensitive volume but is passing through the parent or other
upper level volumes at approximately the correct point(s), then your 
geometry probably has overlaps.

You can run the tests under "/geometry/test", though I have gotten
results reported as "okay" when there were major volume overlaps.

Also, make sure you are registering the SD in its ctor.

G4SDManager::GetSDMpointer()->AddNewDetector(this);

Finally, simply check that the particle trajectory should, in fact,
be passing through your sensitive volume.  Though obvious, this has 
bitten me several times when my particle position or direction from
the run macro was not quite right.

--Jeremy

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

1 None: Re: ProcessHits() problem in sensitive detector   (Wah-kai Ngai - 17 Jan, 2005)
(_ None: Re: ProcessHits() problem in sensitive detector   (Jeremy McCormick - 19 Jan, 2005)
 Add Message Add Message
to: "Re: ProcessHits() problem in sensitive detector"

 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 ]