PHisto Class Reference

#include <CCPCHist.h>

List of all members.

Public Member Functions

 PHisto (char *name, char *title, int nx, float xmin, float xmax)
virtual ~PHisto ()
int fill (float x, float y)
int getsums (float *to)
int getsum2s (float *to)
int getsums (double *to)
int getsum2s (double *to)
int getentries (float *to)
void clear (void)

Private Attributes

CCPCPHisto * m_h


Detailed Description

Definition at line 126 of file CCPCHist.h.


Constructor & Destructor Documentation

PHisto::PHisto ( char *  name,
char *  title,
int  nx,
float  xmin,
float  xmax 
)

Constructor of a profile histogram

Parameters:
name The name of the histogram.
title The title of the histogram
nx The number of bins
xmin The minimum x-value
xmax The maximum x-value
See also:
Histo(char *name, char *title, int nx, float xmin, float xmax )

virtual PHisto::~PHisto (  )  [virtual]


Member Function Documentation

int PHisto::fill ( float  x,
float  y 
)

filling routine for a profile histogram

Parameters:
x abszissa of the bin
y weight to be added to bin statistics

int PHisto::getsums ( float *  to  ) 

retriving routine of sum of weights

Parameters:
to float array to receive the sum of weights

int PHisto::getsum2s ( float *  to  ) 

retriving routine of sum of square of weights

Parameters:
to float array to receive the sum of square of weights

int PHisto::getsums ( double *  to  ) 

retriving routine of sum of weights

Parameters:
to double precision array to receive the sum of weights

int PHisto::getsum2s ( double *  to  ) 

retriving routine of sum of square of weights

Parameters:
to double precision array to receive the sum of square of weights

int PHisto::getentries ( float *  to  ) 

retriving routine of sum of entries (calls)

Parameters:
to float array to receive the total number of entries

void PHisto::clear ( void   ) 

clear the profile histogram


Member Data Documentation

CCPCPHisto* PHisto::m_h [private]

Definition at line 129 of file CCPCHist.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 23 13:50:04 2007 for CCPCHDoc by  doxygen 1.5.1-p1