A wrapper for the TH1D histogram to allow it to be put inside the same map as all the other classes in this file. More...
#include <Histograms.h>
Public Member Functions | |
virtual void | Clear () |
virtual void | Fill (const double &x, const double &y) |
HTH1D (TFile *outputFile, const TString &name, const TString &title, const int xBins, const double &xMin, const double &xMax) | |
TH1D * | operator-> () |
virtual void | SetXTitle (const TString &title) |
virtual void | SetYTitle (const TString &title) |
virtual void | Write () |
~HTH1D () | |
Protected Attributes | |
TH1D * | tH1D_ |
A wrapper for the TH1D histogram to allow it to be put inside the same map as all the other classes in this file.
Definition at line 173 of file Histograms.h.
HTH1D::HTH1D | ( | TFile * | outputFile, |
const TString & | name, | ||
const TString & | title, | ||
const int | xBins, | ||
const double & | xMin, | ||
const double & | xMax | ||
) | [inline] |
Definition at line 176 of file Histograms.h.
: Histograms(outputFile, name), tH1D_( new TH1D(name, title, xBins, xMin, xMax) ) {}
HTH1D::~HTH1D | ( | ) | [inline] |
virtual void HTH1D::Clear | ( | ) | [inline, virtual] |
Implements Histograms.
Definition at line 189 of file Histograms.h.
References tH1D_.
{ tH1D_->Clear(); }
virtual void HTH1D::Fill | ( | const double & | x, |
const double & | y | ||
) | [inline, virtual] |
TH1D* HTH1D::operator-> | ( | ) | [inline] |
virtual void HTH1D::SetXTitle | ( | const TString & | title | ) | [inline, virtual] |
Definition at line 192 of file Histograms.h.
References tH1D_.
virtual void HTH1D::SetYTitle | ( | const TString & | title | ) | [inline, virtual] |
Definition at line 195 of file Histograms.h.
References tH1D_.
virtual void HTH1D::Write | ( | ) | [inline, virtual] |
Implements Histograms.
Definition at line 185 of file Histograms.h.
References Histograms::histoDir_, and tH1D_.
TH1D* HTH1D::tH1D_ [protected] |
Definition at line 200 of file Histograms.h.
Referenced by Clear(), Fill(), operator->(), SetXTitle(), SetYTitle(), Write(), and ~HTH1D().