\hypertarget{histogram_8c}{
\section{histogram.c File Reference}
\label{histogram_8c}\index{histogram.c@{histogram.c}}
}
Iterate over the event and fill the histograms of the compaction. 

{\tt \#include \char`\"{}LSEC/LSEC\_\-msgs.h\char`\"{}}\par
{\tt \#include \char`\"{}LSEC/enums.h\char`\"{}}\par
{\tt \#include \char`\"{}compact\_\-p.h\char`\"{}}\par
{\tt \#include \char`\"{}compress.ic\char`\"{}}\par
{\tt \#include \char`\"{}raw.h\char`\"{}}\par
{\tt \#include \char`\"{}acdraw.h\char`\"{}}\par
{\tt \#include \char`\"{}gemraw.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/EBF\_\-gem.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/EBF\_\-cal.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/EBF\_\-tkr.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/EBF\_\-tem.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/FFS.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/EBF\_\-gem\-Locate.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/ACD\_\-unpack.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/ACD\_\-rec.h\char`\"{}}\par
{\tt \#include $<$string.h$>$}\par


Include dependency graph for histogram.c:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=309pt]{histogram_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
void \hyperlink{histogram_8c_a0}{LSEC\_\-histogram\-Acd} (\hyperlink{structLSEC__compaction__}{LSEC\_\-compaction} $\ast$cpc, EBF\_\-dir $\ast$dir)
\begin{CompactList}\small\item\em Perform histogramming for ACD calibration. \item\end{CompactList}\item 
void \hyperlink{histogram_8c_a1}{LSEC\_\-histogram\-Cal} (\hyperlink{structLSEC__compaction__}{LSEC\_\-compaction} $\ast$cpc, EBF\_\-dir $\ast$dir)
\begin{CompactList}\small\item\em Perform histogramming for CAL calibration. \item\end{CompactList}\item 
void \hyperlink{histogram_8c_a2}{LSEC\_\-histogram\-Cal\-Means} (\hyperlink{structLSEC__compaction__}{LSEC\_\-compaction} $\ast$cpc, EBF\_\-dir $\ast$dir)
\begin{CompactList}\small\item\em Obtain the means of the CAL log values. \item\end{CompactList}\item 
void \hyperlink{histogram_8c_a3}{LSEC\_\-histogram\-Tkr} (\hyperlink{structLSEC__compaction__}{LSEC\_\-compaction} $\ast$cpc, EBF\_\-dir $\ast$dir)
\begin{CompactList}\small\item\em Perform histogramming for TKR calibration. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Iterate over the event and fill the histograms of the compaction. 

\begin{Desc}
\item[Author:]James Swain \& Owen Saxton\end{Desc}
\begin{Desc}
\item[Id]\hyperlink{histogram_8c}{histogram.c},v 1.8 2008/07/16 21:00:19 saxton Exp \end{Desc}


\subsection{Function Documentation}
\hypertarget{histogram_8c_a0}{
\index{histogram.c@{histogram.c}!LSEC_histogramAcd@{LSEC\_\-histogramAcd}}
\index{LSEC_histogramAcd@{LSEC\_\-histogramAcd}!histogram.c@{histogram.c}}
\subsubsection[LSEC\_\-histogramAcd]{\setlength{\rightskip}{0pt plus 5cm}void LSEC\_\-histogram\-Acd (\hyperlink{structLSEC__compaction__}{LSEC\_\-compaction} $\ast$ {\em cpc}, EBF\_\-dir $\ast$ {\em dir})}}
\label{histogram_8c_a0}


Perform histogramming for ACD calibration. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cpc}]Compaction structure\item[{\em dir}]Pointer to a directory of the event\end{description}
\end{Desc}
\hypertarget{histogram_8c_a1}{
\index{histogram.c@{histogram.c}!LSEC_histogramCal@{LSEC\_\-histogramCal}}
\index{LSEC_histogramCal@{LSEC\_\-histogramCal}!histogram.c@{histogram.c}}
\subsubsection[LSEC\_\-histogramCal]{\setlength{\rightskip}{0pt plus 5cm}void LSEC\_\-histogram\-Cal (\hyperlink{structLSEC__compaction__}{LSEC\_\-compaction} $\ast$ {\em cpc}, EBF\_\-dir $\ast$ {\em dir})}}
\label{histogram_8c_a1}


Perform histogramming for CAL calibration. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cpc}]Compaction structure\item[{\em dir}]Pointer to a directory of the event\end{description}
\end{Desc}
\hypertarget{histogram_8c_a2}{
\index{histogram.c@{histogram.c}!LSEC_histogramCalMeans@{LSEC\_\-histogramCalMeans}}
\index{LSEC_histogramCalMeans@{LSEC\_\-histogramCalMeans}!histogram.c@{histogram.c}}
\subsubsection[LSEC\_\-histogramCalMeans]{\setlength{\rightskip}{0pt plus 5cm}void LSEC\_\-histogram\-Cal\-Means (\hyperlink{structLSEC__compaction__}{LSEC\_\-compaction} $\ast$ {\em cpc}, EBF\_\-dir $\ast$ {\em dir})}}
\label{histogram_8c_a2}


Obtain the means of the CAL log values. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cpc}]Compaction structure\item[{\em dir}]Pointer to the event to analyse\end{description}
\end{Desc}
\hypertarget{histogram_8c_a3}{
\index{histogram.c@{histogram.c}!LSEC_histogramTkr@{LSEC\_\-histogramTkr}}
\index{LSEC_histogramTkr@{LSEC\_\-histogramTkr}!histogram.c@{histogram.c}}
\subsubsection[LSEC\_\-histogramTkr]{\setlength{\rightskip}{0pt plus 5cm}void LSEC\_\-histogram\-Tkr (\hyperlink{structLSEC__compaction__}{LSEC\_\-compaction} $\ast$ {\em cpc}, EBF\_\-dir $\ast$ {\em dir})}}
\label{histogram_8c_a3}


Perform histogramming for TKR calibration. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cpc}]Compaction structure\item[{\em dir}]Pointer to a directory of the event\end{description}
\end{Desc}
