2014, November 11

From Hall A Wiki
Jump to: navigation, search

Back to Beam Polariazation Measurement (How to)

Check list before measurements

Helicity, BCM signals in Hall A Counting room

Helicity, BCM, 100kHz signals in Hall A Moller electronics rack

Helmholz coils power supply

Target motion

Start CODA Moller database (msqld)

Login to adaql1 as moller and check if msqld daemon is running:

 adaql1> ps -u moller | grep msqld

if output like that:

 22600 ?        00:00:01 msqld

that means msqld is running.
If not, to start it type:

 adaql1> run_daemon_db msqld &

CODA LED test run

Check Helicity signals and scalers data in CODA data file

To check helicity, QRT signals type in paw:

 paw> exe run run=15623
 Run=15624 is attached to lun=21
 paw> nt/sca //lun21/1 nsca>0 50 1 ! itick itrig(1) itrig(6) itrig(8)

This is output for 30Hz helicity (pair):

+-------+-------------+-------------+-------------+-------------+
| Event |   itick     |   itrig(1)  |   itrig(6)  |   itrig(8)  |
+-------+-------------+-------------+-------------+-------------+
|     2 |  11155369   | z'0'        | z'1'        | z'0'        |
|     5 |  11155373   | z'0'        | z'0'        | z'1'        |
|     8 |  11155377   | z'0'        | z'0'        | z'1'        |
|    11 |  11155381   | z'0'        | z'1'        | z'1'        |
|    14 |  11155385   | z'0'        | z'0'        | z'1'        |
|    17 |  11155389   | z'0'        | z'1'        | z'1'        |
|    20 |  11155393   | z'0'        | z'1'        | z'1'        |
|    23 |  11155397   | z'0'        | z'0'        | z'1'        |
|    26 |  11155401   | z'0'        | z'0'        | z'0'        |
|    29 |  11155405   | z'0'        | z'1'        | z'1'        |
|    32 |  11155409   | z'0'        | z'1'        | z'1'        |
|    35 |  11155413   | z'0'        | z'0'        | z'1'        |
|    38 |  11155417   | z'0'        | z'1'        | z'1'        |
|    41 |  11155421   | z'0'        | z'0'        | z'1'        |
|    44 |  11155425   | z'0'        | z'0'        | z'1'        |
|    47 |  11155429   | z'0'        | z'1'        | z'1'        |
|    50 |  11155433   | z'0'        | z'1'        | z'0'        |
+-------+-------------+-------------+-------------+-------------+

Where:

 itick   -  VxWorks time ticks (set in ~/daq/coda2/crlppc/moller_onl.crl to 8.33mS)
 itrig(1) - ADC gate on input #1 of TIR board
 itrig(6) - Helicity signal on input #6 of TIR board
 itrig(8) - QRT signal on input #8 of TIR board

To check scalers data type in paw:

 paw> nt/sca //lun24/1 nsca>0 50 1 ! itick isca(1) isca(2) isca(3) isca(4) isca(5)
+-------+-------------+-------------+-------------+-------------+-------------+-------------+
| Event |   itick     |   isca(1)   |   isca(2)   |   isca(3)   |   isca(4)   |   isca(5)   |
+-------+-------------+-------------+-------------+-------------+-------------+-------------+
|     2 |  11155369   |  9315       |  9315       |  9315       |  0          |  0          |
|     5 |  11155373   |  9463       |  9463       |  9463       |  0          |  0          |
|     8 |  11155377   |  9611       |  9611       |  9611       |  0          |  0          |
|    11 |  11155381   |  9760       |  9760       |  9760       |  0          |  0          |
|    14 |  11155385   |  9909       |  9909       |  9909       |  0          |  0          |
|    17 |  11155389   |  10057      |  10057      |  10057      |  0          |  0          |
|    20 |  11155393   |  10205      |  10205      |  10205      |  0          |  0          |
|    23 |  11155397   |  10353      |  10353      |  10353      |  0          |  0          |
|    26 |  11155401   |  10502      |  10502      |  10502      |  0          |  0          |
|    29 |  11155405   |  10650      |  10650      |  10650      |  0          |  0          |
|    32 |  11155409   |  10798      |  10798      |  10798      |  0          |  0          |
|    35 |  11155413   |  10946      |  10946      |  10946      |  0          |  0          |
|    38 |  11155417   |  11095      |  11095      |  11095      |  0          |  0          |
|    41 |  11155421   |  11243      |  11243      |  11243      |  0          |  0          |
|    44 |  11155425   |  11391      |  11391      |  11391      |  0          |  0          |
|    47 |  11155429   |  11539      |  11539      |  11539      |  0          |  0          |
|    50 |  11155433   |  11688      |  11688      |  11688      |  0          |  0          |
+-------+-------------+-------------+-------------+-------------+-------------+-------------+

Where:

isca(1)  - Left arm (LG and Ap)
isca(2)  - Right arm (LG and Ap)
isca(3)  - Coincidence Left and Right arms
isca(4)  - Accidentals Left and Right arms
isca(5)  - BCM
isca(6)  - PLU out 7; in LED setup - number of LED flashes
isca(7)  - 
isca(8)  - 
isca(9)  - 
isca(10) - (Helicity delayed)*Clock(100kHz)
isca(11) - !MPS
isca(12) - PLU out #6 (TimerGenarator * helicity window)	
isca(13) - 
isca(14) - 
isca(15) - Clock TimerGenerator 100kHz

ADC Pedestals check

  • Set HV ON on moller detector. (Need link to HV ON)
  • Select configuration "moller_puls" in old CODA, download it.
  • In "mpc" programm load configuration "PULSER_SET" to detector electronics and start CODA run.
  • Take 3000-5000 events and stop run.
  • In ~/paw/moller start paw:
 > paw
 paw> exec run run=15627
 paw> exec lg_pedes run=15627 pulschk=1
  • Copy output results into text file with name "pedes_#RunNumber.dat", where #RunNumber is CODA "pulser" run.
  • Edit file "lg_spectra.kumac", replace:
 ...
 else
   ve/read pedes,pedcut pedes_14754.dat
 endif
 ...

with:

 elseif [run]<#RunNumber then
   ve/read pedes,pedcut pedes_14754.dat	
 else
 ve/read pedes,pedcut pedes_#RunNumber.dat
   endif
 ...

Software to start

  • CODA
    • old DAQ ( data in /adaq1/data1/raw ):
 ssh moller@adaql1  
 adaql1> start_coda 
  • FADC DAQ ( data in /data1/raw ) :
 ssh moller@hamoller (open 3 terminals)
 hamoller> start_coda_brad
  • FADC settings:
 hamoller> cd crl/FADC/
 hamoller> gui_fadc_par
  • FADC online monitor:
 hamoller> cd fadc_online/mollmon/
 hamoller> mollmon -n moller25 -h hamoller
  • Detector settings and HV control GUI
 ssh moller@adaql2
 adaql2> cd Java/msettings/
 adaql2> mpc		
  • EPICS control
 ssh adaq@adaql1  (or adaq1)
 adaql1> monticello (OS Menu -> EDM -> Hall A -> HallA Moller polarimeter control)

OR

 adaql1> jtabs (Beam Setup -> HallA-> Magnets-> Moller-> Combo)

Moller magnet settings and beam tuning

  • Ask target operator to remove the main target
  • Raster OFF
  • Moller magnet settings: (Q1,Q2,Q3,Q4, Dipole-OFF)
   1st Moller quadrupole magnet Q1 - MQO1H02 
   2nd Moller quadrupole magnet Q2 - MQM1H02 
   3rd Moller quadrupole magnet Q3 - MQO1H03
   4th Moller quadrupole magnet Q4 - MQO1H03A
   Moller dipole magnet            - MMA1H01
  • Get magnet settings for energy (as example) e0=7.37GeV
   paw> lcd mag_optim
   paw> exec sett_magp12 e0=7.37 	
   Eb=7.37GeV
   .       Q1          Q2         Q3          Q4         Dipole
   kG   -4.2742     -1.85808     1.994       4.345     10.8837
   kG*m -30791.3    -16358.5     14315.3     30839.5     1.78793E+06
   A    -197.853    -93.5748     97.3212     208.451     399.068
  • Ask MCC operator for beam current 0.5uA
  • Beam position tuning with magnet settings (Q1,Q2,Q3,Q4) on IPM1H01 BPM ~0.2mm (absolute X,Y)
  • Turn Beam OFF
  • Turn ON Moller Dipole
  • Ask Beam current 0.5uA
  • Beam position tuning with Dipole ON on IPM1H01 BPM ~0.2mm
  • Set target on beam
 1: SM 13.0um (old),  2: SM 29.4um,  3: Fe 14.3um,  4: Fe 9.3um,  5: SM 6.8um,  Left.Lim: Al 16.6um

Detector HV tuning

  • HV for Moller detector:
  portserver: hatsv5:2003
  slot #5: ch:(0-3) - Calorimeter Left  (1-4); 
	   ch:(4-7) - Calorimeter Right (1-4)
  slot #6: ch:(0-3) - Aperture Left  (1-4); 
	   ch:(4-7) - Aperture Right (1-4)
  1. Start CODA run
  2. Tune detector HV
  3. Check signals peak position at ADC channel.
 paw> exec run run=15625
 paw> exec lg_spectra run=15625			
  • FADC DAQ: check signals peak position on online monitor 'mollmon'
  • Change HV for calorimeter in order to align the Møller peak position at ADC channel 300 for each block.
  • Repeat from #1

Thresholds tuning


Polarization measurements

  1. Start dbedit on adaql1, select "mollerpol_l" database and set in "beam_pol" configuration table in row "code" parameter "adcevents" from 9 to 2: " ... adcevents=2"
  2. Make at least two CODA runs in order to use both coil polarities.
  3. Data analysis:
    1. old DAQ: adaql1:~/paw/moller/
        > paw
        paw> exec run run=15625
        paw> exec lg_spectra run=15625
        paw> exec time run=15625
        paw> exec asym11 run=15625
      
    2. FADC DAQ: hamoller:~/fadc_analysis/moller_fadc-15Nov2011/
        > bash
        > source root-setup.sh
        > cd onlana
        > analyser
        analyser> replay_test(3023)
        analyser> .x do_analyse(3023)
      

Results presentation

  • Results of all runs from "asym11" stored in files: runs.tab, res.dat
  • Do copy these files to paw/moller/meas:
 > cp runs.tab meas/runs.tab.#RunBeg-#RunEnd
 > cp res.dat meas/res.dat.#RunBeg-#RunEnd
  • To plot and average results, edit file: ~/paw/moller/asym_avt.kumac
    comment old beam polarization data and add new one, modify output of 'ps' file and titles with date then run it.

Spin dance

Troubleshooting

  • VME crates reboot
  1. Software reboot if VME crate is running:
    1. old DAQ hallavme5:
      	  > telnet hatcv5 2004
        	  > reboot
      	  Ctrl and "]"
      	  telnet> quit
           
    2. FADC DAQ:
      	  > telnet hatsv12 2005
        	  > rebootrebooting VME crate
      	  Ctrl and "]"
      	  telnet> quit
          
  2. Hardware reboot if crates not response:
    1. On adaql2 start firefox old DAQ hallavme5:
      Go to: http://hareboot6
      (outlet #8)
                user: hlauser
      	  select "Device Manager" tab,
      	  select "Control" from left menu,
      	  select in small box Outlet #8,
      	  select Action "Reboot Immediatly " and
      	  press "Next" button to activate action.
            

      Wait for few minutes while VME crate is rebooting.

    2. FADC DAQ crate:
      Go to: http://hareboot26
      (outlet #1)
      	  user: hlauser
      	  select in "ON" box Outlet #1,	
      	  select in small box Outlet #1,	
      	  select Action "Reboot Immediatly " and
      	  press "Next" button to activate menu.
      	  press "Apply" button to activate action.
            

      Wait for few minutes while VME crate is rebooting.

  • HV control
  • Data analysis