Functions | Variables

/scratch/npr78/temp/xspress3_api/det-software/none_vme/xspress3/lib/xspress3_dtc.c File Reference

Functions

int xsp3_getDeadtimeCorrectionParameters (int path, int chan, int *flags, double *processDeadTimeAllEventGradient, double *processDeadTimeAllEventOffset, double *processDeadTimeInWindowOffset, double *processDeadTimeInWindowGradient)
 Get the parameters for dead time energy correction.
int xsp3_setDeadtimeCorrectionParameters (int path, int chan, int flags, double processDeadTimeAllEventGradient, double processDeadTimeAllEventOffset, double processDeadTimeInWindowOffset, double processDeadTimeInWindowGradient)
 Set the parameters for dead time energy correction.
int xsp3_getDeadtimeCorrectionFlags (int path, int chan, int *flags)
 Get the flags only for dead time energy correction.
double xsp3_getDeadtimeCalculationEnergy (int path)
 Get the energy for dead time correction.
int xsp3_setDeadtimeCalculationEnergy (int path, double energy)
 Set the energy for dead time energy correction.
int xsp3_calculateDeadtimeCorrectionFactors (int path, u_int32_t *hardwareScalerReadings, double *dtcFactors, double *inpEst, int num_tf, int first_chan, int num_chan)
 Calculate the dead time correction factors from the scalers.
int xsp3_scaler_dtc_read (int path, double *dest, unsigned scaler, unsigned chan, unsigned t, unsigned n_scalers, unsigned n_chan, unsigned dt)
 Read a block of dead time corrected scaler data.
int xsp3_hist_dtc_read4d (int path, double *hist_buff, double *scal_buff, unsigned eng, unsigned aux, unsigned chan, unsigned tf, unsigned num_eng, unsigned num_aux, unsigned num_chan, unsigned num_tf)
 Read a 4 dimensional block of dead time corrected histogram data and optionally return the dead time corrected scaler data.

Variables

XSP3Path Xsp3Sys [XSP3_MAX_PATH]
char error_message []

Variable Documentation

char error_message[]
XSP3Path Xsp3Sys[XSP3_MAX_PATH]