#include <slsDetector.h>
memory offsets for the adc arrays
already existing flag. If the detector does not yet exist (alreadyExisting=0) the sharedMemory will be created, otherwise it will simly be linked
char slsDetector::sharedSlsDetector::angConvFile[MAX_STR_LENGTH] |
file with the angular conversion factors
angular direction (1 if it corresponds to the encoder direction i.e. channel 0 is 0, maxchan is positive high angle, 0 otherwise
array of angular conversion constants for each module
char slsDetector::sharedSlsDetector::badChanFile[MAX_STR_LENGTH] |
file with the bad channels
int slsDetector::sharedSlsDetector::badChansList[MAX_BADCHANS] |
list of bad channels
int slsDetector::sharedSlsDetector::badFFList[MAX_BADCHANS] |
list of bad channels from flat field i.e. channels which read 0 in the flat field file
bin size for data merging
char slsDetector::sharedSlsDetector::calDir[MAX_STR_LENGTH] |
path of the calibration files
memory offsets for the channel register arrays
memory offsets for the chip register arrays
clock divider
is the port used for control functions normally it should not be changed
corrections to be applied to the data
detector settings (standard, fast, etc.)
detector threshold (eV)
memory offsets for the dac arrays
size of the data that are transfered from the detector
is the port used to acquire the data normally it should not be changed
float slsDetector::sharedSlsDetector::detPositions[MAXPOS] |
list of encoder positions at which the detector should acquire
dynamic range of the detector data
memory offsets for the flat filed coefficient errors
memory offsets for the flat filed coefficients
current index of the output file
char slsDetector::sharedSlsDetector::fileName[MAX_STR_LENGTH] |
name root of the output files
char slsDetector::sharedSlsDetector::filePath[MAX_STR_LENGTH] |
path of the output files
beamline fine offset (of the order of mdeg, might be adjusted for each measurements)
beamline offset (might be a few degrees beacuse of encoder offset - normally it is kept fixed for a long period of time)
char slsDetector::sharedSlsDetector::hostname[MAX_STR_LENGTH] |
is the hostname (or IP address) of the detector. needs to be set before startin the communication
memory offsets for the module structures
detector type \ see :: detectorType
number of adcs per module
number of bad channels from bad channel list
number of bad channels from flat field i.e. channels which read 0 in the flat field file
number of channels per chip
number of chips per module
number of dacs per module
number of installed modules of the detector (x and y directions)
maximum number of modules of the detector (x and y directions)
number of modules ( nMod[X]*nMod[Y])
maximum number of modules (nModMax[X]*nModMax[Y])
number of rois defined
number of energies at which the detector has been trimmed (unused)
number of positions at which the detector should acquire
readout flags
ROI slsDetector::sharedSlsDetector::roiLimits[MAX_ROIS] |
list of rois
is the port used to stop the acquisition normally it should not be changed
dead time (in ns) for rate corrections
int64_t slsDetector::sharedSlsDetector::timerValue[MAX_TIMERS] |
timer values
char slsDetector::sharedSlsDetector::trimDir[MAX_STR_LENGTH] |
path of the trimbits files
list of the energies at which the detector has been trimmed (unused)