#include <CCPCHist.h>
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 |
Definition at line 126 of file CCPCHist.h.
PHisto::PHisto | ( | char * | name, | |
char * | title, | |||
int | nx, | |||
float | xmin, | |||
float | xmax | |||
) |
Constructor of a profile histogram
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 |
virtual PHisto::~PHisto | ( | ) | [virtual] |
int PHisto::fill | ( | float | x, | |
float | y | |||
) |
filling routine for a profile histogram
x | abszissa of the bin | |
y | weight to be added to bin statistics |
int PHisto::getsums | ( | float * | to | ) |
retriving routine of sum of weights
to | float array to receive the sum of weights |
int PHisto::getsum2s | ( | float * | to | ) |
retriving routine of sum of square of weights
to | float array to receive the sum of square of weights |
int PHisto::getsums | ( | double * | to | ) |
retriving routine of sum of weights
to | double precision array to receive the sum of weights |
int PHisto::getsum2s | ( | double * | to | ) |
retriving routine of sum of square of weights
to | double precision array to receive the sum of square of weights |
int PHisto::getentries | ( | float * | to | ) |
retriving routine of sum of entries (calls)
to | float array to receive the total number of entries |
void PHisto::clear | ( | void | ) |
clear the profile histogram
CCPCPHisto* PHisto::m_h [private] |
Definition at line 129 of file CCPCHist.h.