data structure to hold the detector data after postprocessing (e.g. to plot, store in a root tree etc.) More...
#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 | |
data structure to hold the detector data after postprocessing (e.g. to plot, store in a root tree etc.)
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.
| detectorData::~detectorData | ( | ) | [inline] |
The destructor deletes also the arrays pointing to data/errors/angles if not NULL.
Definition at line 27 of file detectorData.h.
| double* detectorData::angles |
pointer to the angles (NULL if no angular conversion)
Definition at line 31 of file detectorData.h.
| double* detectorData::errors |
pointer to the errors
Definition at line 30 of file detectorData.h.
| char detectorData::fileName[1000] |
file name
Definition at line 33 of file detectorData.h.
number of points
Definition at line 34 of file detectorData.h.
dimensions in y coordinate
Definition at line 35 of file detectorData.h.
| double detectorData::progressIndex |
file index
Definition at line 32 of file detectorData.h.
| double* detectorData::values |
pointer to the data
Definition at line 27 of file detectorData.h.
1.6.1