\section{Calibration\-Constant Class Reference}
\label{classCalibrationConstant}\index{Calibration\-Constant@{Calibration\-Constant}}


Example for a simple calibration class based on the L\-C\-Fixed\-Object template.  




{\ttfamily \#include $<$/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/lcio/\-H\-E\-A\-D/src/cpp/src/\-E\-X\-A\-M\-P\-L\-E/\-Calibration\-Constant.\-h$>$}

Inheritance diagram for Calibration\-Constant\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classCalibrationConstant}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Calibration\-Constant} (int cell\-I\-D, float offset, float gain)\label{classCalibrationConstant_ab93e5a0eb8aabb6f42b30a11ecef9335}

\begin{DoxyCompactList}\small\item\em Convenient c'tor. \end{DoxyCompactList}\item 
{\bf Calibration\-Constant} ({\bf L\-C\-Object} $\ast$obj)\label{classCalibrationConstant_a947a05d256f0a0cc429b4f5933076353}

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

\begin{DoxyCompactList}\small\item\em Important for memory handling. \end{DoxyCompactList}\item 
int {\bfseries get\-Cell\-I\-D} ()\label{classCalibrationConstant_a605d0f437a590be49bf4492e2d2bef62}

\item 
float {\bfseries get\-Offset} ()\label{classCalibrationConstant_a8639aefb3b1177c5c3d934715b5b7dab}

\item 
float {\bfseries get\-Gain} ()\label{classCalibrationConstant_a1cd05d8ecf8e97f496fe128fbc24c929}

\item 
void {\bfseries print} (std\-::ostream \&os)\label{classCalibrationConstant_a3c79c1e52094a83dd9c85c990950eb91}

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

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

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Example for a simple calibration class based on the L\-C\-Fixed\-Object template. 

L\-C\-Fixed\-Object uses an instance of L\-C\-Generic\-Object\-Impl that holds the data, thus there is no overhead when the data is read from a database or file for copying it to some local structure (Decorator pattern).\par
 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Calibration\-Constant.\-h\end{DoxyCompactItemize}
