Skip to content
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

Upgrades to support multi readout charge collection #39

Merged
merged 9 commits into from
Mar 24, 2022

Conversation

jgalan
Copy link
Member

@jgalan jgalan commented Mar 23, 2022

Large jgalan 293

I had to update TRestDetectorSignalToHitsProcess so that it is capable to add charge to more than one TRestDetectorReadoutPlane. In general it will add charge to any readout plane definition where the hit is found inside the volume defined by cathode and readout plane positions (and the charge falls inside a readout channel).

List of changes:

  • TRestDetectorSignalToHitsProcess has now been fully documented. Including image showing the process input and output event. https://sultan.unizar.es/test/classTRestDetectorHitsToSignalProcess.html

  • TRestDetectorReadout::GetHitsDaqChannelAtReadoutPlane method added to check the daqId for a specific readout plane so that TRestDetectorHitsToSignalProcess iterates each plane and gets the signal id associated with each plane.

  • TRestDetectorHitsEvent::DrawEvent aesthetical improvements. And a fix.

  • TRestDetectorHitsToSignalProcess now returns nullptr if no signals have been found. The event will then be ignored.

This update was required by segmented mesh microbulks.

@jgalan jgalan merged commit 0a9f725 into master Mar 24, 2022
@jgalan jgalan deleted the jgalan_segmented_mesh branch March 24, 2022 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants