\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\_\-gemLocate.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/ACD\_\-unpack.h\char`\"{}}\par
{\tt \#include \char`\"{}EDS/ACD\_\-rec.h\char`\"{}}\par
{\tt \#include \char`\"{}PBS/WCT.h\char`\"{}}\par
{\tt \#include $<$string.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
void \hyperlink{histogram_8c_3480d9fc98f55b82c5811e513d0d07e4}{LSEC\_\-histogramAcd} (\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_c48d9b0ec401ef77775a2131f0e7ae33}{LSEC\_\-histogramCal} (\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_9ad5beb79389833793a1c71e48da12a9}{LSEC\_\-histogramCalMeans} (\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_87f2d63d042229fb89097db0f5736848}{LSEC\_\-histogramTkr} (\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]\end{Desc}


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


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_c48d9b0ec401ef77775a2131f0e7ae33}{
\index{histogram.c@{histogram.c}!LSEC_histogramCal@{LSEC\_\-histogramCal}}
\index{LSEC_histogramCal@{LSEC\_\-histogramCal}!histogram.c@{histogram.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void LSEC\_\-histogramCal ({\bf LSEC\_\-compaction} $\ast$ {\em cpc}, EBF\_\-dir $\ast$ {\em dir})}}
\label{histogram_8c_c48d9b0ec401ef77775a2131f0e7ae33}


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_9ad5beb79389833793a1c71e48da12a9}{
\index{histogram.c@{histogram.c}!LSEC_histogramCalMeans@{LSEC\_\-histogramCalMeans}}
\index{LSEC_histogramCalMeans@{LSEC\_\-histogramCalMeans}!histogram.c@{histogram.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void LSEC\_\-histogramCalMeans ({\bf LSEC\_\-compaction} $\ast$ {\em cpc}, EBF\_\-dir $\ast$ {\em dir})}}
\label{histogram_8c_9ad5beb79389833793a1c71e48da12a9}


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_87f2d63d042229fb89097db0f5736848}{
\index{histogram.c@{histogram.c}!LSEC_histogramTkr@{LSEC\_\-histogramTkr}}
\index{LSEC_histogramTkr@{LSEC\_\-histogramTkr}!histogram.c@{histogram.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void LSEC\_\-histogramTkr ({\bf LSEC\_\-compaction} $\ast$ {\em cpc}, EBF\_\-dir $\ast$ {\em dir})}}
\label{histogram_8c_87f2d63d042229fb89097db0f5736848}


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}
