xml::xsilHandlerHistogram Class Reference
[XML handlers for DMT data]

#include <XsilHistogram.hh>

Inheritance diagram for xml::xsilHandlerHistogram:

xml::xsilHandler

List of all members.

Public Member Functions

 xsilHandlerHistogram (std::vector< Histogram1 > *objs1, std::vector< Histogram2 > *objs2, const attrlist *attr=0, bool ignore=false)
 Constructor.
virtual ~xsilHandlerHistogram ()
 Destructor.
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const bool &p, int N=1)
 bool parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const char &p, int N=1)
 byte parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const short &p, int N=1)
 short parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const int &p, int N=1)
 int parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const long long &p, int N=1)
 long parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const float &p, int N=1)
 float parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const double &p, int N=1)
 double parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const std::complex< float > &p, int N=1)
 complex float parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const std::complex< double > &p, int N=1)
 complex double parameter callback (must return true if handled)
virtual bool HandleParameter (const std::string &name, const attrlist &attr, const std::string &p)
 string parameter callback (must return true if handled)
virtual bool HandleTime (const std::string &name, const attrlist &attr, unsigned long sec, unsigned long nsec)
 time callback (must return true if handled)
virtual bool HandleData (const std::string &name, float *x, int dim1, int dim2=0, int dim3=0, int dim4=0)
 data callback (must return true if data is adopted)
virtual bool HandleData (const std::string &name, std::complex< float > *x, int dim1, int dim2=0, int dim3=0, int dim4=0)
 data callback (must return true if data is adopted)
virtual bool HandleData (const std::string &name, double *x, int dim1, int dim2=0, int dim3=0, int dim4=0)
 data callback (must return true if data is adopted)
virtual bool HandleData (const std::string &name, std::complex< double > *x, int dim1, int dim2=0, int dim3=0, int dim4=0)
 data callback (must return true if data is adopted)

Protected Attributes

std::vector< Histogram1 > * fDat1
 Pointer to DMT Histogram1 vector class.
std::vector< Histogram2 > * fDat2
 Pointer to DMT Histogram2 vector class.
std::string fTitle
 Name of data object.
std::string fLabel [4]
 X-axis/Y-axis/Z-Axis and bin-count label.
int fSubtype
 Data subtype.
unsigned long fSec
 Time (sec).
unsigned long fNsec
 Time (nsec).
int fNBin [3]
 Number of x/y/z bins.
int fNData
 Number of data points.
double fSumWeight
 Sum of the weights.
double fSumWeightSqr
 Sum of the weight squares.
double fSumWeightDim [3]
 Sum of the x*weights/y*weights/z*weights.
double fSumWeightDimSqr [3]
 Sum of the x*weights/y*weights/z*weights squares.
double fSumWeightXY
 Sum of the x*y*weights.
double fLowEdge [3]
 low edge (x, y and z)
double fSpacing [3]
 spacing (x, y and z)
double * fBins [3]
 Bins (x, y and z).
int fBinsLen [3]
 Length of bin arrays.
double * fErrors
 Errors.
int fErrorsDim [3]
 Length of error array.
double * fData
 Data pointer.
int fDataDim [3]
 Length of data array.


Detailed Description

Handler for Histogram data types brief Histogram datatype handler
Author:
Written September 2001 by Daniel Sigg
Version:
0.1

The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:46 2009 for dmt by  doxygen 1.5.4