(file) Return to detmap.tex CVS log (file) (dir) Up to [HallC] / Documents / Howtos

File: [HallC] / Documents / Howtos / Attic / detmap.tex (download) / (as text)
Revision: 1.1.2.3, Mon May 23 12:58:11 2005 UTC (19 years, 3 months ago) by saw
Branch: hks05
Changes since 1.1.2.2: +4 -6 lines
update date

\documentclass{chowto}
\title{Detector map file for analyzer}
\howtotype{expert}
\category{general}
\experiment{HKS}
%\maintainer{} % Optional
\author{T. Miyoshi}
\date{May 22, 2004}

\begin{document}

\begin{abstract}
This document discribes how to make detector map file for analyzer.

\end{abstract}

\section{e01011.map}

e01011.map is a text file in MAPS directory.
The file specifies ROC number, detector id, slot number,
maps which indicates relationship between module channel and detector location.
Please check previout example and read this document.

\section{Rules}

The order of values is as follows:

\begin{description}
 \item ROC =  roc id 
 \item Detector =  detector id 
 \item slot =  slot number 
 \item a,b,c,d
 \item a= module channel number(0-32,0-63,or 0-96)
 \item b= Detector plane number
 \item c= Detector channel/wire number
 \item d= ADC+(0)/ADC-(1)/TDC+(2)/TDC-(3) 
\end{description}

\section{ROC id, detector ID}

First, you must write ROC number and detector id.

\begin{center}
\begin{tabular}{|l|l|}\hline
Detector ID & Number\\ \hline \hline
HDC    & 1 \\ \hline
Hscin  & 2 \\ \hline
AC     & 3 \\ \hline
WC     & 4 \\ \hline
Hmisc  & 5 \\ \hline   
Gmics  & 6 \\  \hline
EDC    & 11 \\ \hline
EHODO  & 12 \\ \hline
\end{tabular}
\end{center}

\section{Module mask}

Before you write channel the maps, you must set module mask.

\begin{center}
\begin{tabular}{|l|l|l|l|}\hline
Module & Nsubadd & MASK & BSUB \\
\hline\hline
F1TDC           & 64 & FFFFx & 16  \\ \hline
1877 TDC        & 96 & FFFFx & 17  \\ \hline
1875A/1872A TDC & 64 & FFFx  & 16  \\  \hline
1881M ADC       & 64 & 1FFFx & 17  \\  \hline
\end{tabular}
\end{center}

\section{Maps}

Then, you specifies slot number and channel number in the module.
For chamber data, you write 3 numbers in a column.
For the other detector, you write 4 numbers in a column.
The first 3 numbers show {module channel number},{detector plane number},
and {detector channel or plane number}.
The 4th number indicates module type adc or tdc.
Positive (or right) counter's ADC is 0, 
negative (or left) counter's ADC is 1,
Positive (or right) counter's ADC is 2 and 
negative (or left) counter's ADC is 3.


\section{Comment}

It is recommended that you write comment at the number 
so that everybody recognize them quickly. Comment starts ! mark.

For example:

\begin{verbatim}
 12, 10, 3, 2 !TDC ROC#7 Sl#22 Ch#12 KSCIN pl#10 id sig#3 [TDC]
 13, 10, 7, 2 !TDC ROC#7 Sl#22 Ch#13 KSCIN pl#10 id sig#7 [TDC]
 14, 10, 4, 2 !TDC ROC#7 Sl#22 Ch#14 KSCIN pl#10 id sig#4 [TDC]
 15, 10, 8, 2 !TDC ROC#7 Sl#22 Ch#15 KSCIN pl#10 id sig#8 [TDC]
\end{verbatim}

\end{document}

% Revision history:
% $Log: detmap.tex,v $
% Revision 1.1.2.3  2005/05/23 13:58:11  saw
% update date
%
% Revision 1.1.2.2  2005/05/23 13:55:31  saw
% Add ID for electron hodoscope
%
% Revision 1.1.2.1  2005/05/20 14:00:05  saw
% Initial version
%

Analyzer/Replay: Mark Jones, Documents: Stephen Wood
Powered by
ViewCVS 0.9.2-cvsgraph-1.4.0