version 1.2, 2003/04/10 16:50:07
|
version 1.3, 2003/07/07 20:30:53
|
|
|
\author{M. K. Jones} | \author{M. K. Jones} |
\category{beamline} % Subject area of this document | \category{beamline} % Subject area of this document |
%\maintainer{Name of person maintaining document} % Optional | %\maintainer{Name of person maintaining document} % Optional |
\date{April 10, 2003} % Can use \today as the argument |
\date{July 7, 2003} % Can use \today as the argument |
| |
\begin{document} | \begin{document} |
| |
|
|
\item Type: make\_harp\_file {\it directory\_name} {\it run\_number} | \item Type: make\_harp\_file {\it directory\_name} {\it run\_number} |
\item Type: use cernlib/2000 | \item Type: use cernlib/2000 |
\item Type: paw++ | \item Type: paw++ |
\item In paw++ Executive window type: exec plot\_harp harpname=IHA3H00\_{\it runnum} |
\item Depending if beam was unrastered or rastered. If the beam was unrastered and |
\item A plot of the raw harp scan is shown. Click gates around each peak. |
one wants to fit with a Gaussian then add {\it fit=yes} when |
\item Then the x1 plot appears. Then click at the lower left, center and upper left of the peak |
execute plot\_harp.kumac in next step. If the beam was rastered then |
\item Then the y plot appears. Then click at the lower left, center and upper left of the peak |
execute with {\it fit=no}. |
\item Then the x2 plot appears. Then click at the lower left, center and upper left of the peak |
\item In paw++ Executive window type: exec plot\_harp harpname=IHA3H00\_{\it runnum} fit={\it yes or no} |
|
\item A plot of the raw harp scan is shown. Click with left mouse to make gates around each peak. |
|
Click the right mouse to quit. |
|
The first peak is the x1 wire, the second is the y wire and the third is the x2 wire. |
|
The program has offsets for each wire ( for spring 2003 these were determined |
|
by comparison to the BPMs). For each of the following plots, the offset for that wire is |
|
subtracted from the raw data and for the X1 and X2 the sign is reversed to agree the |
|
BPM sign conventions. |
|
\item Then the x1 plot appears. If not doing a fit the |
|
left click at the lower left, center and upper left of the peak (click with right |
|
mouse to quit). The kumac will return |
|
the difference between the first and last position and the center position. For a |
|
fit make a click in the flat region below the peak, at the top peak ( the y position |
|
is used as the starting height) and in the |
|
flat region above the peak . |
|
The fit is a constant background plus a Gaussian. |
|
Unfortunately fitting with PAW can sometimes have problems, and you just have do it |
|
again. If you get a negative number for sigma you can just take the absolute |
|
value since PAW uses the square and is insensitive to the sign. All units are mm. |
|
\item Then the y plot appears. Do as for x1 plot. |
|
\item Then the x2 plot appears. Do as for x1 plot. |
\end{enumerate} | \end{enumerate} |
| |
\end{document} | \end{document} |
| |
% Revision history: | % Revision history: |
% $Log$ | % $Log$ |
|
% Revision 1.3 2003/07/07 20:30:53 saw |
|
% (jones) Add detail for paw++ analysis |
|
% |
% Revision 1.2 2003/04/10 16:50:07 saw | % Revision 1.2 2003/04/10 16:50:07 saw |
% (jones) Add procedure for harps near target | % (jones) Add procedure for harps near target |
% | % |