Open Mrc1104 opened 1 month ago
Changes the naming scheme of the Ring 5 thin quartz detectors from r5{a,b,c} to r5{l,c,r} (left, center, right).
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'
Pull #23 modifies the parameter files so this will need to be re-done once it is merged into the main branch.
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'