Use reco not MC PDG hypothesis & isPrimary boolean for Pandora CAFs #95
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update the PDG hypothesis & isPrimary boolean to use the reconstruction not MC truth info for Pandora.
Also moved the filling of the interaction information from
FillInteractions()
(which is now removed) to theFillTracks()
andFillShowers()
functions, depending if the Pandora clusters are tracks or showers, respectively.The input Pandora ROOT file stores the reco PDG hypothesis & isPrimary variables for each cluster, and it is easier to set these interaction variables when the track & shower Standard Record objects are being created, rather than retrieving them from the Standard Record, as was done by the previous
FillInteractions()
function, and then trying to work out which Pandora cluster ntuple entry they should correspond to (e.g. using a map).This update requires LArRecoND v01-01-05 for adding the two new reco ROOT variables
isRecoPrimary
andrecoPDG
, as well as LArContent v04_14_00 for adding functionality to say whether a reconstructed cluster is a primary one or not.