\hypertarget{catechise_8h}{
\section{catechise.h File Reference}
\label{catechise_8h}\index{catechise.h@{catechise.h}}
}
The catechise routine creates the histograms against which the event data is encoded. 

{\tt \#include \char`\"{}collect.h\char`\"{}}\par
{\tt \#include \char`\"{}LSEC/compact.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned \hyperlink{catechise_8h_fbb33eac23b14e3cc637c03686728542}{LCI\_\-catechise} (LSEC\_\-compaction $\ast$cpc, \hyperlink{struct__LCI__collection}{LCI\_\-collection} $\ast$src, unsigned mode)
\begin{CompactList}\small\item\em Analyse the event collection and generate the histograms to encode against. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
The catechise routine creates the histograms against which the event data is encoded. 

\begin{Desc}
\item[Author:]James Swain \& Owen Saxton\end{Desc}
\begin{Desc}
\item[Id]\end{Desc}


\subsection{Function Documentation}
\hypertarget{catechise_8h_fbb33eac23b14e3cc637c03686728542}{
\index{catechise.h@{catechise.h}!LCI_catechise@{LCI\_\-catechise}}
\index{LCI_catechise@{LCI\_\-catechise}!catechise.h@{catechise.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned LCI\_\-catechise (LSEC\_\-compaction $\ast$ {\em cpc}, {\bf LCI\_\-collection} $\ast$ {\em src}, unsigned {\em mode})}}
\label{catechise_8h_fbb33eac23b14e3cc637c03686728542}


Analyse the event collection and generate the histograms to encode against. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cpc}]Pointer to an LSEC\_\-compaction structure\item[{\em src}]Pointer to the source of data to compact (a collection)\item[{\em mode}]Calibration mode (ACD, CAL or TKR)\end{description}
\end{Desc}
\begin{Desc}
\item[Return values:]
\begin{description}
\item[{\em LCI\_\-SUCCESS}]If all goes well \item[{\em LCI\_\-NOTABLE}]If the compression is invoked with empty tables. \item[{\em LCI\_\-MODE}]Returned (but not reported) if the calibration mode is bad. \end{description}
\end{Desc}
