From: hadaq Date: Thu, 8 Jul 2010 08:54:30 +0000 (+0000) Subject: cts data structure X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=24ddc15c2fc7de6122dfe383ff8c3822af2436ce;p=daqdocu.git cts data structure --- diff --git a/cts.tex b/cts.tex index 6f7360b..fbfda33 100644 --- a/cts.tex +++ b/cts.tex @@ -134,9 +134,59 @@ For the time being "old" logic of the CTS is not removed. \item[0xA0CA] Tables of 8 EB IDs (each ID has four bits), the IDs are switched form CA(3 down to 0) to CA(7 down to 4) ... CB(31 down to 28) \item[0xA0CB] Tables of 8 EB IDs (each ID has four bits) +\end{description} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\subsubsection{CTS Data structure} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +When there is trigger type which is not equal 0x9 (MDC calibration trigger sent each second) then the data from CTS contains 5 (4 for current data structure) data words. +When there is MDC calibration trigger CTS sends also scalers information. + +\begin{description} +\item[1 Standard hub word] When hub is used, currently without this (readout through etrax) +\item[2 First header of the data] the same as for the timing detectors (Start,TOF ...) +\item[3 Second header] + \begin{description} + \item[bit 31 -- 16] Data version + \item[bit 15 -- 0] Number of extension words + \end{description} +\item[4 Latches] + \begin{description} + \item[bit 0] Start + \item[bit 1] Veto + \item[bit 2] TOF/RPC multiplicity 1 + \item[bit 3] TOF/RPC multiplicity 2 + \item[bit 4] TOF/RPC multiplicity 3 + \item[bit 5] TOF/RPC multiplicity 4 + \item[bit 6] TOF/RPC multiplicity 5 + \item[bit 7] TOF/RPC multiplicity 6 + \item[bit 8] TOF/RPC multiplicity 2 no neigbour + \item[bit 9] TOF/RPC multiplicity 3 no neighbour + \item[bit 10] TOF/RPC multiplicity 2 opposite sectors + \item[bit 11] Physical trigger (PT) 1 (definition depends on the beam time) + \item[bit 12] PT 2 + \item[bit 13] PT 3 + \item[bit 14] PT 4 + \item[bit 31 -- 15] All 0 + \end{description} +\item[5 Currently empty] +\item[13 -- 6 Start scalers] +\item[21 -- 14 Veto scalers] +\item[27 -- 22 TOF scalers] +\item[33 -- 28 RPC scalers] +\item[37 -- 34 PT scalers] +\item[38 Start OR scaler] +\item[39 Veto OR scaler] +\item[43 -- 40 PT delayed scalers] +\item[52 -- 44 Multiplicity scalers] The same order as for latches + \end{description} + + \begin{figure} \centering \includegraphics[width=.9\textwidth]{cts_doc.pdf}