-
Notifications
You must be signed in to change notification settings - Fork 17
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
Structural changes to SpectrumLoader & friends to admit one-to-many (SR -> SRNeutrinoInteraction) analysis over new CAF structure #52
Comments
I merged this branch with my branch |
First attempt to compile miserably failed (as expected ) . I think we also need to take a look at |
Did some fixing of
|
I added more tasks in the second bullet. We need to address the remaining vector adapters to connect true and reco branches. |
The v3
duneanaobj
structure, in which eachStandardRecord
corresponds to the reconstructed information from a single detector trigger, is difficult to handle with the current approach in CAFAna. In particular, users will almost always want to run their primary analysis overSRNeutrinoInteraction
objects, which (with the current tools) require a lot ofMultiVar
constructions and make for difficult use ofCut
s.A path forward for handling this more naturally is to opt-in more wholeheartedly to the Source-Sink architecture in CAFAnaCore v2. SBN's implementation of CAFAna has a PR where this is done concretely: SBNSoftware/sbnana#85. We could cherry-pick some of the work there and adapt for DUNE CAFAna, which would build upon, but significantly extend, the work in #46.
SpectrumLoader
to become an_ISource
via inheritance throughPassthrough<StandardRecord>
_IRecordSource
interface:StandardRecord
(calledIStandardRecordSource
, or perhapsISRSource
) withVectorAdapter<SRInteraction>
objects in the same spirit as the SBN caseSRInteraction
, withVectorAdapter<SRRecoParticle>
(and any other subfields as necessary)SRNDLAr
or other detector-specific cases? (To be added as needed.)This issue would only get us halfway to a functional replacement for the current CAFAna, since the current code that handles systematic shifts would need to get offloaded out of
SpectrumLoader
, but would result in a functional system for creating "central value"Spectrum
s. The remaining work is detailed in #53.The text was updated successfully, but these errors were encountered: