Project

General

Profile

Beam Wire chambers » History » Version 12

Version 11 (Andrew Sutton, 11/15/2019 02:04 PM) → Version 12/13 (Andrew Sutton, 11/15/2019 02:05 PM)

h1. Beam Wire chambers

We have two chambers used to monitor the secondary beam.
Almost everything at "Wire Chambers":https://cdcvs.fnal.gov/redmine/projects/novatestbeam/wiki/Wire_chambers applies to the beam chambers.

Upstream chamber
* placed just downstream of LArIAT in a break in the beam pipe
* HV setting:
* Controller: ftbfwc02

Target chamber
* placed just before the NOvA target in MC7
* HV setting:
* Controller: ftbfwc07

h3. DAQ

These run using the FTBF wire chamber daq which can be accessed from one of the FTBF machines
<pre>
ssh -XY ftbf_user@ftbf-cr-02.fnal.gov
cd /home/tmp_forJason/EDIT2018/MWPC-MCenter (location subject to change)
./daq-mcenter_<target || upstream>.py
data is saved to /home/tmp_forJason/EDIT2018/MWPC-MCenter/data
</pre>

h3. Monitoring and Plotting

There is an on/near-line monitoring script along with an offline version of which are also housed on the FTBF machines.
You need to have kinit rights to user extbeams (I need to make this more easily accessible -ATCS).

To run the offline script:
<pre>
ssh -XY extbeams@ftbf-cr-02.fnal.gov
cd mtestwire/
source py3/bin/activate
python plot_wires_offline.py /home/tmp_forJason/EDIT2018/MWPC-MCenter/data/filename.dat
</pre>

To run the monitoring script:
The daq needs to be running
<pre>
ssh -XY extbeams@ftbf-cr-02.fnal.gov
cd mtestwire/
source py3/bin/activate
python plot_wires_nearline.py /home/tmp_forJason/EDIT2018/MWPC-MCenter/data/filename (*note there is no .dat ending)
</pre>

Both scripts output images to: /home/nfs/extbeams/mtestwire/images