class HistDataDescriptor : public BasicDataDescriptor Object for storing plotting data for a histogram
This data descriptor implements access to histogram data owned by someone else. Only pointers to the data array are stored. The data must stay valid while this data descriptor is used by a plot routine.
double* fXBins
double* fContents
double* fBinErrors
int* fN
const char* fXLabel
const char* fNLabel
int* fNEntries
double* fStats
HistDataDescriptor()
HistDataDescriptor(double* edge, double* content, int& nbinx, char* xlabel, char* nlabel, int& nent, double* stat, bool xydata)
content - Pointer to bin content array
nbinx - Number of bins
xlabel - X-axis label
nlabel - bin content axis label
nent - number of data entries to the histogram
stat - Pointer to the histogram statistics array
xydata - true: variable bin spacing, false: fixed bin spacing
HistDataDescriptor(double* edge, double* content, double* error, int& nbinx, char* xlabel, char* nlabel, int& nent, double* stat, bool xydata)
content - Pointer to bin content array
error - Pointer to bin error array
nbinx - Number of bins
xlabel - X-axis label
nlabel - bin content axis label
nent - number of data entries to the histogram
stat - Pointer to the histogram statistics array
xydata - true: variable bin spacing, false: fixed bin spacing
virtual ~HistDataDescriptor()
virtual double* GetXBinEdges() const
virtual double* GetBinContents() const
virtual double* GetBinErrors() const
virtual int GetN() const
virtual bool SetData(double* edge, double* content, int& nbinx, const char* xlabel, const char* nlabel, int& nent, double* stat, bool xydata)
content - Pointer to content array
nbinx - number of bins
xlabel - X-axis label
nlabel - bin content axis label
nent - number of data entries to the histogram
stat - Pointet to the histogram statistics
xydata - true: variable bin spacing, false: fixed bin spacing
virtual bool SetData(double* edge, double* content, double* error, int& nbinx, const char* xlabel, const char* nlabel, int& nent, double* stat, bool xydata)
content - Pointer to content array
error - Pointer to bin error array
nbinx - number of bins
xlabel - X-axis label
nlabel - bin content axis label
nent - number of data entries to the histogram
stat - Pointet to the histogram statistics
xydata - true: variable bin spacing, false: fixed bin spacing
virtual const char* GetXLabel() const
virtual const char* GetNLabel() const
virtual int GetNEntries() const
virtual double* GetStats() const
virtual bool IsXY() const
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++