FEDRA emulsion software from the OPERA Collaboration
|
fast 2-dim histogram class (used as a basis for EdbCell2) More...
#include <EdbCell2.h>
Public Member Functions | |
void | AddBin (int jcell, int n) |
int | Bin (float x, float y) const |
int | Bin (int iv[2]) const |
int | Bin (int ix, int iy) const |
int | Bin (int j) const |
void | CleanCells () |
void | Copy (const EdbH2 &h) |
void | Delete () |
int | DiscardHighCells (int nmax) |
TH2F * | DrawH2 (const char *name="plot2d", const char *title="EdbH2plot2D") |
TH1I * | DrawSpectrum (const char *name="plot1d", const char *title="EdbH2 DrawSpectrun") |
EdbH2 () | |
EdbH2 (const EdbH2 &h) | |
EdbH2 (int nx, float minx, float maxx, int ny, float miny, float maxy) | |
int | Fill (float x, float y) |
int | Fill (float x, float y, int n) |
int | InitH2 (const EdbH2 &h) |
int | InitH2 (int n[2], float min[2], float max[2]) |
int | InitH2 (int nx, float minx, float maxx, int ny, float miny, float maxy) |
Long_t | Integral () |
Long_t | Integral (int iv[2], int ir[2]) |
int | IX (float x) const |
int | IX (int jcell) const |
int | IY (float y) const |
int | IY (int jcell) const |
int | Jcell (float v[2]) const |
int | Jcell (float x, float y) const |
int | Jcell (int ix, int iy) const |
int | MaxBin () |
Float_t | Mean () |
int | Ncell () const |
int | NX () const |
int | NY () const |
void | PrintStat () |
EdbH1 * | ProjectionX () |
EdbH1 * | ProjectionY () |
void | Set0 () |
void | SetBin (int ix, int iy, int n) |
void | SetBin (int j, int n) |
float | X (int ix) const |
float | Xbin () const |
float | Xj (int j) const |
float | Xmax () const |
float | XmaxA (float level=0) |
float | Xmin () const |
float | XminA (float level=0) |
float | Y (int iy) const |
float | Ybin () const |
float | Yj (int j) const |
float | Ymax () const |
float | YmaxA (float level=0) |
float | Ymin () const |
float | YminA (float level=0) |
~EdbH2 () | |
Protected Attributes | |
Float_t | eBin [2] |
bin size More... | |
Float_t | eMax [2] |
max More... | |
Float_t | eMin [2] |
min More... | |
Int_t | eN [2] |
divisions More... | |
Int_t * | eNC |
[eNcell] number of objects/cell More... | |
Int_t | eNcell |
eNx*eNy More... | |
fast 2-dim histogram class (used as a basis for EdbCell2)
//////////////////////////////////////////////////////////////////////// // EdbCell2 // // class to group 2-dim objects for the fast access // // ////////////////////////////////////////////////////////////////////////
EdbH2::EdbH2 | ( | ) |
|
inline |
EdbH2::EdbH2 | ( | const EdbH2 & | h | ) |
EdbH2::~EdbH2 | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void EdbH2::Delete | ( | ) |
int EdbH2::DiscardHighCells | ( | int | nmax | ) |
TH2F * EdbH2::DrawH2 | ( | const char * | name = "plot2d" , |
const char * | title = "EdbH2plot2D" |
||
) |
TH1I * EdbH2::DrawSpectrum | ( | const char * | name = "plot1d" , |
const char * | title = "EdbH2 DrawSpectrun" |
||
) |
|
inline |
int EdbH2::Fill | ( | float | x, |
float | y, | ||
int | n | ||
) |
int EdbH2::InitH2 | ( | const EdbH2 & | h | ) |
int EdbH2::InitH2 | ( | int | n[2], |
float | min[2], | ||
float | max[2] | ||
) |
int EdbH2::InitH2 | ( | int | nx, |
float | minx, | ||
float | maxx, | ||
int | ny, | ||
float | miny, | ||
float | maxy | ||
) |
Long_t EdbH2::Integral | ( | ) |
Long_t EdbH2::Integral | ( | int | iv[2], |
int | ir[2] | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
int EdbH2::MaxBin | ( | ) |
|
inline |
|
inline |
|
inline |
void EdbH2::PrintStat | ( | ) |
EdbH1 * EdbH2::ProjectionX | ( | ) |
EdbH1 * EdbH2::ProjectionY | ( | ) |
void EdbH2::Set0 | ( | ) |
|
inline |
|
inline |
|
inline |
float EdbH2::XmaxA | ( | float | level = 0 | ) |
|
inline |
float EdbH2::XminA | ( | float | level = 0 | ) |
|
inline |
|
inline |
float EdbH2::YmaxA | ( | float | level = 0 | ) |
|
inline |
float EdbH2::YminA | ( | float | level = 0 | ) |
|
protected |
bin size
|
protected |
max
|
protected |
min
|
protected |
divisions
|
protected |
[eNcell] number of objects/cell
|
protected |
eNx*eNy