-
Notifications
You must be signed in to change notification settings - Fork 14
PMT Software Trigger class #174
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
Conversation
|
@linyan-w @PetrilloAtWork similar to SBNSoftware/sbncode#604. I will consider this approved unless otherwise stated. |
linyan-w
left a comment
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 to me!
|
trigger build LArSoft/lar*@LARSOFT_SUITE_v10_12_02 SBNSoftware/sbncode#604 |
|
✔️ CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard |
|
❌ CI build for ICARUS Failed at phase ci_tests ICARUS on slf7 for e26:prof - ignored warnings for build -- details available through the CI dashboard 🚨 For more details about the failed phase, check the ci_tests ICARUS phase logs parent CI build details are available through the CI dashboard |
|
✔️ CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard |
|
🚨 For more details about the warning phase, check the ci_tests SBND phase logs parent CI build details are available through the CI dashboard |
|
❌ CI build for ICARUS Failed at phase build ICARUS on slf7 for c14:prof -- details available through the CI dashboard 🚨 For more details about the failed phase, check the build ICARUS phase logs parent CI build details are available through the CI dashboard |
|
❌ CI build for SBND Failed at phase build SBND on slf7 for c14:prof -- details available through the CI dashboard 🚨 For more details about the failed phase, check the build SBND phase logs parent CI build details are available through the CI dashboard |
PetrilloAtWork
left a comment
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.
There are show-stoppers with the checksums.
Also, comments need to be added to the data members.
| <class name="caf::StandardRecord" ClassVersion="17"> | ||
| <version ClassVersion="17" checksum="3621177915"/> | ||
| <version ClassVersion="16" checksum="3162654488"/> | ||
| <version ClassVersion="15" checksum="2636549707"/> |
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.
Please regenerate this file.
Version 15 has its hash changed, which is not correct.
| int npmts = caf::kUninitializedInt; | ||
| float flash_peaktime = caf::kSignalingNaN; | ||
| float flash_peakpe = caf::kSignalingNaN; |
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.
Place a comment explaining units and details. For example:
| int npmts = caf::kUninitializedInt; | |
| float flash_peaktime = caf::kSignalingNaN; | |
| float flash_peakpe = caf::kSignalingNaN; | |
| int npmts = caf::kUninitializedInt; ///< Number of PMT pairs above threshold at trigger time. | |
| float flash_peaktime = caf::kSignalingNaN; ///< Peak time of the reconstructed flash associated to the trigger [us] | |
| float flash_peakpe = caf::kSignalingNaN; ///< Peak amplitude of the reconstructed flash associated to the trigger, in photoelectron units. |
I don't know if these descriptions are correct (that's why some should be there! 😄).
Exception: the time unit can be omitted if it is the standard CAF one (microseconds). However, given that sometimes trigger-related times are specified in nanoseconds, it's still worth to be explicit.
| <version ClassVersion="10" checksum="4144120809"/> | ||
| </class> | ||
|
|
||
| <class name="caf::SRSoftwareTrigger" /> |
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.
Add ClassVersion="10" and rebuild, so that ROOT generates a checksum.
| <class name="caf::SRSoftwareTrigger" /> | |
| <class name="caf::SRSoftwareTrigger" ClassVersion="10" /> |
|
Thanks for catching this @PetrilloAtWork , and apologies for the overly zealous merge 😅 |
|
@lynnt20 -- please take note of these comments. I will reopen a PR identical to this one. Thanks and sorry for the confusion! |
Quick checklist
Goes with SBNSoftware/sbncode#604.
ClassVersion has been updated.
git fetchand pulled the latest changes from the branch you're basing your PR against?ClassVersionin classes_def.xml?Description
Add SR class for software trigger objects.