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

Update to TRestDetectorReadout #83

Closed
wants to merge 15 commits into from
Closed

Update to TRestDetectorReadout #83

wants to merge 15 commits into from

Conversation

lobis
Copy link
Member

@lobis lobis commented May 30, 2023

lobis Large: 510

While developing a feature request I realised the readout classes have not been worked on for a while and would benefit from some review.

The changes submitted by this PR should not alter the functionality of the classes but instead make the code more consisten with other more recently developed REST-for-Physics code and (implicit) style guidelines.

@jgalan
Copy link
Member

jgalan commented May 31, 2023

I was trying to work out a solution. I think the PR should be split. For instance, I would place the TObject removal and the data member changes towards TVector2 later on in a separate PR.

@jgalan
Copy link
Member

jgalan commented May 31, 2023

In reality the classes do not need to inherit from TRestMetadata, but the idea behind their inheritance was a better future implementation such as:

<TRestDetectorReadout>
      <TRestDetectorModule>
        ....

So that we can also retrieve the children as a stand-alone metadata structure, using TRestMetadata::InstantiateChildMetadata("TRestDetectorReadoutModule").

@lobis
Copy link
Member Author

lobis commented Jun 5, 2023

Closing in favour of #86

@lobis lobis closed this Jun 5, 2023
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.

2 participants