-
Notifications
You must be signed in to change notification settings - Fork 21
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
1237 add an option to print steps of the daughters of the particle of interest #1273
1237 add an option to print steps of the daughters of the particle of interest #1273
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like the changes to PhotoNuclearProductsFilter are unrelated? I'm not opposed to including them, just wanted to know if this was related to another issue being resolved.
Looks good to me, I haven't tested it yet because I want to check your thoughts on my TrackMap
comment before moving forward.
They were developed together, but I don't think we made an issue for the pn change |
I didn't know that the trackmap stored a complete track/parent history (if it does, I would be a bit concerned about perf 💀) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i approve this pending resolution of tom's suggestion
} | ||
|
||
StepPrinter::~StepPrinter() {} | ||
|
||
bool StepPrinter::isDescendent(const G4Track* track) const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i vote for the spelling isDescendant, regardless of where this ends up being implemented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with the spelling!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't both of those valid in this context? I'm by no means about to argue about this though, happy to change it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure there's some semantics on why one over the other - I'm just used to seeing descendant, which is why I agreed with LK's comment. At the end of the day, not sure how much it matters, but maybe LK has a more robust argument that me (:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my take was that descendant is a noun and descendent is an adjective. and from the discussion and culturally enforced old habits i suppose i was led to think of descendant on equal footing as ancestor (parent, daughter), and just thought it was a typo. but like you, einar, i won't argue about it 😄 i see your point now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I think these changes will be very useful.
If we ever wanted an argument for moving away from submodules, I was about to say no to Tom's suggestions just because it would require a separate PR in SimCore :| |
I am updating ldmx-sw, here are the details.
What are the issues that this addresses?
This resolves #1237 and patches a rare crash with the stepprinter.
Check List
I successfully compiled ldmx-sw with my developments
I ran my developments and the following shows that they are successful.
Related Submodule PRs