JeffersonLab / iguana

Preservation of common physics data analysis algorithms. Currently focused on HIPO data.
https://jeffersonlab.github.io/iguana/
GNU Lesser General Public License v3.0
2 stars 7 forks source link

Sector Finder should allow for separate user defined banks for charged and uncharged particles. #237

Closed rtysonCLAS12 closed 1 month ago

rtysonCLAS12 commented 2 months ago

At present Sector finder default behaviour does REC::Track -> REC:: Scintillator - > REC::Calorimeter. This works for both charged and uncharged particles.

However, users can change yaml files to specify which bank to read sector from. This can cause issues when having both charged and uncharged particles, as specifying eg REC::Track or REC::Scintillator would cause uncharged particles to have sector 0. (Using REC::Calorimeter should work for both, assuming at least one layer hit in calorimeter for charged particles.)

Solution is to add user defined charged bank and user defined uncharged bank.