<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{tpcconddata\-:\-:Time\-Pix\-Pixel\-Mode Class Reference}
\label{classtpcconddata_1_1TimePixPixelMode}\index{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode@{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode}}


class to store the mapping of the pixel modes of the Time\-Pix a \doxyref{Time\-Pix\-Pixel\-Mode}{p.}{classtpcconddata_1_1TimePixPixelMode} contains three integers, the Chip\-I\-D, the Pixel\-I\-D and the Pixel\-Mode furthermore it contains a struct called \doxyref{Pixel\-Key}{p.}{structtpcconddata_1_1TimePixPixelMode_1_1PixelKey} of Chip\-I\-D and Pixel\-I\-D as the key for the map  




{\ttfamily \#include $&lt;$Time\-Pix\-Pixel\-Mode.\-h$&gt;$}

Inheritance diagram for tpcconddata\-:\-:Time\-Pix\-Pixel\-Mode\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.611511cm]{classtpcconddata_1_1TimePixPixelMode}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct {\bf Pixel\-Key}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries Time\-Pix\-Pixel\-Mode} (int Chip\-I\-D=0, int Pixel\-I\-D=0, int Pixel\-Mode=0, int Pixel\-Status=0, int Pixel\-Calibration=0)\label{classtpcconddata_1_1TimePixPixelMode_a55cc0704cdbf48f67d6250ee35ae6b66}

\item 
{\bfseries Time\-Pix\-Pixel\-Mode} (E\-V\-E\-N\-T\-::\-L\-C\-Object $\ast$obj)\label{classtpcconddata_1_1TimePixPixelMode_a2fed158ff9da9eaa7fb9ecc43a2e2803}

\item 
int {\bf get\-Chip\-I\-D} ()\label{classtpcconddata_1_1TimePixPixelMode_af567c6a5f59e53b13c6b6d5028031b57}

\begin{DoxyCompactList}\small\item\em Gets the chip\-I\-D of the chip. \end{DoxyCompactList}\item 
int {\bf get\-Pixel\-I\-D} ()\label{classtpcconddata_1_1TimePixPixelMode_a6e62fbbc05537150290bdacf2ff03894}

\begin{DoxyCompactList}\small\item\em Gets the pixel\-I\-D of the pixel count begins with 0. \end{DoxyCompactList}\item 
int {\bf get\-Pixel\-Mode} ()\label{classtpcconddata_1_1TimePixPixelMode_acefd763fb80223624a5b8a40a19fe7e7}

\begin{DoxyCompactList}\small\item\em Gets the mode of the pixel four possibilities\-: M\-E\-D\-I\-P\-I\-X, T\-O\-T, T\-I\-M\-E\-P\-I\-X, O\-N\-E\-H\-I\-T. \end{DoxyCompactList}\item 
int {\bf get\-Pixel\-Status} ()\label{classtpcconddata_1_1TimePixPixelMode_ab68e97526afbd2870d15ed7c48e263a9}

\begin{DoxyCompactList}\small\item\em Gets the status of the pixel three possibilities\-: I\-N\-T\-A\-C\-T (default), N\-O\-I\-S\-Y, D\-E\-A\-D. \end{DoxyCompactList}\item 
int {\bf get\-Pixel\-Status\-Word} ()\label{classtpcconddata_1_1TimePixPixelMode_a05f967f1612df31f6ff3a3598bf04cbb}

\begin{DoxyCompactList}\small\item\em Gets the status word which is a combination of the pixel mode and the pixel status. \end{DoxyCompactList}\item 
int {\bf get\-Pixel\-Calibration} ()\label{classtpcconddata_1_1TimePixPixelMode_a76a69c73a8c28e9c2943b35341f6967b}

\begin{DoxyCompactList}\small\item\em Gets the pixel calibration value to correct clock distribution. \end{DoxyCompactList}\item 
{\bf Pixel\-Key} {\bf get\-Pixel\-Key} ()
\begin{DoxyCompactList}\small\item\em Gets the pixel\-Key of the pixel. \end{DoxyCompactList}\item 
virtual const std\-::string {\bfseries get\-Type\-Name} () const \label{classtpcconddata_1_1TimePixPixelMode_a8ae1997f1e260623e9dff5ba3763aaef}

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

\item 
void {\bf set\-Pixel\-Mode} (int Mode)
\begin{DoxyCompactList}\small\item\em Sets the mode of this pixel. \end{DoxyCompactList}\item 
void {\bf set\-Pixel\-Status} (int Status)
\begin{DoxyCompactList}\small\item\em Sets the status of this pixel. \end{DoxyCompactList}\item 
void {\bf set\-Pixel\-Status\-Word} (int Status\-Word)\label{classtpcconddata_1_1TimePixPixelMode_a1e59a3c743af0884a03236706f6ca77b}

\begin{DoxyCompactList}\small\item\em Sets the status word of a pixel. \end{DoxyCompactList}\item 
void {\bf set\-Pixel\-Calibration} (int Calibration)\label{classtpcconddata_1_1TimePixPixelMode_aa7f2d2185599f46aad0970360975d36d}

\begin{DoxyCompactList}\small\item\em Sets the calibration correction value. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static std\-::string {\bfseries get\-Revision} ()\label{classtpcconddata_1_1TimePixPixelMode_a786a50e96c4e8fb9caf04478b1ef1be5}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const int {\bfseries M\-E\-D\-I\-P\-I\-X} = 0\label{classtpcconddata_1_1TimePixPixelMode_a2caa2fdb9822fd57fbe4334a7fef7ccd}

\item 
static const int {\bfseries T\-O\-T} = 1\label{classtpcconddata_1_1TimePixPixelMode_ad2ed3f19fd7c06ae8bd43c17b84a38b1}

\item 
static const int {\bfseries O\-N\-E\-H\-I\-T} = 2\label{classtpcconddata_1_1TimePixPixelMode_a05f4a9cdbaafccb2b89b41eff0c421f8}

\item 
static const int {\bfseries T\-I\-M\-E\-P\-I\-X} = 3\label{classtpcconddata_1_1TimePixPixelMode_ac03a7fcd906e03c9255cefff83428012}

\item 
static const int {\bfseries I\-N\-T\-A\-C\-T} = 0\label{classtpcconddata_1_1TimePixPixelMode_a0c38b18fbc11c2ce0ee0007cd1a9fd58}

\item 
static const int {\bfseries N\-O\-I\-S\-Y} = 0x10000\label{classtpcconddata_1_1TimePixPixelMode_ac56caff8e81f93237c60cb09d07612cf}

\item 
static const int {\bfseries D\-E\-A\-D} = 0x20000\label{classtpcconddata_1_1TimePixPixelMode_a2333cb92243bf90f268993d69788831d}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bfseries set\-Chip\-I\-D} (int Chip)\label{classtpcconddata_1_1TimePixPixelMode_aadbf8ff4f730e779de3970a7232d392e}

\item 
void {\bfseries set\-Pixel\-I\-D} (int Pixel)\label{classtpcconddata_1_1TimePixPixelMode_a6d032a38e4f5c61b81a38f6dd526dc8c}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
class to store the mapping of the pixel modes of the Time\-Pix a \doxyref{Time\-Pix\-Pixel\-Mode}{p.}{classtpcconddata_1_1TimePixPixelMode} contains three integers, the Chip\-I\-D, the Pixel\-I\-D and the Pixel\-Mode furthermore it contains a struct called \doxyref{Pixel\-Key}{p.}{structtpcconddata_1_1TimePixPixelMode_1_1PixelKey} of Chip\-I\-D and Pixel\-I\-D as the key for the map 

the possible modes are\-: M\-E\-D\-I\-P\-I\-X = 0 T\-O\-T = 1 O\-N\-E\-H\-I\-T = 2 T\-I\-M\-E\-P\-I\-X = 3 

\subsection{Member Function Documentation}
\index{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode@{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode}!get\-Pixel\-Key@{get\-Pixel\-Key}}
\index{get\-Pixel\-Key@{get\-Pixel\-Key}!tpcconddata::TimePixPixelMode@{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode}}
\subsubsection[{get\-Pixel\-Key}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Time\-Pix\-Pixel\-Mode\-::\-Pixel\-Key} tpcconddata\-::\-Time\-Pix\-Pixel\-Mode\-::get\-Pixel\-Key (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1TimePixPixelMode_a62f89f4477fe8128db0a9a614baf7c04}


Gets the pixel\-Key of the pixel. 

The \doxyref{Pixel\-Key}{p.}{structtpcconddata_1_1TimePixPixelMode_1_1PixelKey} consists of the chip\-I\-D and the pixel\-I\-D. 

Referenced by marlintpc\-::\-Time\-Pix\-High\-T\-O\-T\-Analyser\-Processor\-::update\-Time\-Pix\-Mode\-Map().

\index{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode@{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode}!set\-Pixel\-Mode@{set\-Pixel\-Mode}}
\index{set\-Pixel\-Mode@{set\-Pixel\-Mode}!tpcconddata::TimePixPixelMode@{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode}}
\subsubsection[{set\-Pixel\-Mode}]{\setlength{\rightskip}{0pt plus 5cm}void tpcconddata\-::\-Time\-Pix\-Pixel\-Mode\-::set\-Pixel\-Mode (
\begin{DoxyParamCaption}
\item[{int}]{Mode}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1TimePixPixelMode_a827b6e9300ed3f36fb171aa592830507}


Sets the mode of this pixel. 

From the given {\ttfamily int} only the bits describing the mode are taken to replace the mode bits in the status word. This means you can pass the Mode or a complete Status\-Word as argument. \index{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode@{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode}!set\-Pixel\-Status@{set\-Pixel\-Status}}
\index{set\-Pixel\-Status@{set\-Pixel\-Status}!tpcconddata::TimePixPixelMode@{tpcconddata\-::\-Time\-Pix\-Pixel\-Mode}}
\subsubsection[{set\-Pixel\-Status}]{\setlength{\rightskip}{0pt plus 5cm}void tpcconddata\-::\-Time\-Pix\-Pixel\-Mode\-::set\-Pixel\-Status (
\begin{DoxyParamCaption}
\item[{int}]{Status}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1TimePixPixelMode_a7e8c4e7d4ad6c51f135ace9feaf18278}


Sets the status of this pixel. 

From the given {\ttfamily int} only the bits describing the status are taken to replace the status bits in the status word. This means you can pass the Status or a complete Status\-Word as argument. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Time\-Pix\-Pixel\-Mode.\-h\item 
Time\-Pix\-Pixel\-Mode.\-cc\end{DoxyCompactItemize}
</pre></body></html>