Skip to content

CRV multiple truth planes#378

Open
RobMina wants to merge 5 commits into
Mu2e:mainfrom
RobMina:crv-multi-truth-planes
Open

CRV multiple truth planes#378
RobMina wants to merge 5 commits into
Mu2e:mainfrom
RobMina:crv-multi-truth-planes

Conversation

@RobMina

@RobMina RobMina commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Enable multiple configurable CRV truth planes. Default behavior is unchanged. Give options for KPP/run2 geometry studies and add a new parameter file for processing MC truth branches from KPP cosmic datasets.

RobMina and others added 4 commits June 17, 2026 13:59
Replace the single CrvPlaneY scalar parameter with CrvPlaneYs (vector of
y-values) and CrvPlaneNames (vector of branch-name suffixes), allowing
truth-plane crossing info to be recorded for multiple CRV sectors in a
single ntuple job.

- EventNtupleMaker_module.cc: fhicl params scalar→sequence; member vars
  double→vector; _crvcoincsmcplane→_crvcoincsmcplanes (vector of vectors);
  branch registration in a loop producing crvcoincsmcplane_<name> per plane
- CrvInfoHelper.hh / CrvInfoHelper.cc: FillCrvHitInfoCollections signature
  updated to accept vector of collections and vector of y-values; crossing
  logic now iterates over all configured planes
- fcl/prolog.fcl: update EventNtupleMaker defaults to array form
  (CrvPlaneYs/CrvPlaneNames replacing CrvPlaneY)
- fcl/prolog_crv_planes.fcl: add crvSectorEntryY_v02 table with per-sector
  entry y-values for T1/EX/T2 in v02 geometry

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…process MC truth branches of KPP reco datasets.

@AndrewEdmonds11 AndrewEdmonds11 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, Rob. I have a few comments below but only one is crticial before I merge.

Comment thread src/CrvInfoHelper.cc Outdated
Comment thread src/EventNtupleMaker_module.cc Outdated
Comment thread fcl/prolog_crv_planes.fcl Outdated
@RobMina

RobMina commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @AndrewEdmonds11 ! New implementation just uses a list of string sector names in the FCL and pulls orientation/position from GeometryService at run time.

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.

2 participants