-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List All Readout Channels #580
Comments
I am not aware of generic code to perform this. However, I can see the usefulness - in fact I would be interested in such code as soon as I start with the digitization package.... It is also not clear how do do this, unless your sensitive volume is read-out throughout; ie without taking into account possible dead zones around the edges, cut-outs etc. I think to really describe such segmentations taking into account such effects is more complex than our simple bit-field. |
Hi Valentin,
(add -help for details about arguments)
Does this partially help you? |
Sorry for the very late reply, this is actually very nice! I think we can close. |
Looking for some advice: Is there a good, generic way to list all the possible readout channels of a detector? That is all sensitive volumes including segmentations. Example: I have defined a detector with readout:
and want (to add some noise for example) to create an exhaustive list of all cellIDs that Geant4 might deposit energy in.
I think it should be straightforward enough to iterate over sensitive DetElements, but to find all possible segmentation cells is a bit trickier; is there already some generic code to do that?
The text was updated successfully, but these errors were encountered: