Si seed mult - #4402
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change adds silicon seed multiplicity counting for a bunch crossing and exports the result as the ChangesSilicon seed multiplicity
Sequence Diagram(s)sequenceDiagram
participant KFParticle_nTuple
participant KFParticle_Tools
participant SiliconTrackSeedContainer
participant DecayTree
KFParticle_nTuple->>KFParticle_Tools: request multiplicity for first daughter's bunch crossing
KFParticle_Tools->>SiliconTrackSeedContainer: retrieve silicon seeds
SiliconTrackSeedContainer-->>KFParticle_Tools: return seed collection
KFParticle_Tools-->>KFParticle_nTuple: return qualifying count or -1
KFParticle_nTuple->>DecayTree: write nSiSeedMultiplicity
Merge Risk: ⚪ Minimal · up to This change adds Silicon seed multiplicity to KF Particle tree output without changing existing behavior; no actionable merge-blocking risk remains after normal checks and review. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Build & test reportReport for commit 77991a68da969b951ee5ff8ffee829772656c295:
Automatically generated by sPHENIX Jenkins continuous integration |
|
I think this looks fine to me but I'd put this part behind a verbosity statement: The intent from what I gather is you look at the silicon seeds for that bunch crossing, count if there's INTT and MVTX or return 0 if there's nothing (or -1 for no container). Is requesting that there are MVTX clusters redundant with requiring INTT clusters? if (!m_siliconSeeds)
{
std::cout << " ERROR: Can't find SiliconTrackSeedContainer " << std::endl;
return -1;
} |



Adding Silicon seed multiplicity to KF Particle. Non breaking change. Requires addition or presence of seed DST in data.
Types of changes
What kind of change does this PR introduce? (Bug fix, feature, ...)
Additional output branch for KF Particle trees. Non breaking change.
comment: <> ( What does this PR do? Linking to talk in software meeting encouraged )
TODOs (if applicable)
Links to other PRs in macros and calibration repositories (if applicable)
Motivation
Add charged silicon seed multiplicity to KF Particle output trees. This supports studies that require Silicon seed DST data.
Key changes
getNchargedSiSeedMultiplicitytoKFParticle_Tools.-1when the silicon seed container is missing.nSiSeedMultiplicityTTree branch.-1.Potential risk areas
-1, which downstream analyses must handle.Possible future improvements
AI-generated summaries can contain errors. Review the implementation and output behavior before merging.