|Message: Multiple sensitive detectors||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
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 DetectorConstruction.cc and SensitiveDetector.cc 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:||Outline Depth:||Add message:|