In file PlotSet/DataDesc.hh:

class HistDataRef : public HistDataDescriptor

Object for storing referenced plotting data

Inheritance:


Public Methods

HistDataRef ()
Default constructor.
HistDataRef (double lowedge, double spacing, double* dat, double* err, double* stat, int nbin, const char* xlabel, const char* nlabel, int& nent )
Constructor.
HistDataRef (double* bin, double* dat, double* err, double* stat, int nbin, const char* xlabel, const char* nlabel, int& nent )
Constructor.

Protected Fields

int fNBinx
number of bins
int fNEnt
number of data entries

Inherited from HistDataDescriptor:

Public Methods

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)
virtual bool SetData(double* edge, double* content, double* error, int& nbinx, const char* xlabel, const char* nlabel, int& nent, double* stat, bool xydata)
virtual const char* GetXLabel() const
virtual const char* GetNLabel() const
virtual int GetNEntries() const
virtual double* GetStats() const
virtual bool IsXY() const

Protected Fields

bool fXYData
double* fXBins
double* fContents
double* fBinErrors
int* fN
const char* fXLabel
const char* fNLabel
int* fNEntries
double* fStats

Inherited from BasicDataDescriptor:

Public Methods

virtual bool IsComplex() const
virtual void SetComplex(bool cmplx)
virtual bool IsDirty() const
virtual void SetDirty(bool set = true) const
virtual bool IsPersistent() const
virtual void SetPersistent(bool set = true)
virtual bool IsCalculated() const
virtual void SetCalculated(bool set = true)
virtual bool IsMarked() const
virtual void SetMarked(bool set = true) const
virtual float GetDX() const
virtual float* GetX() const
virtual float* GetY() const
virtual float* GetEX() const
virtual float* GetEXhigh() const
virtual float* GetEY() const
virtual float* GetEYhigh() const
virtual bool EraseData()

Protected Fields

bool fComplexData
mutable bool fDirty
bool fPersistent
bool fCalculated
mutable bool fMarked

Documentation

This data descriptor stores a m x n data matrix. The supplied data matrix is adopted by the descriptor.

int fNBinx
number of bins

int fNEnt
number of data entries

HistDataRef()
Constructs a histogram data descriptor without data.
Returns:
void

HistDataRef(double lowedge, double spacing, double* dat, double* err, double* stat, int nbin, const char* xlabel, const char* nlabel, int& nent )
Constructs a histogram data descriptor by providing pointers to an m x n matrix (fixed bin spacing).
Returns:
void
Parameters:
lowedge - Lowest bin edge
spacing - Bin spacing
dat - Pointer to bin contens
err - Pointer to bin errors
nbin - number of bins
xlabel - X-axis label
nlabel - bin content axis label
nent - number of data entries to the histogram

HistDataRef(double* bin, double* dat, double* err, double* stat, int nbin, const char* xlabel, const char* nlabel, int& nent )
Constructs a histogram data descriptor by providing pointers to an m x n matrix (variable bin spacing).
Returns:
void
Parameters:
dat - Pointer to bin contens
err - Pointer to bin errors
nbin - number of bins
xlabel - X-axis label
nlabel - bin content axis label
nent - number of data entries to the histogram


This class has no child classes.
Author:
Written July 2001 by Masahiro Ito
Version:
1.0

alphabetic index hierarchy of classes


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++