Skip to content

Conversation

@fmartinezlopez
Copy link
Member

Added GArSoft reconstruction to SRInteractionBranch and SRRecoParticlesBranch.

Small additions to SRGAr and other GAr-related classes. Also, created SRGArPartcile class (inherits from SRRecoParticle) to include additional low-level information in SRGAr.

@fmartinezlopez fmartinezlopez requested a review from chenel April 30, 2024 15:42
Copy link
Collaborator

@chenel chenel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the most part this looks fine to me.

The only thing I'm hesitant about is the SRGArParticle class. One of the design principles for the DUNE StandardRecord that we've tried to observe is that anything that's detector-agnostic should be in the "common" reco block rather than the detector-specific one. It seems to me that SRGArParticle mixes detector-specific and detector-agnostic together. Stuff like ToF times, ECal energies, etc. clearly is detector-specific, but maybe doesn't belong in a class called Particle since it's not ... particle-y, so much, but lower level. On the other hand, scores for "proton-ness" (proton_dEdX_score etc.) and "muon-ness" (muon_score) are clearly particle-y, but it's not clear they have to belong in a GAr-specific class.

Can we discuss whether it's possible to separate these into something lower level (without the name Particle) that contains the detector-specific stuff, and move the remainder into the SRParticle class in the common block?

@fmartinezlopez
Copy link
Member Author

Hi Jeremy! Thanks for reviewing this. I made some changes, trying to separate the detector-y and particle-y things as much as I could. Does it look better now?

Copy link
Collaborator

@chenel chenel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Francisco, this is much closer! Bravo. The only remaining concern I have is with the new SRPIDScoreBranch object. It's at odds with the way that one deduces what "type" of PID score the other particle types represent. For the others, it's done via which collection they live in, inside the SRRecoParticlesBranch (have a look at the Doxygen for SRRecoParticlesBranch and you'll see what I mean.)

We could adapt to this format easily enough by just creating 3 new vectors there: gar_mu, gar_proton_dedx, gar_proton_tof. I wonder what you think of this possibility?

@tomjunk
Copy link
Member

tomjunk commented Sep 10, 2024

Is this PR one that Francisco mentioned at the collaboration meeting (Sep. 10)? It has been languishing in review for a long time. Can we get this to move?

@fmartinezlopez
Copy link
Member Author

Hi @chenel! Sorry it took me so long, I've been thesis writing all summer.

Do you mean creating 3 vectors in SRRecoParticlesBranch, each one containing the particle information with one of the scores? The thing is the particles generated are the same (they are all produced with the same reconstruction), it's only they have 3 different scores that we use for their PID.

I can try to make the SRPIDScoreBranch simpler, maybe just populate it with these gar_mu, gar_proton_dedx, gar_proton_tof vectors. Does that sound ok?

@chenel
Copy link
Collaborator

chenel commented Oct 5, 2024

Do you mean creating 3 vectors in SRRecoParticlesBranch, each one containing the particle information with one of the scores?

Yeah, that's what I had in mind. It's fairly clunky but is the way different particle hypotheses are constructed elsewhere. Particles are not specific to GAr after all--the only thing that's different is what sort of thing made them, but the user doesn't always care about that.

@tomjunk
Copy link
Member

tomjunk commented May 27, 2025

Is this PR still alive? Shall we try to get it in? I believe Jeremy is tagged as the reviewer.

@chenel
Copy link
Collaborator

chenel commented May 30, 2025

I reviewed it and there's an outstanding request for a change that hasn't yet been acted on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants