QGHistogram Class Reference

Inheritance diagram for QGHistogram:

QGPlot

List of all members.


Detailed Description

Class for GUI histograms.

Author:
Adam Bryant (adam_bryant@berkeley.edu)

Public Member Functions

 QGHistogram ()
 Default constructor.
 QGHistogram (const QGHistogram &)
 Copy constructor.
virtual ~QGHistogram ()
 Destructor.
void AutoSetAxisParameters ()
 Automatically set axis parameters.
void AutoSetStyle ()
 Automatically set the histogram style.
void Display ()
 Display histogram.
void DisplayEditWindow ()
 Display edit window for the histogram.
void DrawStyleHistogram ()
 Draw a mini-histogram showing the style of this histogram.
void Duplicate ()
 Duplicate the histogram.
void Erase ()
 Erase histogram.
void Generate (QChain *chain=0)
 Generate histogram.
Double_t GetBinWidth () const
 Get bin width.
const char * GetName () const
 Get name of histogram.
Int_t GetNumberOfBins () const
 Get number of bins.
void GetParametersFromEditWindow ()
 Get parameters from edit window.
TH1D * GetStyleHistogram ()
 Get style histogram.
Double_t GetXMin () const
 Get x-min.
Double_t GetXMax () const
 Get x-max.
bool IsBinWidthSet ()
 Return true if bin width is set.
bool IsXMaxSet ()
 Return true if x-axis maximum is set.
bool IsXMinSet ()
 Return true if x-axis minimum is set.
bool IsNumberOfBinsSet ()
 Return true if number of bins is set.
void MakeStylePlot ()
 Make style plot.
void SetBinWidth (Double_t binWidth)
 Set bin width.
void SetName (const char *name=0)
 Set name of histogram.
void SetNumberOfBins (Int_t numberOfBins)
 Set number of bins.
void SetProperty (const std::string &key, const std::string &value)
 Set property (used for opening a session).
void SetXMax (Double_t xMax)
 Set x-max.
void SetXMin (Double_t xMin)
 Set x-min.

Static Public Member Functions

static const std::list
< QGHistogram * > & 
GetHistograms ()
 Get collection of histograms.

Private Attributes

bool fAutoSetNumberOfBins
 Flag to automatically set the number of bins.
bool fAutoSetXMax
 Flag to automatically set the x-axis maximum.
bool fAutoSetXMin
 Flag to automatically set the x-axis minimum.
Double_t fBinWidth
 Bin width.
std::vector< Double_t > fDataPoints
 Collection of points underlying the histogram, useful for instant rebinning.
std::string fDrawOption
 Draw option.
bool fIsBinWidthSet
 Whether or not bin width is set.
Int_t fNumberOfUniqueDataPoints
 Number of unique values among the data points, up to max 100.
TH1D * fStyleHistogram
 Mini-histogram to show style of this histogram.

Static Private Attributes

static std::list< QGHistogram * > fHistograms
 Collection of pointers to all QGHistograms.

The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:06 2010 for CUORE Software by  doxygen 1.5.6