\section{A\-I\-D\-A\-:\-:I\-Histogram2\-D Class Reference}
\label{classAIDA_1_1IHistogram2D}\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}


User level interface to 2\-D Histogram.  




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

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

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual bool {\bf fill} (double x, double y, double weight=1.)=0
\begin{DoxyCompactList}\small\item\em Fill the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} with a couple of values and the corresponding weight. \end{DoxyCompactList}\item 
virtual double {\bf bin\-Mean\-X} (int index\-X, int index\-Y) const =0
\begin{DoxyCompactList}\small\item\em The weighted mean along the x axis of a given bin. \end{DoxyCompactList}\item 
virtual double {\bf bin\-Mean\-Y} (int index\-X, int index\-Y) const =0
\begin{DoxyCompactList}\small\item\em The weighted mean along the y axis of a given bin. \end{DoxyCompactList}\item 
virtual int {\bf bin\-Entries} (int index\-X, int index\-Y) const =0
\begin{DoxyCompactList}\small\item\em Number of entries in the corresponding bin (ie the number of times fill was called for this bin). \end{DoxyCompactList}\item 
virtual int {\bf bin\-Entries\-X} (int index) const =0
\begin{DoxyCompactList}\small\item\em Sum of all the entries of the bins along a given x bin. \end{DoxyCompactList}\item 
virtual int {\bf bin\-Entries\-Y} (int index) const =0
\begin{DoxyCompactList}\small\item\em Sum of all the entries of the bins along a given y bin. \end{DoxyCompactList}\item 
virtual double {\bf bin\-Height} (int index\-X, int index\-Y) const =0
\begin{DoxyCompactList}\small\item\em Total height of a give bin (ie the sum of the weights in this bin). \end{DoxyCompactList}\item 
virtual double {\bf bin\-Height\-X} (int index) const =0
\begin{DoxyCompactList}\small\item\em Sum of all the heights of the bins along a given x bin. \end{DoxyCompactList}\item 
virtual double {\bf bin\-Height\-Y} (int index) const =0
\begin{DoxyCompactList}\small\item\em Sum of all the heights of the bins along a given y bin. \end{DoxyCompactList}\item 
virtual double {\bf bin\-Error} (int index\-X, int index\-Y) const =0
\begin{DoxyCompactList}\small\item\em The error of a given bin. \end{DoxyCompactList}\item 
virtual double {\bf mean\-X} () const =0
\begin{DoxyCompactList}\small\item\em The mean of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the x axis. \end{DoxyCompactList}\item 
virtual double {\bf mean\-Y} () const =0
\begin{DoxyCompactList}\small\item\em The mean of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the y axis. \end{DoxyCompactList}\item 
virtual double {\bf rms\-X} () const =0
\begin{DoxyCompactList}\small\item\em The R\-M\-S of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the x axis. \end{DoxyCompactList}\item 
virtual double {\bf rms\-Y} () const =0
\begin{DoxyCompactList}\small\item\em The R\-M\-S of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the y axis. \end{DoxyCompactList}\item 
virtual const {\bf I\-Axis} \& {\bf x\-Axis} () const =0
\begin{DoxyCompactList}\small\item\em Get the x axis of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D}. \end{DoxyCompactList}\item 
virtual const {\bf I\-Axis} \& {\bf y\-Axis} () const =0
\begin{DoxyCompactList}\small\item\em Get the y axis of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D}. \end{DoxyCompactList}\item 
virtual int {\bf coord\-To\-Index\-X} (double coord) const =0
\begin{DoxyCompactList}\small\item\em Get the bin number corresponding to a given coordinate along the x axis. \end{DoxyCompactList}\item 
virtual int {\bf coord\-To\-Index\-Y} (double coord) const =0
\begin{DoxyCompactList}\small\item\em Get the bin number corresponding to a given coordinate along the y axis. \end{DoxyCompactList}\item 
virtual bool {\bf add} (const {\bf I\-Histogram2\-D} \&hist)=0
\begin{DoxyCompactList}\small\item\em Add to this \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} the contents of another \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
User level interface to 2\-D Histogram. 

\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\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!add@{add}}
\index{add@{add}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool A\-I\-D\-A\-::\-I\-Histogram2\-D\-::add (
\begin{DoxyParamCaption}
\item[{const {\bf I\-Histogram2\-D} \&}]{hist}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_aa34a1cd0eab96c6f4b5209fcaa5efdbc}


Add to this \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} the contents of another \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D}. 


\begin{DoxyParams}{Parameters}
{\em hist} & The \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} to be added to this \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
false If the I\-Histogram2\-Ds binnings are incompatible. 
\end{DoxyReturn}


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



Referenced by A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::add().

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Entries@{bin\-Entries}}
\index{bin\-Entries@{bin\-Entries}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Entries}]{\setlength{\rightskip}{0pt plus 5cm}virtual int A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Entries (
\begin{DoxyParamCaption}
\item[{int}]{index\-X, }
\item[{int}]{index\-Y}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a9bfbaa1505961b04dd4e5bccb2b6f019}


Number of entries in the corresponding bin (ie the number of times fill was called for this bin). 


\begin{DoxyParams}{Parameters}
{\em index\-X} & The x bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
{\em index\-Y} & The y bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of entries in the corresponding bin. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Entries\-X@{bin\-Entries\-X}}
\index{bin\-Entries\-X@{bin\-Entries\-X}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Entries\-X}]{\setlength{\rightskip}{0pt plus 5cm}virtual int A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Entries\-X (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a51e2f4309f09acb81c6a539e157145f8}


Sum of all the entries of the bins along a given x bin. 

This is equivalent to {\ttfamily projection\-X().bin\-Entries(index)}. 
\begin{DoxyParams}{Parameters}
{\em index} & The x bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of entries in the corresponding set of bins. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Entries\-Y@{bin\-Entries\-Y}}
\index{bin\-Entries\-Y@{bin\-Entries\-Y}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Entries\-Y}]{\setlength{\rightskip}{0pt plus 5cm}virtual int A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Entries\-Y (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_ac71c23bb4bcc15b9e7ba4f75373cb769}


Sum of all the entries of the bins along a given y bin. 

This is equivalent to {\ttfamily projection\-Y().bin\-Entries(index)}. 
\begin{DoxyParams}{Parameters}
{\em index} & The y bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of entries in the corresponding set of bins. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Error@{bin\-Error}}
\index{bin\-Error@{bin\-Error}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Error}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Error (
\begin{DoxyParamCaption}
\item[{int}]{index\-X, }
\item[{int}]{index\-Y}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_ab24153df4e31850a375e5eb5b5457775}


The error of a given bin. 


\begin{DoxyParams}{Parameters}
{\em index\-X} & The x bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
{\em index\-Y} & The y bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The error on the corresponding bin. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Height@{bin\-Height}}
\index{bin\-Height@{bin\-Height}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Height}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Height (
\begin{DoxyParamCaption}
\item[{int}]{index\-X, }
\item[{int}]{index\-Y}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a0d9bffca117b7c2941cd9597d9981748}


Total height of a give bin (ie the sum of the weights in this bin). 


\begin{DoxyParams}{Parameters}
{\em index\-X} & The x bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
{\em index\-Y} & The y bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The height of the corresponding bin. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Height\-X@{bin\-Height\-X}}
\index{bin\-Height\-X@{bin\-Height\-X}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Height\-X}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Height\-X (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a58acfee9372fe8ed1afbc140a7aa7273}


Sum of all the heights of the bins along a given x bin. 

This is equivalent to {\ttfamily projection\-X().bin\-Height(index)}. 
\begin{DoxyParams}{Parameters}
{\em index} & The x bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The sum of the heights in the corresponding set of bins. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Height\-Y@{bin\-Height\-Y}}
\index{bin\-Height\-Y@{bin\-Height\-Y}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Height\-Y}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Height\-Y (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a22d8e2d8b69db7c0bed7a06c1873ddfb}


Sum of all the heights of the bins along a given y bin. 

This is equivalent to {\ttfamily projection\-Y().bin\-Height(index)}. 
\begin{DoxyParams}{Parameters}
{\em index} & The y bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The sum of the heights in the corresponding set of bins. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Mean\-X@{bin\-Mean\-X}}
\index{bin\-Mean\-X@{bin\-Mean\-X}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Mean\-X}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Mean\-X (
\begin{DoxyParamCaption}
\item[{int}]{index\-X, }
\item[{int}]{index\-Y}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_aa70ce1239dcbeedaac5f1e9fcb0f8a82}


The weighted mean along the x axis of a given bin. 


\begin{DoxyParams}{Parameters}
{\em index\-X} & The x bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
{\em index\-Y} & The y bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The mean of the corresponding bin along the x axis. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!bin\-Mean\-Y@{bin\-Mean\-Y}}
\index{bin\-Mean\-Y@{bin\-Mean\-Y}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{bin\-Mean\-Y}]{\setlength{\rightskip}{0pt plus 5cm}virtual double A\-I\-D\-A\-::\-I\-Histogram2\-D\-::bin\-Mean\-Y (
\begin{DoxyParamCaption}
\item[{int}]{index\-X, }
\item[{int}]{index\-Y}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a3b02553a178c407853bcd0b6e85571bb}


The weighted mean along the y axis of a given bin. 


\begin{DoxyParams}{Parameters}
{\em index\-X} & The x bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
{\em index\-Y} & The y bin number (0...N-\/1) or O\-V\-E\-R\-F\-L\-O\-W or U\-N\-D\-E\-R\-F\-L\-O\-W. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The mean of the corresponding bin along the y axis. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!coord\-To\-Index\-X@{coord\-To\-Index\-X}}
\index{coord\-To\-Index\-X@{coord\-To\-Index\-X}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{coord\-To\-Index\-X}]{\setlength{\rightskip}{0pt plus 5cm}virtual int A\-I\-D\-A\-::\-I\-Histogram2\-D\-::coord\-To\-Index\-X (
\begin{DoxyParamCaption}
\item[{double}]{coord}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a65863afd5439f9c2ca36cf79f1d58f9d}


Get the bin number corresponding to a given coordinate along the x axis. 

This is a convenience method, equivalent to {\ttfamily \doxyref{x\-Axis()}{p.}{classAIDA_1_1IHistogram2D_aad0ecb80103f8a559c5060b54edde4f3}.coord\-To\-Index(coord)}. \begin{DoxySeeAlso}{See Also}
I\-Axis\-::coord\-To\-Index(double) 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em coord} & The coordinalte along the x axis. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The corresponding bin number. 
\end{DoxyReturn}


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

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!coord\-To\-Index\-Y@{coord\-To\-Index\-Y}}
\index{coord\-To\-Index\-Y@{coord\-To\-Index\-Y}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{coord\-To\-Index\-Y}]{\setlength{\rightskip}{0pt plus 5cm}virtual int A\-I\-D\-A\-::\-I\-Histogram2\-D\-::coord\-To\-Index\-Y (
\begin{DoxyParamCaption}
\item[{double}]{coord}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a704d4e71f5ba21bc853da6d7a7cf82be}


Get the bin number corresponding to a given coordinate along the y axis. 

This is a convenience method, equivalent to {\ttfamily \doxyref{y\-Axis()}{p.}{classAIDA_1_1IHistogram2D_a454c1d9cc34ed2ab0eff2958b77672df}.coord\-To\-Index(coord)}. \begin{DoxySeeAlso}{See Also}
I\-Axis\-::coord\-To\-Index(double) 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em coord} & The coordinalte along the y axis. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The corresponding bin number. 
\end{DoxyReturn}


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

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


Fill the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} with a couple of values and the corresponding weight. 


\begin{DoxyParams}{Parameters}
{\em x} & The x value to be filled in. \\
\hline
{\em y} & The y value to be filled in. \\
\hline
{\em weight} & The corresponding weight (by default 1). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
false If the weight is $<$0 or $>$1 (?). 
\end{DoxyReturn}


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



Referenced by A\-I\-D\-A\-::\-I\-Cloud2\-D\-R\-O\-O\-T\-::fill(), and A\-I\-D\-A\-::\-I\-Cloud2\-D\-R\-O\-O\-T\-::fill\-Histogram().

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


The mean of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the x axis. 

\begin{DoxyReturn}{Returns}
The mean of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the x axis. 
\end{DoxyReturn}


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



Referenced by A\-I\-D\-A\-::\-I\-Cloud2\-D\-R\-O\-O\-T\-::mean\-X().

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


The mean of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the y axis. 

\begin{DoxyReturn}{Returns}
The mean of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the y axis. 
\end{DoxyReturn}


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



Referenced by A\-I\-D\-A\-::\-I\-Cloud2\-D\-R\-O\-O\-T\-::mean\-Y().

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


The R\-M\-S of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the x axis. 

\begin{DoxyReturn}{Returns}
The R\-M\-S if the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the x axis. 
\end{DoxyReturn}


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



Referenced by A\-I\-D\-A\-::\-I\-Cloud2\-D\-R\-O\-O\-T\-::rms\-X().

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


The R\-M\-S of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the y axis. 

\begin{DoxyReturn}{Returns}
The R\-M\-S if the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D} along the y axis. 
\end{DoxyReturn}


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



Referenced by A\-I\-D\-A\-::\-I\-Cloud2\-D\-R\-O\-O\-T\-::rms\-Y().

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!x\-Axis@{x\-Axis}}
\index{x\-Axis@{x\-Axis}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{x\-Axis}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf I\-Axis}\& A\-I\-D\-A\-::\-I\-Histogram2\-D\-::x\-Axis (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_aad0ecb80103f8a559c5060b54edde4f3}


Get the x axis of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D}. 

\begin{DoxyReturn}{Returns}
The x coordinate \doxyref{I\-Axis}{p.}{classAIDA_1_1IAxis}. 
\end{DoxyReturn}


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



Referenced by A\-I\-D\-A\-::\-I\-Histogram2\-D\-R\-O\-O\-T\-::add(), A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::add(), A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::create\-Copy(), A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::divide(), A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::multiply(), and A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::subtract().

\index{A\-I\-D\-A\-::\-I\-Histogram2\-D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}!y\-Axis@{y\-Axis}}
\index{y\-Axis@{y\-Axis}!AIDA::IHistogram2D@{A\-I\-D\-A\-::\-I\-Histogram2\-D}}
\subsubsection[{y\-Axis}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf I\-Axis}\& A\-I\-D\-A\-::\-I\-Histogram2\-D\-::y\-Axis (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classAIDA_1_1IHistogram2D_a454c1d9cc34ed2ab0eff2958b77672df}


Get the y axis of the \doxyref{I\-Histogram2\-D}{p.}{classAIDA_1_1IHistogram2D}. 

\begin{DoxyReturn}{Returns}
The y coordinate \doxyref{I\-Axis}{p.}{classAIDA_1_1IAxis}. 
\end{DoxyReturn}


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



Referenced by A\-I\-D\-A\-::\-I\-Histogram2\-D\-R\-O\-O\-T\-::add(), A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::add(), A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::create\-Copy(), A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::divide(), A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::multiply(), and A\-I\-D\-A\-::\-I\-Histogram\-Factory\-R\-O\-O\-T\-::subtract().



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