-
Notifications
You must be signed in to change notification settings - Fork 7
Rga common analysis functions :: FiducialFilter #367
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
Rga common analysis functions :: FiducialFilter #367
Conversation
… make CalLayers public
… make CalLayers public
… make CalLayers public; added yamlreader
… make CalLayers public; added yamlreader
… make CalLayers public; added yamlreader
…against PCal, ECin and ECout histograms
…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)
…pearing because it was also requiring they pass DC cuts simultaneously
…histograms and TFile in stop()
…e releasing every ROOT object created
…e releasing every ROOT object created
c-dilks
left a comment
There was a problem hiding this 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
left a comment
There was a problem hiding this 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!
…omments, removed hard coded detector numbers and replaced with enum DetectorType, changed pi to M_PI
… remove GetOptionVectorOrDefault usage
… remove GetOptionVectorOrDefault usage
…m; removes small sub-threshold tail in “after” plots
…updated accordingly
…updated accordingly
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.