\section{A\-I\-D\-A\-:\-:I\-Histogram1\-D\-R\-O\-O\-T Class Reference}
\label{classAIDA_1_1IHistogram1DROOT}\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}


class \doxyref{I\-Axis}{p.}{classAIDA_1_1IAxis};  




{\ttfamily \#include $<$I\-Histogram1\-D\-R\-O\-O\-T.\-h$>$}

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

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
{\bfseries I\-Histogram1\-D\-R\-O\-O\-T} (const std\-::string \&name, const std\-::string \&{\bf title}, int n\-Bins, double lower\-Edge, double upper\-Edge, const std\-::string \&options=\char`\"{}\char`\"{})\label{classAIDA_1_1IHistogram1DROOT_aeb2fa732f4d3d15dd35490f45985821e}

\item 
{\bfseries I\-Histogram1\-D\-R\-O\-O\-T} (const std\-::string \&name, const std\-::string \&{\bf title}, const std\-::vector$<$ double $>$ \&bin\-Edges, const std\-::string \&options=\char`\"{}\char`\"{})\label{classAIDA_1_1IHistogram1DROOT_a4ead204bf807cbcb14a611ba6bddf091}

\item 
{\bfseries I\-Histogram1\-D\-R\-O\-O\-T} (const std\-::string \&name, const {\bf I\-Histogram1\-D\-R\-O\-O\-T} \&hist)\label{classAIDA_1_1IHistogram1DROOT_aa7ffd2101651f210bbf1ed34283a156b}

\item 
{\bfseries I\-Histogram1\-D\-R\-O\-O\-T} (const std\-::string \&name, const {\bf I\-Histogram2\-D\-R\-O\-O\-T} \&hist, char {\bf axis}, int lower\-Bin=-\/2, int upper\-Bin=-\/1)\label{classAIDA_1_1IHistogram1DROOT_abd7c28aded19422f23961f91140dd8d7}

\item 
virtual bool {\bf fill} (double x, double weight=1.)
\begin{DoxyCompactList}\small\item\em Fill the \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D} with a value and the corresponding weight. \end{DoxyCompactList}\item 
virtual double {\bf bin\-Mean} (int index) const 
\begin{DoxyCompactList}\small\item\em The weighted mean of a bin. \end{DoxyCompactList}\item 
virtual std\-::string {\bf title} () const 
\begin{DoxyCompactList}\small\item\em Get the Histogram's title. \end{DoxyCompactList}\item 
virtual bool {\bf set\-Title} (const std\-::string \&{\bf title})
\begin{DoxyCompactList}\small\item\em Set the histogram title. \end{DoxyCompactList}\item 
virtual bool {\bfseries set\-Name} (const std\-::string \&name)\label{classAIDA_1_1IHistogram1DROOT_a4e2e6eb1e1a2f237acbdcb67c89a69dd}

\item 
virtual int {\bf dimension} () const 
\begin{DoxyCompactList}\small\item\em Get the Histogram's dimension. \end{DoxyCompactList}\item 
virtual bool {\bf reset} ()
\begin{DoxyCompactList}\small\item\em Reset the Histogram; as if just created. \end{DoxyCompactList}\item 
virtual int {\bf entries} () const 
\begin{DoxyCompactList}\small\item\em Get the number of in-\/range entries in the Histogram. \end{DoxyCompactList}\item 
virtual int {\bf all\-Entries} () const 
\begin{DoxyCompactList}\small\item\em Sum of the entries in all the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}'s bins, i.\-e in-\/range bins, U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W. \end{DoxyCompactList}\item 
virtual int {\bf extra\-Entries} () const 
\begin{DoxyCompactList}\small\item\em Number of entries in the U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W bins. \end{DoxyCompactList}\item 
virtual double {\bf sum\-Bin\-Heights} () const 
\begin{DoxyCompactList}\small\item\em Sum of in-\/range bin heights in the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}, U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W bins are excluded. \end{DoxyCompactList}\item 
virtual double {\bf sum\-All\-Bin\-Heights} () const 
\begin{DoxyCompactList}\small\item\em Sum of the heights of all the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}'s bins, i.\-e in-\/range bins, U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W. \end{DoxyCompactList}\item 
virtual double {\bf sum\-Extra\-Bin\-Heights} () const 
\begin{DoxyCompactList}\small\item\em Sum of heights in the U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W bins. \end{DoxyCompactList}\item 
virtual double {\bf min\-Bin\-Height} () const 
\begin{DoxyCompactList}\small\item\em Minimum height of the in-\/range bins, i.\-e. \end{DoxyCompactList}\item 
virtual double {\bf max\-Bin\-Height} () const 
\begin{DoxyCompactList}\small\item\em Maximum height of the in-\/range bins, i.\-e. \end{DoxyCompactList}\item 
virtual bool {\bf scale} (double scale\-Factor)
\begin{DoxyCompactList}\small\item\em Scale the weights and the errors of all the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}'s bins (in-\/range and out-\/of-\/range ones) by a given scale factor. \end{DoxyCompactList}\item 
virtual int {\bf bin\-Entries} (int index) const 
\begin{DoxyCompactList}\small\item\em The weighted mean of a bin. \end{DoxyCompactList}\item 
virtual double {\bf bin\-Height} (int index) const 
\begin{DoxyCompactList}\small\item\em Total height of the corresponding bin (ie the sum of the weights in this bin). \end{DoxyCompactList}\item 
virtual double {\bf bin\-Error} (int index) const 
\begin{DoxyCompactList}\small\item\em The error of a given bin. \end{DoxyCompactList}\item 
virtual double {\bf mean} () const 
\begin{DoxyCompactList}\small\item\em The mean of the whole \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. \end{DoxyCompactList}\item 
virtual double {\bf rms} () const 
\begin{DoxyCompactList}\small\item\em The R\-M\-S of the whole \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. \end{DoxyCompactList}\item 
virtual const {\bf I\-Axis} \& {\bf axis} () const 
\begin{DoxyCompactList}\small\item\em Get the x axis of the \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. \end{DoxyCompactList}\item 
virtual int {\bf coord\-To\-Index} (double coord) const 
\begin{DoxyCompactList}\small\item\em Get the bin number corresponding to a given coordinate along the x axis. \end{DoxyCompactList}\item 
virtual bool {\bf add} (const {\bf I\-Histogram1\-D} \&hist)
\begin{DoxyCompactList}\small\item\em Add to this \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D} the contents of another \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. \end{DoxyCompactList}\item 
virtual bool {\bfseries subtract} (const {\bf I\-Histogram1\-D} \&hist)\label{classAIDA_1_1IHistogram1DROOT_a4aea70046a5a4367315272a4f2d4b121}

\item 
virtual bool {\bfseries multiply} (const {\bf I\-Histogram1\-D} \&hist)\label{classAIDA_1_1IHistogram1DROOT_aa53f2f9024478e86376c6ce972a8d110}

\item 
virtual bool {\bfseries divide} (const {\bf I\-Histogram1\-D} \&hist)\label{classAIDA_1_1IHistogram1DROOT_afa26b730055f35236dd54551ecbe79f5}

\item 
virtual void {\bf print\-Contents} () const 
\begin{DoxyCompactList}\small\item\em Print out the contents of a histogram to the screen. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class {\bfseries I\-Histogram\-Factory\-R\-O\-O\-T}\label{classAIDA_1_1IHistogram1DROOT_ac2046ffed8730695447bfbe0d9df4f66}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
class \doxyref{I\-Axis}{p.}{classAIDA_1_1IAxis}; 

User level interface to 1\-D Histogram.

\begin{DoxyAuthor}{Author}
T. Kraemer, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{I\-Histogram1\-D\-R\-O\-O\-T.\-h}{p.}{IHistogram1DROOT_8h_source},v 1.\-13 2008-\/01-\/30 17\-:42\-:20 killenberg Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!add@{add}}
\index{add@{add}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}bool I\-Histogram1\-D\-R\-O\-O\-T\-::add (
\begin{DoxyParamCaption}
\item[{const {\bf I\-Histogram1\-D} \&}]{hist}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_ad5289eaa6e78a33a730eabee7a237837}


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


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


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_aae4abdb8aed7320948297ca55eac49cf}.



References A\-I\-D\-A\-::\-I\-Histogram1\-D\-::axis(), axis(), and A\-I\-D\-A\-::\-I\-Axis\-::bins().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!all\-Entries@{all\-Entries}}
\index{all\-Entries@{all\-Entries}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{all\-Entries}]{\setlength{\rightskip}{0pt plus 5cm}int I\-Histogram1\-D\-R\-O\-O\-T\-::all\-Entries (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a3162d3b285ac8abb73d41875150abe57}


Sum of the entries in all the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}'s bins, i.\-e in-\/range bins, U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W. 

This is equivalent to the number of times the method fill was invoked. \begin{DoxyReturn}{Returns}
The sum of all the entries. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram} \doxyref{}{p.}{classAIDA_1_1IHistogram_ac9bd90045820a21a9809c7763b41ebc4}.



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!axis@{axis}}
\index{axis@{axis}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{axis}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf I\-Axis} \& I\-Histogram1\-D\-R\-O\-O\-T\-::axis (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_aca5d7a85bd34775bee958ac2be421b15}


Get the x axis of the \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. 

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


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_ade36e312e9bdcf3904125e28a1151453}.



Referenced by add(), bin\-Entries(), bin\-Error(), bin\-Height(), bin\-Mean(), coord\-To\-Index(), and print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!bin\-Entries@{bin\-Entries}}
\index{bin\-Entries@{bin\-Entries}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{bin\-Entries}]{\setlength{\rightskip}{0pt plus 5cm}int I\-Histogram1\-D\-R\-O\-O\-T\-::bin\-Entries (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_af8928fa8b1292b47e75aa74d3b0fda32}


The weighted mean of a bin. 


\begin{DoxyParams}{Parameters}
{\em index} & The 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.\-virtual double \doxyref{bin\-Mean(int index) const }{p.}{classAIDA_1_1IHistogram1DROOT_a568ee01a67741164aea03527e24857a3}; Number of entries in the corresponding bin (ie the number of times fill was called for this bin). 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em index} & The 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}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_a6aa952e08c432b67d8a36a7a01e59e17}.



References axis().



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!bin\-Error@{bin\-Error}}
\index{bin\-Error@{bin\-Error}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{bin\-Error}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::bin\-Error (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_ae660babbce617f8e1341afe1c4754dc1}


The error of a given bin. 


\begin{DoxyParams}{Parameters}
{\em index} & The 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}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_acdb5b5104c4eb9c4e10718fc097c01dd}.



References axis().



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!bin\-Height@{bin\-Height}}
\index{bin\-Height@{bin\-Height}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{bin\-Height}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::bin\-Height (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_ad05bd268c6999ac9d036c95ae849548d}


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


\begin{DoxyParams}{Parameters}
{\em index} & The 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}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_ab1e140ef0c83d77090e5bfb01d9093be}.



References axis().



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!bin\-Mean@{bin\-Mean}}
\index{bin\-Mean@{bin\-Mean}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{bin\-Mean}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::bin\-Mean (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a568ee01a67741164aea03527e24857a3}


The weighted mean of a bin. 


\begin{DoxyParams}{Parameters}
{\em index} & The 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. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_a0446792b81d34e8476d9ceb4f3c0c67a}.



References axis().



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!coord\-To\-Index@{coord\-To\-Index}}
\index{coord\-To\-Index@{coord\-To\-Index}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{coord\-To\-Index}]{\setlength{\rightskip}{0pt plus 5cm}int I\-Histogram1\-D\-R\-O\-O\-T\-::coord\-To\-Index (
\begin{DoxyParamCaption}
\item[{double}]{coord}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_ac34ee092e40bc56d4ad1e2cd4a082adc}


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

This is a convenience method, equivalent to {\ttfamily \doxyref{axis()}{p.}{classAIDA_1_1IHistogram1DROOT_aca5d7a85bd34775bee958ac2be421b15}.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}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_af0c61da726fda19c9f70b543fa6cf7dd}.



References axis().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!dimension@{dimension}}
\index{dimension@{dimension}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{dimension}]{\setlength{\rightskip}{0pt plus 5cm}int I\-Histogram1\-D\-R\-O\-O\-T\-::dimension (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a12817e6d52958e3f9e6c98d464dcd5a1}


Get the Histogram's dimension. 

\begin{DoxyReturn}{Returns}
The Histogram's dimension. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Base\-Histogram} \doxyref{}{p.}{classAIDA_1_1IBaseHistogram_acd76b8615a73f24657c781dc49980cad}.

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!entries@{entries}}
\index{entries@{entries}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{entries}]{\setlength{\rightskip}{0pt plus 5cm}int I\-Histogram1\-D\-R\-O\-O\-T\-::entries (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a747c7e0d8b7b127af602408a4577f3c9}


Get the number of in-\/range entries in the Histogram. 

\begin{DoxyReturn}{Returns}
The number of in-\/range entries. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Base\-Histogram} \doxyref{}{p.}{classAIDA_1_1IBaseHistogram_a38c98fefb864892358aa763c4c054652}.



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!extra\-Entries@{extra\-Entries}}
\index{extra\-Entries@{extra\-Entries}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{extra\-Entries}]{\setlength{\rightskip}{0pt plus 5cm}int I\-Histogram1\-D\-R\-O\-O\-T\-::extra\-Entries (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a70904a546a497bbceb865f144ff0cf1c}


Number of entries in the U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W bins. 

\begin{DoxyReturn}{Returns}
The number of entries outside the range of the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram} \doxyref{}{p.}{classAIDA_1_1IHistogram_a5376c34c0481f8507a19498f353f037d}.



Referenced by print\-Contents().

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


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


\begin{DoxyParams}{Parameters}
{\em x} & The 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}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_a9d26248a793189804bd45b179aa953f9}.

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!max\-Bin\-Height@{max\-Bin\-Height}}
\index{max\-Bin\-Height@{max\-Bin\-Height}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{max\-Bin\-Height}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::max\-Bin\-Height (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_ac7c93958f279a8e8ad958ec794147e1a}


Maximum height of the in-\/range bins, i.\-e. 

not considering the U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W bins. \begin{DoxyReturn}{Returns}
The maximum height among the in-\/range bins. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram} \doxyref{}{p.}{classAIDA_1_1IHistogram_a66de00003558ace7614d19184519de83}.



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!mean@{mean}}
\index{mean@{mean}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{mean}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::mean (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a236cce016c97643a7cd76230c219d786}


The mean of the whole \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. 

\begin{DoxyReturn}{Returns}
The mean of the \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_ab94cb858de9e2a3b518bc5652caaf617}.



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!min\-Bin\-Height@{min\-Bin\-Height}}
\index{min\-Bin\-Height@{min\-Bin\-Height}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{min\-Bin\-Height}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::min\-Bin\-Height (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a785264b8000d2af3cb348ea6661f7f76}


Minimum height of the in-\/range bins, i.\-e. 

not considering the U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W bins. \begin{DoxyReturn}{Returns}
The minimum height among the in-\/range bins. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram} \doxyref{}{p.}{classAIDA_1_1IHistogram_ad76c6fe57962f7a5c5a9affce27c7cfb}.



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!print\-Contents@{print\-Contents}}
\index{print\-Contents@{print\-Contents}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{print\-Contents}]{\setlength{\rightskip}{0pt plus 5cm}void I\-Histogram1\-D\-R\-O\-O\-T\-::print\-Contents (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a23b82e67ead39dc32fc2a6760db9906a}


Print out the contents of a histogram to the screen. 

This method is made for debugging purposes. It is not part of the \doxyref{A\-I\-D\-A}{p.}{namespaceAIDA} Interface! 

References all\-Entries(), axis(), bin\-Entries(), bin\-Error(), bin\-Height(), A\-I\-D\-A\-::\-I\-Axis\-::bin\-Lower\-Edge(), bin\-Mean(), A\-I\-D\-A\-::\-I\-Axis\-::bins(), entries(), extra\-Entries(), A\-I\-D\-A\-::\-I\-Axis\-::lower\-Edge(), max\-Bin\-Height(), mean(), min\-Bin\-Height(), rms(), sum\-All\-Bin\-Heights(), sum\-Bin\-Heights(), sum\-Extra\-Bin\-Heights(), title(), and A\-I\-D\-A\-::\-I\-Axis\-::upper\-Edge().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!reset@{reset}}
\index{reset@{reset}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{reset}]{\setlength{\rightskip}{0pt plus 5cm}bool I\-Histogram1\-D\-R\-O\-O\-T\-::reset (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_af7517f1eaa875f4e64e0324c4e93c85c}


Reset the Histogram; as if just created. 

\begin{DoxyReturn}{Returns}
false If something goes wrong. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Base\-Histogram} \doxyref{}{p.}{classAIDA_1_1IBaseHistogram_a32da98a46330b5b8cab4f55d00650472}.

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!rms@{rms}}
\index{rms@{rms}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{rms}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::rms (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a6a5826336b397081c9597b7542a3b1b2}


The R\-M\-S of the whole \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. 

\begin{DoxyReturn}{Returns}
The R\-M\-S if the \doxyref{I\-Histogram1\-D}{p.}{classAIDA_1_1IHistogram1D}. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram1\-D} \doxyref{}{p.}{classAIDA_1_1IHistogram1D_a3f55e4596f53e2b5deb39fef03d9e28d}.



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!scale@{scale}}
\index{scale@{scale}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{scale}]{\setlength{\rightskip}{0pt plus 5cm}bool I\-Histogram1\-D\-R\-O\-O\-T\-::scale (
\begin{DoxyParamCaption}
\item[{double}]{scale\-Factor}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_aaa543090a760d0e6260a2552e64daead}


Scale the weights and the errors of all the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}'s bins (in-\/range and out-\/of-\/range ones) by a given scale factor. 


\begin{DoxyParams}{Parameters}
{\em scale\-Factor} & The scale factor. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
false If the scale factor is negative. 
\end{DoxyReturn}
F\-I\-X\-M\-E! richtige beruecksichtigung der Fehler im Zusammenhang mit dcale! 

Implements {\bf A\-I\-D\-A\-::\-I\-Histogram} \doxyref{}{p.}{classAIDA_1_1IHistogram_a130d979ac39be5cddf8ed97878bdf131}.

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!set\-Title@{set\-Title}}
\index{set\-Title@{set\-Title}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{set\-Title}]{\setlength{\rightskip}{0pt plus 5cm}bool I\-Histogram1\-D\-R\-O\-O\-T\-::set\-Title (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{title}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a09d87be025aaa7ec39e7555a314f26a1}


Set the histogram title. 


\begin{DoxyParams}{Parameters}
{\em title} & The title. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
false If title cannot be changed. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Base\-Histogram} \doxyref{}{p.}{classAIDA_1_1IBaseHistogram_a14a7f6ed8fda63589540f787186ed2d7}.

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!sum\-All\-Bin\-Heights@{sum\-All\-Bin\-Heights}}
\index{sum\-All\-Bin\-Heights@{sum\-All\-Bin\-Heights}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{sum\-All\-Bin\-Heights}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::sum\-All\-Bin\-Heights (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a3da0029c74f5e1c77c5595e9f3a61572}


Sum of the heights of all the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}'s bins, i.\-e in-\/range bins, U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W. 

\begin{DoxyReturn}{Returns}
The sum of all the bins heights. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram} \doxyref{}{p.}{classAIDA_1_1IHistogram_a4ec5b1ff96f011c496b3e30ae0211cd0}.



References sum\-Bin\-Heights().



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!sum\-Bin\-Heights@{sum\-Bin\-Heights}}
\index{sum\-Bin\-Heights@{sum\-Bin\-Heights}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{sum\-Bin\-Heights}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::sum\-Bin\-Heights (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a55041307d014db566595e1829004e665}


Sum of in-\/range bin heights in the \doxyref{I\-Histogram}{p.}{classAIDA_1_1IHistogram}, U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W bins are excluded. 

\begin{DoxyReturn}{Returns}
The sum of the in-\/range bins heights. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram} \doxyref{}{p.}{classAIDA_1_1IHistogram_ac05bc2c2dc807958ce43ada41adb4238}.



Referenced by print\-Contents(), and sum\-All\-Bin\-Heights().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!sum\-Extra\-Bin\-Heights@{sum\-Extra\-Bin\-Heights}}
\index{sum\-Extra\-Bin\-Heights@{sum\-Extra\-Bin\-Heights}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{sum\-Extra\-Bin\-Heights}]{\setlength{\rightskip}{0pt plus 5cm}double I\-Histogram1\-D\-R\-O\-O\-T\-::sum\-Extra\-Bin\-Heights (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_aed8a5d991eaf83c9aa3e793e3da94a0b}


Sum of heights in the U\-N\-D\-E\-R\-F\-L\-O\-W and O\-V\-E\-R\-F\-L\-O\-W bins. 

\begin{DoxyReturn}{Returns}
The sum of the heights of the out-\/of-\/range bins. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Histogram} \doxyref{}{p.}{classAIDA_1_1IHistogram_a2e76e736ca1b3ad7e5c1c41810ee9e28}.



Referenced by print\-Contents().

\index{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}!title@{title}}
\index{title@{title}!AIDA::IHistogram1DROOT@{A\-I\-D\-A\-::\-I\-Histogram1\-D\-R\-O\-O\-T}}
\subsubsection[{title}]{\setlength{\rightskip}{0pt plus 5cm}string I\-Histogram1\-D\-R\-O\-O\-T\-::title (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classAIDA_1_1IHistogram1DROOT_a92ef5d860cf2ac8e06b62c82601fc66f}


Get the Histogram's title. 

\begin{DoxyReturn}{Returns}
The Histogram's title. 
\end{DoxyReturn}


Implements {\bf A\-I\-D\-A\-::\-I\-Base\-Histogram} \doxyref{}{p.}{classAIDA_1_1IBaseHistogram_a55bd4bf3c7f32400c24e5a1926ca31ae}.



Referenced by print\-Contents().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
I\-Histogram1\-D\-R\-O\-O\-T.\-h\item 
I\-Histogram1\-D\-R\-O\-O\-T.\-cc\end{DoxyCompactItemize}
