-
Notifications
You must be signed in to change notification settings - Fork 9
New fields for PD compatibility #87
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,15 +15,16 @@ namespace caf | |
| class SRInteractionBranch | ||
| { | ||
| public: | ||
|
|
||
| std::vector<SRInteraction> dlp; ///< Interactions from Deep Learn Physics machine learning reconstruction | ||
| std::size_t ndlp; | ||
|
|
||
| std::vector<SRInteraction> pandora; ///< Interactions from Pandora reconstruction | ||
| std::size_t npandora; | ||
| int beamPandoraSliceIndex = -1; ///< Index of the slice identified as the beam slice by the reconstruction (if any) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This field is too ProtoDUNE-specific for the Then it could be used like: or |
||
|
|
||
| std::vector<SRInteraction> sandreco; ///< Interactions from sadreco reconstruction | ||
| std::size_t nsandreco; | ||
|
|
||
| }; | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,6 +50,7 @@ namespace caf | |
|
|
||
| //Track/Shower BDT score | ||
| float track_score = NaN; | ||
|
|
||
| }; | ||
|
|
||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -49,6 +49,8 @@ namespace caf | |
|
|
||
| std::vector<TrueParticleID> truth; ///< Associated SRTrueParticle(s), if relevant (use SRTruthBranch::Particle() with these IDs to grab them) | ||
| std::vector<float> truthOverlap; ///< Fractional overlap between this reco particle and true particle | ||
| int truthMatchIndex = -1; ///< Index of the best truth match by hits in truth and truthOverlap array, defaults to -1 if no match | ||
|
|
||
|
Comment on lines
+52
to
+53
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this needs to be removed (it's redundant), unless you have a good counterargument. You could easily write a helper function analogous to the one above. |
||
| }; | ||
|
|
||
| } // caf | ||
|
|
||
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.
See the more general comment above, but I think this should probably become
isFromTriggeror something similar. It also needs a very clear explanatory comment. Here's one possibility: