![]() |
AmpTools
|
#include <Histogram2D.h>
Public Member Functions | |
Histogram2D () | |
~Histogram2D () | |
Histogram2D (int nBinsX, double xLow, double xHigh, int nBinsY, double yLow, double yHigh, string name="hist2d", string title="2D Histogram") | |
Histogram2D (HistStruct &hist) | |
virtual void | fill (vector< double > values, double weight=1.0) |
virtual TH1 * | toRoot () const |
virtual HistStruct | toStruct () const |
virtual Histogram * | Clone () const |
![]() | |
Histogram (string name="Histogram", string title="hist") | |
virtual | ~Histogram () |
void | normalize (double scaleFactor) |
double | entries () |
void | clear () |
void | operator+= (HistStruct &hStruct) |
string | title () const |
string | name () const |
bool | empty () const |
Additional Inherited Members | |
![]() | |
int | m_nBins |
int | m_nBinsX |
double | m_xLow |
double | m_xHigh |
double | m_entries |
vector< double > | m_binContents |
double | m_binSizeX |
int | m_dimensions |
Definition at line 49 of file Histogram2D.h.
Histogram2D::Histogram2D | ( | ) |
|
inline |
Definition at line 55 of file Histogram2D.h.
Histogram2D::Histogram2D | ( | int | nBinsX, |
double | xLow, | ||
double | xHigh, | ||
int | nBinsY, | ||
double | yLow, | ||
double | yHigh, | ||
string | name = "hist2d" , |
||
string | title = "2D Histogram" |
||
) |
Definition at line 75 of file Histogram2D.cc.
Histogram2D::Histogram2D | ( | HistStruct & | hist | ) |
Definition at line 53 of file Histogram2D.cc.
|
virtual |
Implements Histogram.
Definition at line 159 of file Histogram2D.cc.
|
virtual |
Implements Histogram.
Definition at line 95 of file Histogram2D.cc.
|
virtual |
Implements Histogram.
Definition at line 113 of file Histogram2D.cc.
|
virtual |
Implements Histogram.
Definition at line 129 of file Histogram2D.cc.