Skip to content

Commit d151eb4

Browse files
authored
Merge pull request #89 from JeffersonLab/hydra
Hydra updates for RG-L
2 parents 1cd4fb9 + bdbf29c commit d151eb4

File tree

3 files changed

+53
-29
lines changed

3 files changed

+53
-29
lines changed

bin/mon12_beam_hydra

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
4+
5+
trigger_mask=0x4081
6+
min_current=30
7+
8+
# RG-D operates at two beam currents, depending on the target:
9+
#min_current=40
10+
#target=$(caget -t -w 1 HLB:TARGET:STAT)
11+
#if [ $? -eq 0 ]
12+
#then
13+
# if [ "$target" == "CuSn" ]
14+
# then
15+
# min_current=90
16+
# fi
17+
#fi
18+
19+
$dir/mon12 \
20+
-tabs "AHDC:ATOF:BAND:CND:CTOF:DC:ECAL:FTCAL:FTHODO:FTOF:HTCC:LTCC:RICH:RF:HEL:Trigger:TimeJitter"\
21+
-trigger $trigger_mask \
22+
-current $min_current \
23+
-batch 1 \
24+
-autosave 10000 \
25+
-ethost clondaq7 \
26+
-etip 129.57.167.20 \
27+
-outDir /local/baltzell/hydra/images \
28+
$* \
29+
2>&1 \
30+
| grep -v -E -f $dir/.logignore
31+

bin/mon12_cosmics_hydra

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
4+
5+
6+
trigger_mask=0xffffffff
7+
min_current=-1
8+
9+
$dir/mon12 \
10+
-tabs "CND:CTOF:AHDC:ATOF" \
11+
-trigger $trigger_mask \
12+
-current $min_current \
13+
-batch 1 \
14+
-autosave 10000 \
15+
-ethost clondaq7 \
16+
-etip 129.57.167.20 \
17+
-outDir /local/baltzell/hydra/images \
18+
$* \
19+
2>&1 \
20+
| grep -v -E -f $dir/.logignore
21+

bin/mon12_hydra

Lines changed: 0 additions & 29 deletions
This file was deleted.

bin/mon12_hydra

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mon12_cosmics_hydra

0 commit comments

Comments
 (0)