Project

General

Profile

Beam Wire chambers » History » Version 12

Andrew Sutton, 11/15/2019 02:05 PM

1 1 Andrew Sutton
h1. Beam Wire chambers
2 1 Andrew Sutton
3 7 Andrew Sutton
We have two chambers used to monitor the secondary beam.
4 8 Andrew Sutton
Almost everything at "Wire Chambers":https://cdcvs.fnal.gov/redmine/projects/novatestbeam/wiki/Wire_chambers applies to the beam chambers.
5 3 Andrew Sutton
6 3 Andrew Sutton
Upstream chamber
7 3 Andrew Sutton
* placed just downstream of LArIAT in a break in the beam pipe
8 4 Andrew Sutton
* HV setting:
9 1 Andrew Sutton
* Controller: ftbfwc02 
10 1 Andrew Sutton
11 3 Andrew Sutton
Target chamber
12 3 Andrew Sutton
* placed just before the NOvA target in MC7
13 4 Andrew Sutton
* HV setting:
14 2 Andrew Sutton
* Controller: ftbfwc07
15 1 Andrew Sutton
16 6 Andrew Sutton
17 4 Andrew Sutton
18 1 Andrew Sutton
h3. DAQ
19 9 Andrew Sutton
20 8 Andrew Sutton
These run using the FTBF wire chamber daq which can be accessed from one of the FTBF machines
21 8 Andrew Sutton
<pre>
22 8 Andrew Sutton
ssh -XY ftbf_user@ftbf-cr-02.fnal.gov
23 8 Andrew Sutton
cd /home/tmp_forJason/EDIT2018/MWPC-MCenter (location subject to change)
24 8 Andrew Sutton
./daq-mcenter_<target || upstream>.py
25 8 Andrew Sutton
data is saved to /home/tmp_forJason/EDIT2018/MWPC-MCenter/data
26 1 Andrew Sutton
</pre>
27 10 Andrew Sutton
28 10 Andrew Sutton
h3. Monitoring and Plotting
29 10 Andrew Sutton
30 11 Andrew Sutton
There is an on/near-line monitoring script along with an offline version of which are also housed on the FTBF machines. 
31 11 Andrew Sutton
You need to have kinit rights to user extbeams (I need to make this more easily accessible -ATCS).
32 11 Andrew Sutton
33 11 Andrew Sutton
To run the offline script:
34 11 Andrew Sutton
<pre>
35 11 Andrew Sutton
ssh -XY extbeams@ftbf-cr-02.fnal.gov
36 11 Andrew Sutton
cd mtestwire/
37 11 Andrew Sutton
source py3/bin/activate
38 11 Andrew Sutton
python plot_wires_offline.py /home/tmp_forJason/EDIT2018/MWPC-MCenter/data/filename.dat
39 11 Andrew Sutton
</pre>
40 11 Andrew Sutton
41 11 Andrew Sutton
To run the monitoring script:
42 12 Andrew Sutton
The daq needs to be running
43 11 Andrew Sutton
<pre>
44 11 Andrew Sutton
ssh -XY extbeams@ftbf-cr-02.fnal.gov
45 11 Andrew Sutton
cd mtestwire/
46 11 Andrew Sutton
source py3/bin/activate
47 11 Andrew Sutton
python plot_wires_nearline.py /home/tmp_forJason/EDIT2018/MWPC-MCenter/data/filename (*note there is no .dat ending)
48 11 Andrew Sutton
</pre>
49 11 Andrew Sutton
50 11 Andrew Sutton
Both scripts output images to: /home/nfs/extbeams/mtestwire/images