pxar
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Friends
util
shist256.hh
1
#ifndef SHIST256_H
2
#define SHIST256_H
3
4
#include "pxardllexport.h"
5
6
class
DLLEXPORT
shist256
{
7
public
:
8
shist256
();
9
~
shist256
();
10
11
void
fill(
int
x,
float
w = 1.);
12
void
clear();
13
float
get
(
int
i);
14
float
get
(
float
i);
15
float
getSumOfWeights();
16
17
private
:
18
static
const
int
NBINS = 256;
19
float
fX[NBINS+2];
20
// fX[0] = underflow
21
// fX[1] = 0 .. 1
22
// fX[256] = 255 .. 256
23
// fX[257] = overflow
24
};
25
26
#endif
shist256
Definition:
shist256.hh:6
Generated on Tue Mar 3 2015 10:03:38 for pxar by
1.8.6