\section{tpcconddata\-:\-:Calib\-Param Class Reference}
\label{classtpcconddata_1_1CalibParam}\index{tpcconddata\-::\-Calib\-Param@{tpcconddata\-::\-Calib\-Param}}


Class that reads the parameters from the calibration data, for a single chip the data format should be\-: (1)To\-T (2)T\-H\-L offset (3)Time\-Walk 4 To\-T + 2 T\-H\-L offset + 2 Time\-Walk = 8 parameters.  




{\ttfamily \#include $<$Time\-Pix\-Calib\-Param.\-h$>$}

Inheritance diagram for tpcconddata\-:\-:Calib\-Param\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.917808cm]{classtpcconddata_1_1CalibParam}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Calib\-Param} (int chip, int param, float c\-P)
\begin{DoxyCompactList}\small\item\em Convenient constructor using two integers and a float for calibration parameters. \end{DoxyCompactList}\item 
{\bf Calib\-Param} (E\-V\-E\-N\-T\-::\-L\-C\-Object $\ast$obj)\label{classtpcconddata_1_1CalibParam_aeb3da2ce64dcfd67d35775a674fa5738}

\begin{DoxyCompactList}\small\item\em 'Copy constructor' needed to interpret L\-C\-Collection read from file/database. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-Calib\-Param} ()\label{classtpcconddata_1_1CalibParam_a9223063d5e9e65735c3bbde5cf0b1de1}

\begin{DoxyCompactList}\small\item\em Important for memory handling. \end{DoxyCompactList}\item 
int {\bf get\-Chip} () const 
\item 
int {\bf get\-Param} () const 
\item 
float {\bf get\-C\-P} () const 
\item 
void {\bfseries set\-Chip} (const int \&chip)\label{classtpcconddata_1_1CalibParam_a0141a0df8d69ed8454d7446b5701457b}

\item 
void {\bfseries set\-Param} (const int \&param)\label{classtpcconddata_1_1CalibParam_aca17977edcab01ceb4632dede8c76039}

\item 
void {\bfseries set\-C\-P} (const float \&c\-P)\label{classtpcconddata_1_1CalibParam_a16391de22b16d49e912c34c6a2fea7f3}

\item 
void {\bfseries print} (std\-::ostream \&os=std\-::cout) const \label{classtpcconddata_1_1CalibParam_ac930db374fcc36715d08db7bd3e838fe}

\item 
const std\-::string {\bfseries get\-Type\-Name} () const \label{classtpcconddata_1_1CalibParam_aa26e9e2d56a24a75168771a72ac880f7}

\item 
const std\-::string {\bfseries get\-Data\-Description} () const \label{classtpcconddata_1_1CalibParam_a0d54fab63cd06eb091e47d35aef2bc2b}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static std\-::string {\bfseries get\-Revision} ()\label{classtpcconddata_1_1CalibParam_a03c1e02071b68b6d33a1811442f80924}

\item 
static std\-::string {\bfseries get\-Default\-Col\-Name} ()\label{classtpcconddata_1_1CalibParam_a72b6684f84573efe2c897b01dc022481}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class that reads the parameters from the calibration data, for a single chip the data format should be\-: (1)To\-T (2)T\-H\-L offset (3)Time\-Walk 4 To\-T + 2 T\-H\-L offset + 2 Time\-Walk = 8 parameters. 

for a quad board the data format in \char`\"{}pixelman notation\char`\"{} should be\-: (1)chip1 (2)chip0 (3)chip2 (4)chip3 so that together will have 32 parameters, differed by their index.

Combining them into a single object of type L\-C\-Generic\-Object. Based on the L\-C\-Fixed\-Object template. This can be used to be stored in a L\-C\-Collection\-Vec.

\begin{DoxyAuthor}{Author}
R.\-Ulman, Bonn 
\end{DoxyAuthor}


\subsection{Constructor \& Destructor Documentation}
\index{tpcconddata\-::\-Calib\-Param@{tpcconddata\-::\-Calib\-Param}!Calib\-Param@{Calib\-Param}}
\index{Calib\-Param@{Calib\-Param}!tpcconddata::CalibParam@{tpcconddata\-::\-Calib\-Param}}
\subsubsection[{Calib\-Param}]{\setlength{\rightskip}{0pt plus 5cm}tpcconddata\-::\-Calib\-Param\-::\-Calib\-Param (
\begin{DoxyParamCaption}
\item[{int}]{chip, }
\item[{int}]{param, }
\item[{float}]{c\-P}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1CalibParam_a5ad9272134d8ed1ec4033a1c15b7fe61}


Convenient constructor using two integers and a float for calibration parameters. 

The object holds the calibration parameters, default is 8 per chip.

With the chip\-I\-D (chip), the parameter index (param), and the calibration parameter (c\-P) 

\subsection{Member Function Documentation}
\index{tpcconddata\-::\-Calib\-Param@{tpcconddata\-::\-Calib\-Param}!get\-Chip@{get\-Chip}}
\index{get\-Chip@{get\-Chip}!tpcconddata::CalibParam@{tpcconddata\-::\-Calib\-Param}}
\subsubsection[{get\-Chip}]{\setlength{\rightskip}{0pt plus 5cm}int tpcconddata\-::\-Calib\-Param\-::get\-Chip (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classtpcconddata_1_1CalibParam_a66c6ad3d6b9dfa08197a2cd3dd5c5d8f}

\begin{DoxyItemize}
\item get chip\-I\-D 
\end{DoxyItemize}\index{tpcconddata\-::\-Calib\-Param@{tpcconddata\-::\-Calib\-Param}!get\-C\-P@{get\-C\-P}}
\index{get\-C\-P@{get\-C\-P}!tpcconddata::CalibParam@{tpcconddata\-::\-Calib\-Param}}
\subsubsection[{get\-C\-P}]{\setlength{\rightskip}{0pt plus 5cm}float tpcconddata\-::\-Calib\-Param\-::get\-C\-P (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classtpcconddata_1_1CalibParam_ac4e06ebb7b68a293bc690f3cd0fecdd4}

\begin{DoxyItemize}
\item get calibration parameter 
\end{DoxyItemize}\index{tpcconddata\-::\-Calib\-Param@{tpcconddata\-::\-Calib\-Param}!get\-Param@{get\-Param}}
\index{get\-Param@{get\-Param}!tpcconddata::CalibParam@{tpcconddata\-::\-Calib\-Param}}
\subsubsection[{get\-Param}]{\setlength{\rightskip}{0pt plus 5cm}int tpcconddata\-::\-Calib\-Param\-::get\-Param (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classtpcconddata_1_1CalibParam_a262259bccbef0520cbd99a7fa19b9d6b}

\begin{DoxyItemize}
\item get parameter index 
\end{DoxyItemize}

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Time\-Pix\-Calib\-Param.\-h\item 
Time\-Pix\-Calib\-Param.\-cc\end{DoxyCompactItemize}
