Commit in hps-java/scripts on MAIN | |||
make_ecal.sh | +7 | -2 | 1.4 -> 1.5 |
right, I was going to commit this - new ECal map with flipped quadrant
diff -u -r1.4 -r1.5 --- make_ecal.sh 18 May 2012 07:41:49 -0000 1.4 +++ make_ecal.sh 31 May 2012 21:00:12 -0000 1.5 @@ -9,8 +9,13 @@
channel=0 while true do
- echo "$x $y 1 ${topslots[slot]} $channel" - echo "$x -$y 2 ${botslots[slot]} $channel"
+ if [ "$x" -ge 0 ] + then + echo "$((24-x)) $y 1 ${topslots[slot]} $channel" + else + echo "$x $y 1 ${topslots[slot]} $channel" + fi + echo "$x -$y 2 ${botslots[slot]} $channel"
channel=$((channel+1)) if [ "$channel" -eq 16 ] then