#include <EdbViewRec.h>
|
int | AddCluster (EdbCluster *c) |
|
void | CalcN () |
|
void | CalcStat () |
|
void | CleanCell () |
|
void | Delete () |
|
| EdbViewCell () |
|
int | FillCell (TClonesArray &v) |
|
EdbCluster ** | GetCell (int j) const |
|
void | Init () |
|
void | InitMem () |
|
int | IXcell (float x) const |
|
int | IYcell (float y) const |
|
int | Jcell (float x, float y, float z) const |
|
int | Jcell (float x, float y, int ifr) const |
|
int | Jcell (int ix, int iy, int ifr) const |
|
int | Jcell (int ixy, int ifr) const |
|
int | JcellXY (float x, float y) const |
|
int | Jneib (int i) const |
|
void | Print () |
|
void | SetBin (float binx, float biny, float binz=-1) |
|
void | SetCellLimits (int ncell, int ncl) |
|
void | SetLimits (float xmin, float xmax, float ymin, float ymax, float zmin, float zmax) |
|
void | SetNfr (int nfr, float zmin, float zmax, int ifz=0) |
|
virtual | ~EdbViewCell () |
|
◆ EdbViewCell()
EdbViewCell::EdbViewCell |
( |
| ) |
|
28{
35
40}
Int_t * eNC
Definition: EdbViewRec.h:40
Int_t eNx
Definition: EdbViewRec.h:31
Float_t eBinY
Definition: EdbViewRec.h:28
Float_t eZmin
Definition: EdbViewRec.h:25
Float_t eBinX
Definition: EdbViewRec.h:27
Float_t eBinZ
Definition: EdbViewRec.h:26
Int_t eNfr
Definition: EdbViewRec.h:29
Int_t eNcellsLim
[eNcell] number of clusters/cell
Definition: EdbViewRec.h:43
Float_t eYmax
Definition: EdbViewRec.h:24
Float_t eYmin
Definition: EdbViewRec.h:24
Float_t eZmax
Definition: EdbViewRec.h:25
Int_t eNcell
Definition: EdbViewRec.h:34
EdbCluster ** epC
Definition: EdbViewRec.h:46
Float_t eXmax
Definition: EdbViewRec.h:23
Int_t eNy
Definition: EdbViewRec.h:32
Int_t * eFrame
pointers to cells [eNcellsLim]
Definition: EdbViewRec.h:48
Float_t eXmin
Definition: EdbViewRec.h:23
Int_t eCellLim
Definition: EdbViewRec.h:44
Int_t eNcl
Definition: EdbViewRec.h:35
EdbCluster *** epCell
pointers to clusters [eNcellsLim*eCellLim]
Definition: EdbViewRec.h:47
Int_t eNcellXY
Definition: EdbViewRec.h:33
◆ ~EdbViewCell()
EdbViewCell::~EdbViewCell |
( |
| ) |
|
|
virtual |
44{
45
47}
void Delete()
Definition: EdbViewRec.cxx:50
◆ AddCluster()
68 {
69 int j;
72 printf(
"j=%d eNC[j]=%d\n", j,
eNC[j]);
77 return 1;
78 }
Float_t eZ
cluster coordinates in pixels(?)
Definition: EdbCluster.h:25
Int_t eFrame
frame index
Definition: EdbCluster.h:28
Float_t eY
cluster coordinates in pixels(?)
Definition: EdbCluster.h:24
Float_t eX
cluster coordinates in pixels(?)
Definition: EdbCluster.h:23
int Jcell(float x, float y, int ifr) const
Definition: EdbViewRec.h:89
Int_t eIFZ
Definition: EdbViewRec.h:37
◆ CalcN()
void EdbViewCell::CalcN |
( |
| ) |
|
60{
61
66
70}
Int_t eNeib[9]
index of the first cell of the frame in epCell array
Definition: EdbViewRec.h:50
◆ CalcStat()
void EdbViewCell::CalcStat |
( |
| ) |
|
146{
147 int nmax=0;
148 for(
int i=0; i<
eNcell; i++)
if(
eNC[i]>nmax ) nmax=
eNC[i];
149 printf("max cell: %d \n",nmax);
150}
◆ CleanCell()
void EdbViewCell::CleanCell |
( |
| ) |
|
◆ Delete()
void EdbViewCell::Delete |
( |
| ) |
|
◆ FillCell()
int EdbViewCell::FillCell |
( |
TClonesArray & |
v | ) |
|
122{
123 int cnt=0;
126
128
131 for(
int i=0; i<
eNcl; i++) {
132
134
135
138 cnt++;
139 }
140 printf(" %d are accepted\n",cnt);
141 return cnt;
142}
Definition: EdbCluster.h:19
int AddCluster(EdbCluster *c)
Definition: EdbViewRec.h:67
void CleanCell()
Definition: EdbViewRec.cxx:115
◆ GetCell()
◆ Init()
106{
107
110 printf("EdbViewCell::Init: \n");
112}
void Print()
Definition: EdbViewRec.cxx:153
void InitMem()
Definition: EdbViewRec.cxx:91
void CalcN()
Definition: EdbViewRec.cxx:59
◆ InitMem()
void EdbViewCell::InitMem |
( |
| ) |
|
◆ IXcell()
int EdbViewCell::IXcell |
( |
float |
x | ) |
const |
|
inline |
◆ IYcell()
int EdbViewCell::IYcell |
( |
float |
y | ) |
const |
|
inline |
◆ Jcell() [1/4]
int EdbViewCell::Jcell |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
|
inline |
int IYcell(float y) const
Definition: EdbViewRec.h:87
int IXcell(float x) const
Definition: EdbViewRec.h:86
◆ Jcell() [2/4]
int EdbViewCell::Jcell |
( |
float |
x, |
|
|
float |
y, |
|
|
int |
ifr |
|
) |
| const |
|
inline |
◆ Jcell() [3/4]
int EdbViewCell::Jcell |
( |
int |
ix, |
|
|
int |
iy, |
|
|
int |
ifr |
|
) |
| const |
|
inline |
◆ Jcell() [4/4]
int EdbViewCell::Jcell |
( |
int |
ixy, |
|
|
int |
ifr |
|
) |
| const |
|
inline |
◆ JcellXY()
int EdbViewCell::JcellXY |
( |
float |
x, |
|
|
float |
y |
|
) |
| const |
|
inline |
◆ Jneib()
int EdbViewCell::Jneib |
( |
int |
i | ) |
const |
|
inline |
◆ Print()
void EdbViewCell::Print |
( |
| ) |
|
154{
155 printf("\n");
156 printf(
"eNfr = %d\n",
eNfr);
157 printf(
"eNcl = %d\n",
eNcl);
162 printf("\n");
163}
◆ SetBin()
void EdbViewCell::SetBin |
( |
float |
binx, |
|
|
float |
biny, |
|
|
float |
binz = -1 |
|
) |
| |
|
inline |
◆ SetCellLimits()
void EdbViewCell::SetCellLimits |
( |
int |
ncell, |
|
|
int |
ncl |
|
) |
| |
|
inline |
◆ SetLimits()
void EdbViewCell::SetLimits |
( |
float |
xmin, |
|
|
float |
xmax, |
|
|
float |
ymin, |
|
|
float |
ymax, |
|
|
float |
zmin, |
|
|
float |
zmax |
|
) |
| |
|
inline |
◆ SetNfr()
void EdbViewCell::SetNfr |
( |
int |
nfr, |
|
|
float |
zmin, |
|
|
float |
zmax, |
|
|
int |
ifz = 0 |
|
) |
| |
74{
79 if(ifz)
eBinZ = (zmax-zmin)/(nfr-1);
82
86
88}
◆ eBinX
Float_t EdbViewCell::eBinX |
◆ eBinY
Float_t EdbViewCell::eBinY |
◆ eBinZ
Float_t EdbViewCell::eBinZ |
◆ eCellLim
Int_t EdbViewCell::eCellLim |
|
private |
◆ eFrame
Int_t* EdbViewCell::eFrame |
|
private |
pointers to cells [eNcellsLim]
◆ eIFZ
◆ eNC
◆ eNcell
Int_t EdbViewCell::eNcell |
◆ eNcellsLim
Int_t EdbViewCell::eNcellsLim |
|
private |
[eNcell] number of clusters/cell
◆ eNcellXY
Int_t EdbViewCell::eNcellXY |
◆ eNcl
◆ eNeib
Int_t EdbViewCell::eNeib[9] |
|
private |
index of the first cell of the frame in epCell array
◆ eNfr
◆ eNx
◆ eNy
◆ epC
◆ epCell
pointers to clusters [eNcellsLim*eCellLim]
◆ eXmax
Float_t EdbViewCell::eXmax |
◆ eXmin
Float_t EdbViewCell::eXmin |
◆ eYmax
Float_t EdbViewCell::eYmax |
◆ eYmin
Float_t EdbViewCell::eYmin |
◆ eZmax
Float_t EdbViewCell::eZmax |
◆ eZmin
Float_t EdbViewCell::eZmin |
The documentation for this class was generated from the following files: