JeffersonLab / japan-MOLLER

Just Another Parity ANalyzer --- Development for MOLLER
3 stars 9 forks source link

Changing Ring 5 Naming Scheme #28

Open Mrc1104 opened 1 month ago

Mrc1104 commented 1 month ago

PR:

Changes the naming scheme of the Ring 5 thin quartz detectors from r5{a,b,c} to r5{l,c,r} (left, center, right).

Command Used:

grep Analysis/ Parity/ -nriI -e r5 | awk '{printf $1"\n"}' | sed 's/:.*$//' | sort -u | tr '\n' ' ' | xargs sed -i -E -e 's/([rR]5)a/\1l/g' -e 's/([rR]5)c/\1r/g' -e 's/([rR]5)b/\1c/g'

Mrc1104 commented 1 month ago

Pull #23 modifies the parameter files so this will need to be re-done once it is merged into the main branch.