\section{tpcconddata\-:\-:Extended\-Altro\-Parameters Class Reference}
\label{classtpcconddata_1_1ExtendedAltroParameters}\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
Inheritance diagram for tpcconddata\-:\-:Extended\-Altro\-Parameters\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.530055cm]{classtpcconddata_1_1ExtendedAltroParameters}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct {\bf Extended\-Altro\-Data}
\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum {\bf Gain\-Settings} \{ {\bfseries M\-V12} = 0, 
{\bfseries M\-V15} = 1, 
{\bfseries M\-V19} = 2, 
{\bfseries M\-V27} = 3
 \}
\begin{DoxyCompactList}\small\item\em Enumerator to store the available settings of the gain and match them with an human readable name. \end{DoxyCompactList}\item 
enum {\bf Shaping\-Settings} \{ {\bfseries N\-S30} = 7, 
{\bfseries N\-S60} = 3, 
{\bfseries N\-S90} = 1, 
{\bfseries N\-S120} = 0
 \}
\begin{DoxyCompactList}\small\item\em Enumerator to store the available settings of the Shaping Time and match them with an human readable name. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Extended\-Altro\-Parameters} ({\bf Extended\-Altro\-Data} \&Data)\label{classtpcconddata_1_1ExtendedAltroParameters_a75f6817bc93573207d661292d72a0489}

\begin{DoxyCompactList}\small\item\em Convenient constructor to set all the data using the \doxyref{Extended\-Altro\-Data}{p.}{structtpcconddata_1_1ExtendedAltroParameters_1_1ExtendedAltroData} structure to collect the data. \end{DoxyCompactList}\item 
{\bf Extended\-Altro\-Parameters} (E\-V\-E\-N\-T\-::\-L\-C\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Database copy constructor. \end{DoxyCompactList}\item 
{\bf $\sim$\-Extended\-Altro\-Parameters} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void {\bf Set\-Data} ({\bf Extended\-Altro\-Data} \&Data)
\begin{DoxyCompactList}\small\item\em Sets all the data at the same time. \end{DoxyCompactList}\item 
{\bf Extended\-Altro\-Data} {\bf Get\-Data} () const 
\begin{DoxyCompactList}\small\item\em Retrieves all the data in a single structure. \end{DoxyCompactList}\item 
void {\bf Set\-Preamp\-Enable} (bool \&Enable)
\begin{DoxyCompactList}\small\item\em Single element setters. \end{DoxyCompactList}\item 
void {\bfseries Set\-Gain\-Settings} ({\bf Gain\-Settings} \&Gain)\label{classtpcconddata_1_1ExtendedAltroParameters_ad5265a2e048b523a8316478ee698056b}

\item 
void {\bfseries Set\-Shaping\-Time} ({\bf Shaping\-Settings} \&Shaping\-Time)\label{classtpcconddata_1_1ExtendedAltroParameters_a2f3818e8bdec307e82ab98a7fc51a2e3}

\item 
void {\bfseries Set\-Shutdown} (bool \&Shutdown)\label{classtpcconddata_1_1ExtendedAltroParameters_a9d84d75c96649637f4fc50ebcfac100e}

\item 
void {\bfseries Set\-Z\-S\-Threshold} (int \&Threshold)\label{classtpcconddata_1_1ExtendedAltroParameters_afe1b700e501e3c7f7a9ac3f8bd89c7bf}

\item 
void {\bfseries Set\-Z\-S\-Glitch\-Filter} (int \&Min\-Samples)\label{classtpcconddata_1_1ExtendedAltroParameters_a481d192fd49339033cf0e9fcb3982738}

\item 
void {\bfseries Set\-Pre\-Samples} (int \&Pre\-Samples)\label{classtpcconddata_1_1ExtendedAltroParameters_a8e3a0df72b679e3d42b9b47f845e2f57}

\item 
void {\bfseries Set\-Post\-Samples} (int \&Post\-Samples)\label{classtpcconddata_1_1ExtendedAltroParameters_a39e4ff3a65386c869ecd475110aeed78}

\item 
void {\bfseries Set\-Pre\-Trigger\-Samples} (int \&Pre\-Trigger\-Samples)\label{classtpcconddata_1_1ExtendedAltroParameters_a43f95b5a8d11aa2dc1cb62ad9438b3f0}

\item 
void {\bfseries Set\-R\-C\-U\-Address} (int \&R\-C\-U\-Address)\label{classtpcconddata_1_1ExtendedAltroParameters_ab79b5bfac8d359c3d6d48f4f1a3047c3}

\item 
void {\bfseries Set\-R\-C\-U\-F\-W\-Version} (int \&R\-C\-U\-F\-W\-Version)\label{classtpcconddata_1_1ExtendedAltroParameters_a9519eeb37aa4f3e04a4b1cba84f4b707}

\item 
void {\bfseries Set\-R\-C\-U\-Active\-F\-E\-C\-A} (int \&R\-C\-U\-Active\-F\-E\-C\-A)\label{classtpcconddata_1_1ExtendedAltroParameters_a7533e7f18d2dc22136cd362f16f12ff3}

\item 
void {\bfseries Set\-R\-C\-U\-Active\-F\-E\-C\-B} (int \&R\-C\-U\-Active\-F\-E\-C\-B)\label{classtpcconddata_1_1ExtendedAltroParameters_a15bf15517df490affbb61b6671b76310}

\item 
void {\bfseries Set\-R\-C\-U\-Config\-Register1} (int \&R\-C\-U\-Config\-Register1)\label{classtpcconddata_1_1ExtendedAltroParameters_a607a80b470ef6ef4a2b722219a41d4cf}

\item 
void {\bfseries Set\-R\-C\-U\-Config\-Register2} (int \&R\-C\-U\-Config\-Register2)\label{classtpcconddata_1_1ExtendedAltroParameters_a9ced11dacc6b6ab80b4f69910c78a91f}

\item 
void {\bfseries Set\-R\-C\-U\-Status\-Errors} (int \&R\-C\-U\-Status\-Errors)\label{classtpcconddata_1_1ExtendedAltroParameters_ad0bc00d89c36b86fb97a51cc2e9b7a9e}

\item 
bool {\bf Get\-Preamp\-Enable} () const 
\begin{DoxyCompactList}\small\item\em Single element Getters. \end{DoxyCompactList}\item 
{\bf Gain\-Settings} {\bfseries Get\-Gain\-Settings} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a9ba36c09304e0563a915a106b8b6b67b}

\item 
{\bf Shaping\-Settings} {\bfseries Get\-Shaping\-Time} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a788d8541f0d5af7143b9d55c97538626}

\item 
bool {\bfseries Get\-Shutdown} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a13a2cb6d2c406ee50a4715fae11fe948}

\item 
int {\bfseries Get\-Z\-S\-Threshold} () const \label{classtpcconddata_1_1ExtendedAltroParameters_af4c3852d4057a8443fdde3eb6b14b412}

\item 
int {\bfseries Get\-Z\-S\-Glitch\-Filter} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a63d88be9508698f33ad193daaf10da5b}

\item 
int {\bfseries Get\-Pre\-Samples} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a1f13d2f6a989ca9542d874e4f025908b}

\item 
int {\bfseries Get\-Post\-Samples} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a94bab00e913ce4d96d825e430d461038}

\item 
int {\bfseries Get\-Pre\-Trigger\-Samples} () const \label{classtpcconddata_1_1ExtendedAltroParameters_afc53a62b0c390dd66df06bab7105caad}

\item 
int {\bfseries Get\-R\-C\-U\-Address} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a1e774b417a1a63d870da1535da202d29}

\item 
int {\bfseries Get\-R\-C\-U\-F\-W\-Version} () const \label{classtpcconddata_1_1ExtendedAltroParameters_af3a3a409d89bdbd246b38236bf7013ef}

\item 
int {\bfseries Get\-R\-C\-U\-Active\-F\-E\-C\-A} () const \label{classtpcconddata_1_1ExtendedAltroParameters_ae7856b5c427e15c393fc913d3bda47f0}

\item 
int {\bfseries Get\-R\-C\-U\-Active\-F\-E\-C\-B} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a904be1f48891b9e0f9287569ccfb656b}

\item 
int {\bfseries Get\-R\-C\-U\-Config\-Register1} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a6a45b39159d201530e546704c1f714d1}

\item 
int {\bfseries Get\-R\-C\-U\-Config\-Register2} () const \label{classtpcconddata_1_1ExtendedAltroParameters_aae1756d54abf739841e2d820bbb33a0c}

\item 
int {\bfseries Get\-R\-C\-U\-Status\-Errors} () const \label{classtpcconddata_1_1ExtendedAltroParameters_a0821a3c9c6b38cea4650b7ba4105c083}

\item 
void {\bf print} (std\-::ostream \&os=std\-::cout) const 
\begin{DoxyCompactList}\small\item\em Prints a summary of the data. \end{DoxyCompactList}\item 
const std\-::string {\bf get\-Type\-Name} () const 
\begin{DoxyCompactList}\small\item\em Defines the type name used for the Condition Database. \end{DoxyCompactList}\item 
const std\-::string {\bf get\-Data\-Description} () const 
\begin{DoxyCompactList}\small\item\em Defines the data description in the standard cond\-D\-B format. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static std\-::string {\bf get\-Revision} ()
\begin{DoxyCompactList}\small\item\em Retrieves the version of this condition object. \end{DoxyCompactList}\item 
static std\-::string {\bf get\-Default\-Col\-Name} ()
\begin{DoxyCompactList}\small\item\em Default name for the collection of this type. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!Extended\-Altro\-Parameters@{Extended\-Altro\-Parameters}}
\index{Extended\-Altro\-Parameters@{Extended\-Altro\-Parameters}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{Extended\-Altro\-Parameters}]{\setlength{\rightskip}{0pt plus 5cm}tpcconddata\-::\-Extended\-Altro\-Parameters\-::\-Extended\-Altro\-Parameters (
\begin{DoxyParamCaption}
\item[{E\-V\-E\-N\-T\-::\-L\-C\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1ExtendedAltroParameters_a07743ee68257dc1968c7a839cb0cc5ba}


Database copy constructor. 

Allows the upcasting from the generic L\-C\-Object retrieved from the database to the specific type 
\begin{DoxyParams}{Parameters}
{\em obj} & \\
\hline
\end{DoxyParams}
\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!$\sim$\-Extended\-Altro\-Parameters@{$\sim$\-Extended\-Altro\-Parameters}}
\index{$\sim$\-Extended\-Altro\-Parameters@{$\sim$\-Extended\-Altro\-Parameters}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{$\sim$\-Extended\-Altro\-Parameters}]{\setlength{\rightskip}{0pt plus 5cm}tpcconddata\-::\-Extended\-Altro\-Parameters\-::$\sim$\-Extended\-Altro\-Parameters (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1ExtendedAltroParameters_afe31166a5b0537bee79e8fa9a9e53bfc}


Destructor. 

(Not virtual I don't want this class to be extended) 

\subsection{Member Function Documentation}
\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!Get\-Data@{Get\-Data}}
\index{Get\-Data@{Get\-Data}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{Get\-Data}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Extended\-Altro\-Parameters\-::\-Extended\-Altro\-Data} tpcconddata\-::\-Extended\-Altro\-Parameters\-::\-Get\-Data (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classtpcconddata_1_1ExtendedAltroParameters_a1ae5c1246f66eb1e6fc5573e5ecb46d6}


Retrieves all the data in a single structure. 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


References Get\-Preamp\-Enable().

\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!get\-Data\-Description@{get\-Data\-Description}}
\index{get\-Data\-Description@{get\-Data\-Description}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{get\-Data\-Description}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string tpcconddata\-::\-Extended\-Altro\-Parameters\-::get\-Data\-Description (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const}\label{classtpcconddata_1_1ExtendedAltroParameters_a93230fada6b31cf822df214a695eacbf}


Defines the data description in the standard cond\-D\-B format. 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!get\-Default\-Col\-Name@{get\-Default\-Col\-Name}}
\index{get\-Default\-Col\-Name@{get\-Default\-Col\-Name}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{get\-Default\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string tpcconddata\-::\-Extended\-Altro\-Parameters\-::get\-Default\-Col\-Name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classtpcconddata_1_1ExtendedAltroParameters_a86c1e5dedda3609a0704f0f7783ab3a7}


Default name for the collection of this type. 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!Get\-Preamp\-Enable@{Get\-Preamp\-Enable}}
\index{Get\-Preamp\-Enable@{Get\-Preamp\-Enable}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{Get\-Preamp\-Enable}]{\setlength{\rightskip}{0pt plus 5cm}bool tpcconddata\-::\-Extended\-Altro\-Parameters\-::\-Get\-Preamp\-Enable (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classtpcconddata_1_1ExtendedAltroParameters_af031690aa08ccb79ae5fba1db0ead3c7}


Single element Getters. 

The description of the data is in the general class description 

Referenced by Get\-Data(), tpcconddata\-::operator==(), and print().

\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!get\-Revision@{get\-Revision}}
\index{get\-Revision@{get\-Revision}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{get\-Revision}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string tpcconddata\-::\-Extended\-Altro\-Parameters\-::get\-Revision (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classtpcconddata_1_1ExtendedAltroParameters_a6f0b7299bbd51d3c69f9ebb1c7ab35b5}


Retrieves the version of this condition object. 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!get\-Type\-Name@{get\-Type\-Name}}
\index{get\-Type\-Name@{get\-Type\-Name}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{get\-Type\-Name}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string tpcconddata\-::\-Extended\-Altro\-Parameters\-::get\-Type\-Name (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
) const}\label{classtpcconddata_1_1ExtendedAltroParameters_a1f1bfbe88793107feade2bf20f14edd5}


Defines the type name used for the Condition Database. 

\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!print@{print}}
\index{print@{print}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{print}]{\setlength{\rightskip}{0pt plus 5cm}void tpcconddata\-::\-Extended\-Altro\-Parameters\-::print (
\begin{DoxyParamCaption}
\item[{std\-::ostream \&}]{os = {\ttfamily std\-:\-:cout}}
\end{DoxyParamCaption}
) const}\label{classtpcconddata_1_1ExtendedAltroParameters_a5f53dbc038cee90c29708fc257370aa5}


Prints a summary of the data. 


\begin{DoxyParams}{Parameters}
{\em os} & Output stream where to write the summary \\
\hline
\end{DoxyParams}


References Get\-Preamp\-Enable().



Referenced by tpcconddata\-::operator$<$$<$().

\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!Set\-Data@{Set\-Data}}
\index{Set\-Data@{Set\-Data}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{Set\-Data}]{\setlength{\rightskip}{0pt plus 5cm}void tpcconddata\-::\-Extended\-Altro\-Parameters\-::\-Set\-Data (
\begin{DoxyParamCaption}
\item[{{\bf Extended\-Altro\-Data} \&}]{Data}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1ExtendedAltroParameters_a231ce6ca0e10a04375a99be9c0a2ae3e}


Sets all the data at the same time. 


\begin{DoxyParams}{Parameters}
{\em Data} & \\
\hline
\end{DoxyParams}


References Set\-Preamp\-Enable().



Referenced by Extended\-Altro\-Parameters().

\index{tpcconddata\-::\-Extended\-Altro\-Parameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}!Set\-Preamp\-Enable@{Set\-Preamp\-Enable}}
\index{Set\-Preamp\-Enable@{Set\-Preamp\-Enable}!tpcconddata::ExtendedAltroParameters@{tpcconddata\-::\-Extended\-Altro\-Parameters}}
\subsubsection[{Set\-Preamp\-Enable}]{\setlength{\rightskip}{0pt plus 5cm}void tpcconddata\-::\-Extended\-Altro\-Parameters\-::\-Set\-Preamp\-Enable (
\begin{DoxyParamCaption}
\item[{bool \&}]{Enable}
\end{DoxyParamCaption}
)}\label{classtpcconddata_1_1ExtendedAltroParameters_a88abb672b629e09d7a64733086c92c40}


Single element setters. 

The description of the different data is in the general class description 

Referenced by Set\-Data().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Extended\-Altro\-Parameters.\-h\item 
Extended\-Altro\-Parameters.\-cc\end{DoxyCompactItemize}
