You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Include QE lambda reconstruction framework on reco2 workflow - #998
Please provide a detailed description of the changes this pull request introduces.
This PR introduces a set of modules to reconstruct and include in CAFs the variables used in the qe lambda analysis.
They are included in the reco2 workflow by adding the stages FRANSProducer, pandoraLambda, pandoraTrackLambda, pandoraCaloLambda, pandoraPidLambda, LambdaPID at its end.
reco2_data.fcl includes the equivalent FRANSProducerData, pandoraLambdaData, pandoraTrackLambdaData, pandoraCaloLambdaData, pandoraPidLambdaData, LambdaPIDData that use the appropriate data labels.
$${\color{blue}\bf{\textrm{IMPORTANT UPDATE Feb 2nd 2026:}}}$$ If you are making a PR which is intended as a patch for the CURRENT production for gen 2 SBND analyses, you must make two PRs: one for develop and one for the production/sbnd-gen2 branch.
Golly thats a lot of file changes.
To be clear on what things should work here:
FRANS producer module that adds hits, hit associations, a custom Lambda object, and some MC truth info. When should this module run? After/during reco2 by the changes to reco2 configs.
I don't love the LambdaReconstruction/src/Analysis folder being in sbndcode. None of that is LArSoft, and it means we have src folders in our src folder! I think these should get moved into their own repo for tracking. Relatedly I don't know how to think about anything in the LambdaReconstruction/scripts. Are these xml files needed for the producers? If we can roll out this to a different repo then this becomes like ~15 files with changes/new files so its a lot more feasible to dig into all the code.
Granted I am in a glass house on this, but we rerun pandora again with slightly different settings/inputs. This will be the third instance of pandora running on reco2, with regular, special blip, and now special lambda. We should monitor how that changes the reco2 job requirements. I won't hold up approval on fixing that but we should be thinking about it.
Do you have a collection of nice reco1 or reco2 files we can run this over so that the variables added should be filled with good information? We can test running it in a new area then.
Also please bring the branch up to date with develop. The button in this PR should probably be able to manage that but there might be a conflict I am not thinking about.
Hi @Jjm321814! Thanks for the comments. Let me provide some more details on how FRANS works.
This module should be run after Reco2. Linyan suggested integrating it into the reco2 fcl, at the end of the reconstruction chain. First, it combines Pandora clustering and collection plane hit information to get some topological variables to use later on a qe lambda selection, which are stored in the Lambda object. Then, to obtain a more accurate PID, it stores a subset of the hits to pass them to a second Pandora iteration. Finally, the LambdaPID module extracts the updated calorimetric information into a LambdaPID object.
I inherited most of the LambdaReconstruction modules from Fran and the original idea was to allow running them both within LArSoft and locally. The xml are different FRANS BDTs configurations. I realized I should have cleaned up that directory a bit more and remove all the unused stuff. Sorry about that, I'll take care of it and update the changes. I can also remove the src and keep the LambdaReconstruction directory as an algorithm used in FRANSProducer module.
I have tested this with my own simulated Lambda sample, the MC dev sample and the data dev sample and variables are being filled correctly.
Regarding updating with develop, should I open a separate PR targeting develop or should I just include those changes in this PR?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Description
Please provide a detailed description of the changes this pull request introduces.
This PR introduces a set of modules to reconstruct and include in CAFs the variables used in the qe lambda analysis.
They are included in the reco2 workflow by adding the stages FRANSProducer, pandoraLambda, pandoraTrackLambda, pandoraCaloLambda, pandoraPidLambda, LambdaPID at its end.
reco2_data.fcl includes the equivalent FRANSProducerData, pandoraLambdaData, pandoraTrackLambdaData, pandoraCaloLambdaData, pandoraPidLambdaData, LambdaPIDData that use the appropriate data labels.
Checklist
Reviewers,AssigneesDevelopementRelevant PR links (optional)
Does this PR require merging another PR in a different repository (such as sbnanobj/sbnobj etc.)?
sbnobj
sbnanaobj
sbncode
Link(s) to docdb describing changes (optional)
Is there a docdb describing the issue this solves or the feature added?
Plan for integrating Lambda reconstruction on Gen2 respin