#include <detectorData.h>
Public Member Functions | |
detectorData (double *val=NULL, double *err=NULL, double *ang=NULL, double p_ind=-1, const char *fname="", int np=-1, int ny=1) | |
The constructor. | |
~detectorData () | |
The destructor deletes also the arrays pointing to data/errors/angles if not NULL. | |
Public Attributes | |
double * | values |
pointer to the data | |
double * | errors |
pointer to the errors | |
double * | angles |
pointer to the angles (NULL if no angular conversion) | |
double | progressIndex |
file index | |
char | fileName [1000] |
file name | |
int | npoints |
number of points | |
int | npy |
dimensions in y coordinate |
Definition at line 9 of file detectorData.h.
detectorData::detectorData | ( | double * | val = NULL , |
|
double * | err = NULL , |
|||
double * | ang = NULL , |
|||
double | p_ind = -1 , |
|||
const char * | fname = "" , |
|||
int | np = -1 , |
|||
int | ny = 1 | |||
) | [inline] |
The constructor.
val | pointer to the data | |
err | pointer to errors | |
ang | pointer to the angles | |
f_ind | file index | |
fname | file name to which the data are saved | |
np | number of points in x coordinate defaults to the number of detector channels (1D detector) | |
ny | dimension in y (1D detector) |
Definition at line 20 of file detectorData.h.
References fileName.
detectorData::~detectorData | ( | ) | [inline] |
The destructor deletes also the arrays pointing to data/errors/angles if not NULL.
Definition at line 25 of file detectorData.h.
double* detectorData::angles |
pointer to the angles (NULL if no angular conversion)
Definition at line 29 of file detectorData.h.
Referenced by ~detectorData().
double* detectorData::errors |
char detectorData::fileName[1000] |
dimensions in y coordinate
Definition at line 33 of file detectorData.h.
Referenced by dataCallback().
double detectorData::progressIndex |
double* detectorData::values |