FEDRA emulsion software from the OPERA Collaboration
|
class to group 2-dim objects More...
#include <EdbCell1.h>
Public Member Functions | |
bool | AddObject (float x, TObject *obj) |
bool | AddObject (int j, TObject *obj) |
void | Delete () |
EdbCell1 () | |
TObject * | GetObject (int j, int ientr) const |
int | InitCell (int maxpercell, int n, float min, float max) |
void | PrintStat () |
void | Reset () |
int | SelectObjects (float min, float max, TObjArray &arr) |
int | SelectObjects (int min, int max, TObjArray &arr) |
int | SelectObjects (TObjArray &arr) |
int | SelectObjectsC (float v, int ir, TObjArray &arr) |
int | SelectObjectsC (int iv, int ir, TObjArray &arr) |
~EdbCell1 () | |
![]() | |
void | AddBin (int jcell, int n) |
int | Bin (int ix) const |
void | CleanCells () |
void | Copy (const EdbH1 &h) |
void | Delete () |
int | DiscardHighCells (int nmax) |
TH1F * | DrawH1 (const char *name="EdbH1plot", const char *title="EdbH1plot1D") |
TH1I * | DrawSpectrum (const char *name="EdbH1spectrun") |
EdbH1 () | |
EdbH1 (const EdbH1 &h) | |
EdbH1 (int n, float min, float max) | |
int | Fill (float x) |
int | Fill (float x, int n) |
int | InitH1 (const EdbH1 &h) |
int | InitH1 (int n, float min, float max) |
Long_t | Integral () |
Long_t | Integral (int iv, int ir) |
int | IX (float x) const |
int | Jcell (float x) const |
int | Jcell (int ix) const |
int | MaxBin () |
Float_t | Mean () |
int | N () const |
int | Ncell () const |
void | Print () |
void | PrintStat () |
void | Set0 () |
void | SetBin (int ix, int n) |
float | X (int i) const |
float | Xbin () const |
float | Xmax () const |
float | XmaxA (float level=0) |
float | Xmin () const |
float | XminA (float level=0) |
~EdbH1 () | |
Private Attributes | |
Int_t | eCellLim |
max number of entries into one cell (for memory allocation) More... | |
TObject *** | epC |
pointers to cells [eNcell] More... | |
TObject ** | epO |
pointers to objects [eNcell*eCellLim] More... | |
Additional Inherited Members | |
![]() | |
Float_t | eBin |
bin size More... | |
Float_t | eMax |
max More... | |
Float_t | eMin |
min More... | |
Int_t | eN |
divisions More... | |
Int_t * | eNC |
[eNcell] number of objects/cell More... | |
Int_t | eNcell |
eN More... | |
class to group 2-dim objects
EdbCell1::EdbCell1 | ( | ) |
EdbCell1::~EdbCell1 | ( | ) |
bool EdbCell1::AddObject | ( | float | x, |
TObject * | obj | ||
) |
bool EdbCell1::AddObject | ( | int | j, |
TObject * | obj | ||
) |
void EdbCell1::Delete | ( | ) |
|
inline |
int EdbCell1::InitCell | ( | int | maxpercell, |
int | n, | ||
float | min, | ||
float | max | ||
) |
void EdbCell1::PrintStat | ( | ) |
|
inline |
int EdbCell1::SelectObjects | ( | float | min, |
float | max, | ||
TObjArray & | arr | ||
) |
int EdbCell1::SelectObjects | ( | int | min, |
int | max, | ||
TObjArray & | arr | ||
) |
int EdbCell1::SelectObjects | ( | TObjArray & | arr | ) |
|
inline |
int EdbCell1::SelectObjectsC | ( | int | iv, |
int | ir, | ||
TObjArray & | arr | ||
) |
|
private |
max number of entries into one cell (for memory allocation)
|
private |
pointers to cells [eNcell]
|
private |
pointers to objects [eNcell*eCellLim]