Skip to content

Conversation

@tbhayward
Copy link
Contributor

Created new filter algorithm RGAFiducialFilter with support for RGA "pass-2" DC, CAL, CVT and FT fiducial cuts for relevant tracks. Filter checks each track in REC::Particle and applies the appropriate detector cuts. Default "RGA approved" values are stored in the associated Config.yaml for the DC region edge cuts, calorimeter lv & lw cuts, holes in forward tagger and gaps between sectors in CVT. These values can be changed by modifying the Config.yaml.

Strictness (default = 1) can be set as 1,2,3 by the user to increase tightness of calorimeter cuts. Future updates for run-by-run cuts on dead PMTs, regions of DC and CVT, etc. are planned.

Validator creates plots of FT electrons and photons before and after cuts, DC inbending and outbending tracks for region 1, 2 and 3 before and after cuts, CAL lv and lw distributions before and after cuts and CVT theta vs phi for all hadrons before and after cuts.

Timothy B. Hayward added 30 commits September 9, 2025 17:49
…runtime override with strictness == 1 defined in Validator.cc for RGAFiducialFilter
…s lw and lv vs lu for electrons and photons
…s lw and lv vs lu for electrons and photons
…nction rather than reading from environmental variable
… tagger fiducial cuts alongside existing calorimeter cuts, updated validator to produce 1x2 canvas of electrons' and photons' x and y positions after cuts
…ts if that detectors' associated bank is present in the file
… meson.build for RGAFiducialFilter. Track banks will be discovered at run time (FT may not have a hit)
… meson.build for RGAFiducialFilter. Track banks will be discovered at run time (FT may not have a hit)
… meson.build for RGAFiducialFilter. Track banks will be discovered at run time (FT may not have a hit)
… meson.build for RGAFiducialFilter. Track banks will be discovered at run time (FT may not have a hit)
… meson.build for RGAFiducialFilter. Track banks will be discovered at run time (FT may not have a hit)
… meson.build for RGAFiducialFilter. Track banks will be discovered at run time (FT may not have a hit)
… meson.build for RGAFiducialFilter. Track banks will be discovered at run time (FT may not have a hit)
@tbhayward tbhayward requested a review from c-dilks September 29, 2025 18:58
Copy link
Member

@c-dilks c-dilks left a comment

Choose a reason for hiding this comment

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

Here are some minor comments, which should be easy to to take care of. I'll have more comments later, since I haven't had a chance yet to read the full algorithm.

@c-dilks
Copy link
Member

c-dilks commented Oct 8, 2025

I updated your branch with respect to main, to resolve a conflict coming from #368, which I recently merged. The merge commit on your branch is 46ea992. You will need to run git pull to pick up this change in your local repository.

Copy link
Member

@c-dilks c-dilks left a comment

Choose a reason for hiding this comment

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

A few more minor comments. I think after this it'll be good to merge!

@c-dilks c-dilks merged commit 0a77dd0 into JeffersonLab:main Oct 14, 2025
13 of 14 checks passed
@github-project-automation github-project-automation bot moved this from Unsorted to Done in Iguana Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants