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

Adding new basic topological hit transformations #97

Merged
merged 34 commits into from
Aug 30, 2023
Merged

Conversation

jgalan
Copy link
Member

@jgalan jgalan commented Jul 19, 2023

jgalan Large: 1593 Powered by Pull Request Badge

  • Added TRestDetectorHitsRotationProcess
  • Added TRestDetectorHitsTranslationProcess
  • Added TRestDetectorHitsSpecularProcess
  • Added examples under pipeline/hits although not integrated into the GitHub pipeline.
  • Added documentation for all processes. Including images.

Specular tests
specular

Rotation tests
rotation

Translation tests
translation

@jgalan jgalan requested a review from cmargalejo July 19, 2023 11:09
@jgalan jgalan changed the title Adding TRestDetectorHitsRotateProcess Adding new basic topological hit transformations Jul 19, 2023
@jgalan jgalan requested a review from cmargalejo July 20, 2023 08:24
@lobis lobis self-requested a review August 29, 2023 08:47
fInputEvent = (TRestDetectorHitsEvent*)inputEvent;
fOutputEvent->SetEventInfo(fInputEvent);

Bool_t xyzEvent = fInputEvent->GetXYZHits()->GetNumberOfHits() != 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure I understand this @jgalan but should this condition be checked for each hit and if is not met, not rotate the hit?

@lobis lobis requested review from DavidDiezIb and juanangp August 29, 2023 09:25
@lobis lobis merged commit fb12a73 into master Aug 30, 2023
@lobis lobis deleted the jgalan_hits_rotation branch August 30, 2023 17:58
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.

4 participants