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

add function to assign CRT-PMT Match classificaiton to sbnobj [release/SBN2024A] #115

Open
wants to merge 2 commits into
base: release/SBN2024A
Choose a base branch
from

Conversation

aheggest
Copy link
Contributor

This is a copy of sbnobj PR#114 for the production branch.

Copy link
Member

@PetrilloAtWork PetrilloAtWork left a comment

Choose a reason for hiding this comment

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

The definition of the function in a header will cause trouble: that needs to be fixed.

I invite you to consider also to:

  • document the function
  • replace the existing header guard with a "standard" one:
    #ifndef SBNOBJ_COMMON_CRTPMTMATCHING_HH
    #define SBNOBJ_COMMON_CRTPMTMATCHING_HH
    Preprocessor macro names can easily conflict, so it's better to err on the safe side.

sbnobj/Common/CRT/CRTPMTMatching.hh Outdated Show resolved Hide resolved
sbnobj/Common/CRT/CRTPMTMatching.hh Outdated Show resolved Hide resolved
@ibsafa
Copy link
Contributor

ibsafa commented Dec 11, 2024

@PetrilloAtWork Are you happy with the changes?

Copy link
Member

@PetrilloAtWork PetrilloAtWork left a comment

Choose a reason for hiding this comment

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

Approved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants