Recoil hit removal processing for 2e WAB veto - #2082
Conversation
…automatically loaded with correct features depending on the BDT used
|
@tomeichlersmith the ONNX is 1MB in total, you think that should go to the dedicated data repo or it's fine here? |
|
/run-validation |
|
The validation workflow is running here: https://github.com/LDMX-Software/ldmx-sw/actions/runs/27727120728. |
|
@oscarplewis please run the automatic tool like |
Validation ResultsAll validation samples passed! ✅
|
tvami
left a comment
There was a problem hiding this comment.
Thanks Oscar! I'm approving it pending the decision about where to put the ONNX files
tomeichlersmith
left a comment
There was a problem hiding this comment.
My personal opinion is that all non-text files should be in some other data repo, BUT we don't have another good way of distributing them and they are relatively light (they are smaller individually than other text files which were procedurally generated from a CAD model).
$ fd -tf -x stat -c '%s %n' | sort -nr
15208647 ./MagFieldMap/BmapCorrected3D_13k_unfolded_scaled_1.15384615385.dat.tar.gz
5614878 ./SimCore/G4DarkBreM/docs/doxygen-awesome-css/docs/img/fancy_scrollbars_webkit.gif
5614878 ./docs/doxygen.conf/doxygen-awesome-css/docs/img/fancy_scrollbars_webkit.gif
2399274 ./SimCore/G4DarkBreM/docs/G4DarkBreM_HEP_Seminar.pdf
1607080 ./Trigger/Algo_HLS/TS/ip/TSTriggerAlgo.dcp
1208320 ./Detectors/data/archived/ldmx-det-v13.tar.gz
1208320 ./Detectors/data/archived/ldmx-det-v12.tar.gz
898261 ./Detectors/data/ldmx-ti-v15-8gev/magnet.gdml
898261 ./Detectors/data/ldmx-lyso-r4-v15-8gev/magnet.gdml
898261 ./Detectors/data/ldmx-det-v15-8gev/magnet.gdml
898261 ./Detectors/data/ldmx-al-v15-8gev/magnet.gdml
897517 ./Detectors/data/ldmx-vertTS-v14-8gev/magnet.gdml
897517 ./Detectors/data/ldmx-det-v14/magnet.gdml
897517 ./Detectors/data/ldmx-det-v14-8gev-no-cals/magnet.gdml
897517 ./Detectors/data/ldmx-det-v14-8gev/magnet.gdml
830160 ./Hcal/data/visibles.onnx
263525 ./Tools/HLS_Arbitrary_Precision_Types/include/ap_impl/ap_private.h
216518 ./SimCore/G4DarkBreM/docs/doxygen-awesome-css/img/screenshot.png
216518 ./docs/doxygen.conf/doxygen-awesome-css/img/screenshot.png
142587 ./Detectors/data/ldmx-reduced-v3/ecal_support_box.gdml
142522 ./Detectors/data/ldmx-ti-v15-8gev/ecal_support_box.gdml
142522 ./Detectors/data/ldmx-lyso-r4-v15-8gev/ecal_support_box.gdml
142522 ./Detectors/data/ldmx-det-v15-8gev/ecal_support_box.gdml
142522 ./Detectors/data/ldmx-al-v15-8gev/ecal_support_box.gdml
142451 ./Detectors/data/ldmx-vertTS-v14-8gev/ecal_support_box.gdml
142451 ./Detectors/data/ldmx-det-v14/ecal_support_box.gdml
142451 ./Detectors/data/ldmx-det-v14-8gev-no-cals/ecal_support_box.gdml
142451 ./Detectors/data/ldmx-det-v14-8gev/ecal_support_box.gdml
130965 ./Trigger/Algo_HLS/TS/reports/syn/TSTriggerAlgo_csynth.rpt
124238 ./docs/doxygen.conf/doxygen-awesome-css/Doxyfile
117315 ./SimCore/G4DarkBreM/docs/doxygen-awesome-css/Doxyfile
107977 ./Trigger/ruckus/Doxyfile
106498 ./Detectors/data/archived/ldmx-lyso-v12.tar.gz
103213 ./Detectors/data/archived/ldmx-det-v9.tar.gz
102744 ./Detectors/data/archived/ldmx-det-v5.tar.gz
102001 ./Detectors/data/archived/ldmx-det-v3.tar.gz
101167 ./Detectors/data/archived/ldmx-ti-v9.tar.gz
99445 ./docs/doxygen.conf/doxyfile
93871 ./SimCore/G4DarkBreM/docs/doxyfile
85825 ./Tools/HLS_Arbitrary_Precision_Types/include/ap_fixed_base.h
80396 ./DQM/python/dqm.py
...stopped now that we are below 1k

I am updating ldmx-sw, here are the details. (Resolves #2081.)
This is the processor and associated machinery implementing the recoil hit removal strategy for vetoing multi-electron wide-angle bremsstrahlung (WAB) events. This strategy consists of identifying the electron tracks in the recoil tracker, propagating them forward into the ECal, and drawing a radius of containment around the tracks. All hits within these radii are then discarded, and cuts and BDTs are applied to what remains in the ECal. This technique at the moment provides insufficient veto power (using both 68% and 95% RoCs) to warrant using the present form as a finished product, but the code is here provided in the hope that future work will improve upon the results.
Check List
Here is a single event example of the technique at work, in a "best case scenario." The straight lines are truth trajectories of the electron and photon in a 1e WAB event, and the dots are reconstructed hits in the ECal.

Here is the performance of the

2e_wab_vs_signal10mev_v15_1RoC_68_recrem.onnxBDT, applied together with the simple trigger, on two 100k 2e samples of WAB+pileup and 10 MeV signal+pileup. Performance is reasonable but non-ideal.