Privacy and Security Notice

Creating or modifying a header file

For the ndelta experiment the ndelta_online.kumac expects the header file in the subdirectory header with the name hdr_ndelta_kin  where kin  is some clever kinematic designation such qpoint, thcm25
etc.  For each kinematics need a  new header file.
 
 

Below is a sample header file  :

reaction             c   (e,e,p)
e0                   r 1 4534.
particle_e           c   lepton
spece                r 5 13.559  18.066 0.000 0.030 0.060
spece_offset         r 3 0.00 0.00 0.00
particle_h           c   hadron
spech                r 5 5.7498 -47.087 0.000 0.030 0.060
spech_offset         r 3 0.00 0.00 0.00
target               r 6 15.00 0.0723 1.0 1.0 3.0 6.350
tar_offset           r 3 0.00 0.00 0.00
* tar_angle is ignored for non-model 1 targets,
* but espace requires to specify angles.
tar_angle            r 2 666.666666 666.666666
isotope1_name        c   1H
isotope1             r 3 1.000 1.007 1.000
reconstruct          r 1 2.0
eloss                r 5 0.04092  0.72799  0.4687  0.4226  0.4110
 

See ESPACE manual for detailed description of header file
Parts of header file that might need changing:

e0                   r 1 4534.

This line sets the beam energy. Put our current best guess. Remember to use units of MeV !!!!

spece                r 5 13.559  18.066 0.000 0.030 0.060

This lines set parameters for the electron spectrometer. After the r 5 the first number is the NMR reading of the electron dipole. Take reading on HAC medm main screen near D-N and multiply by 10 . The second number is the angle of the spectrometer. Get this from the HAC medm main screen.
Leave the rest of line alone.
 

spech                r 5 5.7498 -47.087 0.000 0.030 0.060

This lines set parameters for the hadron spectrometer. After the r 5 the first number is the NMR reading
of the hadron dipole. Take reading on HAC medm main screen near D-N and multiply by 10 . The
second number is the angle of the spectrometer. Get this from the HAC medm main screen. It must be negative!!!!  Leave the rest of line alone.

spece_offset         r 3 0.00 0.00 0.00

The line is the offsets in the pointing of the electron spectrometer in Hall A coordinates. The first number is X which is horizontal position. The next is Y which is vertical position. The last is the Z which is the position along the beam direction. Units are meters. Need to write up how to get this.

spech_offset         r 3 0.00 0.00 0.00

The line is the offsets in the pointing of the hadron spectrometer in Hall A coordinates. The first number is X which is horizontal position. The next is Y which is vertical position. The last is the Z which is the position along the beam direction. Units are meters.  Need to write up how to get this.
 

eloss                r 5 0.04092  0.72799  0.4687  0.4226  0.4110

Run the code hdreloss on adaql1 in the  /adaql1/home/adaq/ndelta/twoarm/espace .
At the end of program prints out a line that should be put in the header file.