Message: Multiple sensitive detectors Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Multiple sensitive detectors 

Forum: Hits, Digitization and Pileup
Date: 26 Jul, 2012
From: Bethany <Bethany>

Hi all, I realize similar topics have been posted, but I can't seem to find quite the information I'm looking for in those answers.

I am modifying my simulation which originally had one sensitive detector to now have an array of sensitive detectors. I have created the new crystals geometrically in the DetectorConstruction file, and registered them as sensitive detectors there. However, when I run the simulation, only the original crystal actually registers hits. I put print statements in to see what was going on, and found that only for the original crystal does the SensitiveDetector file enter the ProcessHits portion of the code. I imagine this is why I'm seeing what I am, but I'm not sure how to rectify the situation. I want to know the energy deposited in each crystal for any given event.

I have been looking through some examples, such as N05, which have more than one sensitive detector, and am starting to wonder if my file arrangement (having and and the corresponding .hh files) is insufficient? Some of the examples have a separate .cc file for each sensitive detector, it seems. This makes sense when the sensitive detectors are of different types. However, mine will all be identical, I just want them to operate separately. So do I need separate files, or to register them in a different way, or to set up the ProcessHits portion of SensitiveDetector differently, etc? I can post more specifics if that would be helpful.

If anyone can advise me that would be most helpful. I find myself in a bit of a time crunch and have noone in my research group that has experience with this sort of detail.

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

1 None: Re: Multiple sensitive detectors   (Tsukasa Aso - 26 Jul, 2012)
 Add Message Add Message
to: "Multiple 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 ]