\section{tpcconddata\-:\-:A\-D\-C\-Channel\-Mapping Class Reference}
\label{classtpcconddata_1_1ADCChannelMapping}\index{tpcconddata\-::\-A\-D\-C\-Channel\-Mapping@{tpcconddata\-::\-A\-D\-C\-Channel\-Mapping}}


class to store the mapping pad (position) to the channel I\-D (electronic) also the type of the used electronic can be stored.  




{\ttfamily \#include $<$A\-D\-C\-Channel\-Mapping.\-h$>$}

Inheritance diagram for tpcconddata\-:\-:A\-D\-C\-Channel\-Mapping\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classtpcconddata_1_1ADCChannelMapping}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf A\-D\-C\-Channel\-Mapping} (int channel\-I\-D, int pad\-Index, int type=-\/1, int module\-I\-D=0, int readout\-Group=0)
\begin{DoxyCompactList}\small\item\em The constructor with all the member functions given. \end{DoxyCompactList}\item 
{\bf A\-D\-C\-Channel\-Mapping} (E\-V\-E\-N\-T\-::\-L\-C\-Object $\ast$obj)\label{classtpcconddata_1_1ADCChannelMapping_ae0035026def9444f9eede501c237a041}

\begin{DoxyCompactList}\small\item\em The constructor to be used with L\-C\-Objects from a collection. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-A\-D\-C\-Channel\-Mapping} ()\label{classtpcconddata_1_1ADCChannelMapping_a8048dd431c9bbea33aee5dbfde901022}

\begin{DoxyCompactList}\small\item\em The desctructor. \end{DoxyCompactList}\item 
int {\bfseries get\-Channel\-I\-D} () const \label{classtpcconddata_1_1ADCChannelMapping_ab5d3adb1ef7d8d8ffb9d81c4a4d55062}

\item 
int {\bfseries get\-Pad\-I\-D} () const \label{classtpcconddata_1_1ADCChannelMapping_ac8cc900cdb0359bbb3fc123dc400ef61}

\item 
int {\bfseries get\-Type} () const \label{classtpcconddata_1_1ADCChannelMapping_a7e382e7d549ecc35b2ec066721c3f7d0}

\item 
int {\bfseries get\-Module\-I\-D} () const \label{classtpcconddata_1_1ADCChannelMapping_a66cf2b86e71c098b17d2e3241ae34381}

\item 
int {\bfseries get\-Readout\-Group} () const \label{classtpcconddata_1_1ADCChannelMapping_a956f95ce716c53f3f194a5fbf00ccc97}

\item 
I\-M\-P\-L\-::\-L\-C\-Generic\-Object\-Impl $\ast$ {\bfseries obj} () const \label{classtpcconddata_1_1ADCChannelMapping_aec6b41159ffee8a7cf2c5ad3d4f4a297}

\item 
virtual int {\bfseries id} () const \label{classtpcconddata_1_1ADCChannelMapping_a72302fd6a398a4120a1f2ad91a492c6d}

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

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

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

\item 
virtual int {\bfseries get\-N\-Int} () const \label{classtpcconddata_1_1ADCChannelMapping_a90fa8290ce917a46ec29dd3098f87f4b}

\item 
virtual int {\bfseries get\-N\-Float} () const \label{classtpcconddata_1_1ADCChannelMapping_a8b7fc43dec1b748a58f24df40d9e53a7}

\item 
virtual int {\bfseries get\-N\-Double} () const \label{classtpcconddata_1_1ADCChannelMapping_a0c32d012985a558df1d52389b54eabd7}

\item 
virtual int {\bfseries get\-Int\-Val} (int i) const \label{classtpcconddata_1_1ADCChannelMapping_ad58b2b09e60a7146253cd4bd849bc253}

\item 
virtual float {\bfseries get\-Float\-Val} (int i) const \label{classtpcconddata_1_1ADCChannelMapping_ad33acad82a8ac72b3a1d2dc0a3cf8c7a}

\item 
virtual double {\bfseries get\-Double\-Val} (int i) const \label{classtpcconddata_1_1ADCChannelMapping_acc673e9d1f699589ce3bcf2106579ef6}

\item 
virtual bool {\bfseries is\-Fixed\-Size} () const \label{classtpcconddata_1_1ADCChannelMapping_a566e122fcd8cb2bd77d4a5c04b947733}

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

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

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
bool {\bfseries \-\_\-create\-Obj}\label{classtpcconddata_1_1ADCChannelMapping_ac824c43e34d5d3ade33edfd272255702}

\item 
I\-M\-P\-L\-::\-L\-C\-Generic\-Object\-Impl $\ast$ {\bfseries \-\_\-my\-Obj}\label{classtpcconddata_1_1ADCChannelMapping_a2afe48ef3148087e568a55d2f6b214a0}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
class to store the mapping pad (position) to the channel I\-D (electronic) also the type of the used electronic can be stored. 

The class is also able to handle the module I\-D. It is fully backward compatible to the version without module I\-D, although the implementation has changed from L\-C\-Fixed\-Object to L\-C\-Generig\-Object to provide the required felixibility.

Like the L\-C\-Fixed\-Object this thing contains an L\-C\-Generic\-Object, but is not derrived from it.


\begin{DoxyParams}{Parameters}
{\em channel\-I\-D} & Hardware channel number \\
\hline
{\em pad\-I\-D} & The G\-E\-A\-R pad index \\
\hline
{\em type} & The type of readout electronics, optional, default -\/1 \\
\hline
{\em module\-I\-D} & The G\-E\-A\-R module I\-D, optional, default 0 \\
\hline
{\em readout\-Group} & The hardware readout group number. Used if there are several readout units which all provide the same range of channel numbers (altro R\-C\-Us for instance), optional, default 0 \\
\hline
\end{DoxyParams}


\subsection{Constructor \& Destructor Documentation}
\index{tpcconddata\-::\-A\-D\-C\-Channel\-Mapping@{tpcconddata\-::\-A\-D\-C\-Channel\-Mapping}!A\-D\-C\-Channel\-Mapping@{A\-D\-C\-Channel\-Mapping}}
\index{A\-D\-C\-Channel\-Mapping@{A\-D\-C\-Channel\-Mapping}!tpcconddata::ADCChannelMapping@{tpcconddata\-::\-A\-D\-C\-Channel\-Mapping}}
\subsubsection[{A\-D\-C\-Channel\-Mapping}]{\setlength{\rightskip}{0pt plus 5cm}tpcconddata\-::\-A\-D\-C\-Channel\-Mapping\-::\-A\-D\-C\-Channel\-Mapping (
\begin{DoxyParamCaption}
\item[{int}]{channel\-I\-D, }
\item[{int}]{pad\-Index, }
\item[{int}]{type = {\ttfamily -\/1}, }
\item[{int}]{module\-I\-D = {\ttfamily 0}, }
\item[{int}]{readout\-Group = {\ttfamily 0}}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1ADCChannelMapping_a093958c7b7a3d99dc63cf6a104df7700}


The constructor with all the member functions given. 

Use this to create on object on the heap. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
A\-D\-C\-Channel\-Mapping.\-h\item 
A\-D\-C\-Channel\-Mapping.\-cc\end{DoxyCompactItemize}
