\section{A\-I\-D\-A\-:\-:I\-Cloud1\-D Class Reference}
\label{classAIDA_1_1ICloud1D}\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}


User level interface to a 1\-D Cloud.  




{\ttfamily \#include $<$I\-Cloud1\-D.\-h$>$}

Inheritance diagram for A\-I\-D\-A\-:\-:I\-Cloud1\-D\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{classAIDA_1_1ICloud1D}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-I\-Cloud1\-D} ()\label{classAIDA_1_1ICloud1D_ad35aee01b12e1d1d51d33dc41e227a84}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual bool {\bf fill} (double x, double {\bf weight}=1.)=0
\begin{DoxyCompactList}\small\item\em Fill the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} with a value and a corresponding weight. \end{DoxyCompactList}\item 
virtual double {\bf lower\-Edge} () const =0
\begin{DoxyCompactList}\small\item\em Get the lower edge of the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D}. \end{DoxyCompactList}\item 
virtual double {\bf upper\-Edge} () const =0
\begin{DoxyCompactList}\small\item\em Get the upper edge of the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D}. \end{DoxyCompactList}\item 
virtual double {\bf value} (int index) const =0
\begin{DoxyCompactList}\small\item\em Get the value corresponding to a given entry. \end{DoxyCompactList}\item 
virtual double {\bf weight} (int index) const =0
\begin{DoxyCompactList}\small\item\em Get the weight corresponding to a given entry. \end{DoxyCompactList}\item 
virtual double {\bf mean} () const =0
\begin{DoxyCompactList}\small\item\em Get the mean of the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D}. \end{DoxyCompactList}\item 
virtual double {\bf rms} () const =0
\begin{DoxyCompactList}\small\item\em Get the R\-M\-S of the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D}. \end{DoxyCompactList}\item 
virtual bool {\bf convert} (int n\-Bins, double {\bf lower\-Edge}, double {\bf upper\-Edge})=0
\begin{DoxyCompactList}\small\item\em Convert internally the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} to an \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D} with given number of bins, upper edge and lower edge. \end{DoxyCompactList}\item 
virtual const {\bf I\-Histogram1\-D} \& {\bf histogram} () const =0
\begin{DoxyCompactList}\small\item\em Convert internally the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} to an \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D} with given bin edges. \end{DoxyCompactList}\item 
virtual bool {\bf fill\-Histogram} ({\bf I\-Histogram1\-D} \&hist) const =0
\begin{DoxyCompactList}\small\item\em Project the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} on an \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
User level interface to a 1\-D Cloud. 

\begin{DoxyAuthor}{Author}
The \doxyref{A\-I\-D\-A}{p.}{namespaceAIDA} team ({\tt http\-://aida.\-freehep.\-org/}) 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!convert@{convert}}
\index{convert@{convert}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{convert}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool A\-I\-D\-A\-::\-I\-Cloud1\-D\-::convert (
\begin{DoxyParamCaption}
\item[{int}]{n\-Bins, }
\item[{double}]{lower\-Edge, }
\item[{double}]{upper\-Edge}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_a3c4b811efca43752fd02663bdccf6f93}


Convert internally the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} to an \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D} with given number of bins, upper edge and lower edge. 


\begin{DoxyParams}{Parameters}
{\em n\-Bins} & The number of bins. \\
\hline
{\em lower\-Edge} & The lower edge. \\
\hline
{\em upper\-Edge} & The upper edge. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
false If the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} has already been converted. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_aafa3e028b8122a777e68687f43631e97}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!fill@{fill}}
\index{fill@{fill}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{fill}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool A\-I\-D\-A\-::\-I\-Cloud1\-D\-::fill (
\begin{DoxyParamCaption}
\item[{double}]{x, }
\item[{double}]{weight = {\ttfamily 1.}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_accd9a7e9072787efef199482de2e5c50}


Fill the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} with a value and a corresponding weight. 


\begin{DoxyParams}{Parameters}
{\em x} & The value. \\
\hline
{\em weight} & The corresponding weight. By default it is 1. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
false If the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} is full, if the weight's value is is not between 0 and 1. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_abc09c6e40ebdde821442e67915c9ebd0}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!fill\-Histogram@{fill\-Histogram}}
\index{fill\-Histogram@{fill\-Histogram}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{fill\-Histogram}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool A\-I\-D\-A\-::\-I\-Cloud1\-D\-::fill\-Histogram (
\begin{DoxyParamCaption}
\item[{{\bf I\-Histogram1\-D} \&}]{hist}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_abd0282da9af39b2527225a2e937103b9}


Project the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} on an \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. 


\begin{DoxyParams}{Parameters}
{\em hist} & The \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D} to be filled. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
false If the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} is already converted. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_ad526b5144a0aad01283880915c5be6aa}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!histogram@{histogram}}
\index{histogram@{histogram}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{histogram}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf I\-Histogram1\-D}\& A\-I\-D\-A\-::\-I\-Cloud1\-D\-::histogram (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_a465c9b87bd6dd6fbcd78c72a3e9dfe75}


Convert internally the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} to an \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D} with given bin edges. 


\begin{DoxyParams}{Parameters}
{\em bin\-Edges} & The bins edges. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
false If the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} has already been converted.\-virtual bool convert(const std\-::vector$<$double$>$  \& bin\-Edges) = 0; Get the internal \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D} in which the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} converted to. 

The histogram. or because of a \doxyref{convert()}{p.}{classAIDA_1_1ICloud1D_a3c4b811efca43752fd02663bdccf6f93} method invocation. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_a5e4e984d12875d987a59c09098de54e9}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!lower\-Edge@{lower\-Edge}}
\index{lower\-Edge@{lower\-Edge}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{lower\-Edge}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Cloud1\-D\-::lower\-Edge (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_afacf4d17a26c68ff81456b5b4c879ec9}


Get the lower edge of the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D}. 

\begin{DoxyReturn}{Returns}
The lower edge. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_a858cd7a8f66181ab9f9ed5379b33dd24}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!mean@{mean}}
\index{mean@{mean}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{mean}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Cloud1\-D\-::mean (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_aed60cb9c98a413baaf9c80d756b61f08}


Get the mean of the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D}. 

\begin{DoxyReturn}{Returns}
The mean. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_a8247d4485656bd29577ef80d77a18d8d}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!rms@{rms}}
\index{rms@{rms}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{rms}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Cloud1\-D\-::rms (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_a60d5ef6ee2448963f7344a9f20973719}


Get the R\-M\-S of the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D}. 

\begin{DoxyReturn}{Returns}
The R\-M\-S. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_a37d38d36097e3822f80ea63de5f5e310}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!upper\-Edge@{upper\-Edge}}
\index{upper\-Edge@{upper\-Edge}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{upper\-Edge}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Cloud1\-D\-::upper\-Edge (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_a6488bc8d88e51327c6f601a9b3f97f1b}


Get the upper edge of the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D}. 

\begin{DoxyReturn}{Returns}
The upper edge. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_aba70bdde84e48ab97c04f659b602cdf6}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!value@{value}}
\index{value@{value}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Cloud1\-D\-::value (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_a43174212ed3d4539eeeb3497dded569e}


Get the value corresponding to a given entry. 


\begin{DoxyParams}{Parameters}
{\em index} & The entry's index. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The value of the index-\/th entry. If the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} has already been converted, 0 is returned. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_a3c821f17d7d5bb1173f12bf496a88e3e}.

\index{A\-I\-D\-A\-::\-I\-Cloud1\-D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}!weight@{weight}}
\index{weight@{weight}!AIDA::ICloud1D@{A\-I\-D\-A\-::\-I\-Cloud1\-D}}
\subsubsection[{weight}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Cloud1\-D\-::weight (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1ICloud1D_a0a87cd81f7496228f954e54b5efd6607}


Get the weight corresponding to a given entry. 


\begin{DoxyParams}{Parameters}
{\em index} & The entry's index. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The weight of the index-\/th entry. If the \doxyref{I\-Cloud1\-D}{p.}{classAIDA_1_1ICloud1D} has already been converted, 0 is returned. 
\end{DoxyReturn}


Implemented in {\bf A\-I\-D\-A\-::\-I\-Cloud1\-D\-R\-O\-O\-T} \doxyref{}{p.}{classAIDA_1_1ICloud1DROOT_a772d84460de2156c3536c76d0b3bc3b3}.



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