#include <dataVersion.h>
Definition at line 20 of file dataVersion.h.
DATA_FORMAT_NON_ASSEMBLED | |
DATA_FORMAT_ASSEMBLED | |
DATA_FORMAT_ASSEMBLED_AND_DOWNSAMPLED | |
DATA_FORMAT_RADIAL_AVERAGE | |
DATA_FORMAT_NONE | |
DATA_FORMAT_ALL |
Definition at line 28 of file dataVersion.h.
DATA_VERSION_RAW | |
DATA_VERSION_DETECTOR_CORRECTED | |
DATA_VERSION_DETECTOR_AND_PHOTON_CORRECTED | |
DATA_VERSION_NONE | |
DATA_VERSION_ALL |
Definition at line 23 of file dataVersion.h.
cDataVersion::cDataVersion | ( | cPixelDetectorEvent * | detectorEvent, | |
cPixelDetectorCommon * | detectorCommon, | |||
const dataVersion_t | dataVersion, | |||
const dataFormat_t | dataFormat | |||
) |
Definition at line 63 of file dataVersion.cpp.
References cPixelDetectorEvent::data_detCorr, cPixelDetectorEvent::data_detPhotCorr, DATA_FORMAT_ASSEMBLED, DATA_FORMAT_ASSEMBLED_AND_DOWNSAMPLED, DATA_FORMAT_NON_ASSEMBLED, DATA_FORMAT_RADIAL_AVERAGE, cPixelDetectorEvent::data_raw, cPixelDetectorCommon::dataFormatMain, cPixelDetectorCommon::dataVersionMain, ERROR, ex_all_dets::i, cPixelDetectorEvent::image_detCorr, cPixelDetectorEvent::image_detPhotCorr, cPixelDetectorCommon::image_nn, cPixelDetectorCommon::image_nx, cPixelDetectorCommon::image_ny, cPixelDetectorEvent::image_pixelmask, cPixelDetectorEvent::image_raw, cPixelDetectorEvent::imageXxX_detCorr, cPixelDetectorEvent::imageXxX_detPhotCorr, cPixelDetectorCommon::imageXxX_nn, cPixelDetectorCommon::imageXxX_nx, cPixelDetectorCommon::imageXxX_ny, cPixelDetectorEvent::imageXxX_pixelmask, cPixelDetectorEvent::imageXxX_raw, MAX_POWDER_CLASSES, name_format, cPixelDetectorCommon::nPowderClasses, cPixelDetectorCommon::null_mutex, cPixelDetectorCommon::pix_nn, pix_nn, cPixelDetectorCommon::pix_nx, pix_nx, cPixelDetectorCommon::pix_ny, pix_ny, cPixelDetectorEvent::pixelmask, cPixelDetectorCommon::powderData_detCorr, cPixelDetectorCommon::powderData_detCorr_squared, cPixelDetectorCommon::powderData_detPhotCorr, cPixelDetectorCommon::powderData_detPhotCorr_squared, cPixelDetectorCommon::powderData_mutex, cPixelDetectorCommon::powderData_raw, cPixelDetectorCommon::powderData_raw_squared, cPixelDetectorCommon::powderImage_detCorr, cPixelDetectorCommon::powderImage_detCorr_squared, cPixelDetectorCommon::powderImage_detPhotCorr, cPixelDetectorCommon::powderImage_detPhotCorr_squared, cPixelDetectorCommon::powderImage_mutex, cPixelDetectorCommon::powderImage_raw, cPixelDetectorCommon::powderImage_raw_squared, cPixelDetectorCommon::powderImageXxX_detCorr, cPixelDetectorCommon::powderImageXxX_detCorr_squared, cPixelDetectorCommon::powderImageXxX_detPhotCorr, cPixelDetectorCommon::powderImageXxX_detPhotCorr_squared, cPixelDetectorCommon::powderImageXxX_mutex, cPixelDetectorCommon::powderImageXxX_raw, cPixelDetectorCommon::powderImageXxX_raw_squared, cPixelDetectorCommon::powderRadialAverage_detCorr, cPixelDetectorCommon::powderRadialAverage_detCorr_squared, cPixelDetectorCommon::powderRadialAverage_detPhotCorr, cPixelDetectorCommon::powderRadialAverage_detPhotCorr_squared, cPixelDetectorCommon::powderRadialAverage_mutex, cPixelDetectorCommon::powderRadialAverage_raw, cPixelDetectorCommon::powderRadialAverage_raw_squared, cPixelDetectorCommon::powderVersionMain, cPixelDetectorCommon::radial_nn, cPixelDetectorEvent::radialAverage_detCorr, cPixelDetectorEvent::radialAverage_detPhotCorr, cPixelDetectorEvent::radialAverage_pixelmask, and cPixelDetectorEvent::radialAverage_raw.
float * cDataVersion::getData | ( | ) |
Definition at line 272 of file dataVersion.cpp.
References ERROR.
Referenced by addToPowder(), assemble2DImage(), calculateRadialAverage(), downsample(), and writeCXI().
uint16_t * cDataVersion::getPixelmask | ( | ) |
Definition at line 279 of file dataVersion.cpp.
References ERROR.
Referenced by calculateRadialAverage(), and writeCXI().
double * cDataVersion::getPowder | ( | long | powderClass | ) |
Definition at line 286 of file dataVersion.cpp.
References ERROR.
Referenced by addToPowder(), calculateRadialAveragePowder(), savePowderPattern(), and writeAccumulatedCXI().
pthread_mutex_t * cDataVersion::getPowderMutex | ( | long | powderClass | ) |
Definition at line 300 of file dataVersion.cpp.
References ERROR, and cPixelDetectorCommon::null_mutex.
Referenced by addToPowder(), and savePowderPattern().
double * cDataVersion::getPowderSquared | ( | long | powderClass | ) |
Definition at line 293 of file dataVersion.cpp.
References ERROR.
Referenced by addToPowder(), savePowderPattern(), and writeAccumulatedCXI().
bool cDataVersion::next | ( | ) |
Definition at line 234 of file dataVersion.cpp.
References DATA_VERSION_DETECTOR_AND_PHOTON_CORRECTED, DATA_VERSION_DETECTOR_CORRECTED, DATA_VERSION_RAW, isBitOptionSet(), isMainDataset, isMainVersion, name, name_format, name_version, and cPixelDetectorCommon::nPowderClasses.
Referenced by addToPowder(), assemble2DImage(), calculateRadialAverage(), calculateRadialAveragePowder(), createCXISkeleton(), downsample(), savePowderPattern(), writeAccumulatedCXI(), and writeCXI().
const cDataVersion::dataFormat_t cDataVersion::DATA_FORMATS [static] |
Initial value:
{DATA_FORMAT_NON_ASSEMBLED, DATA_FORMAT_ASSEMBLED, DATA_FORMAT_ASSEMBLED_AND_DOWNSAMPLED, DATA_FORMAT_RADIAL_AVERAGE}
Definition at line 34 of file dataVersion.h.
Referenced by addToPowder(), createCXISkeleton(), savePowderPattern(), cPixelDetectorCommon::unlockMutexes(), and writeAccumulatedCXI().
char cDataVersion::name[1024] |
Definition at line 42 of file dataVersion.h.
Referenced by createCXISkeleton(), next(), savePowderPattern(), writeAccumulatedCXI(), and writeCXI().
char cDataVersion::name_format[1024] |
char cDataVersion::name_version[1024] |
Definition at line 44 of file dataVersion.h.
Referenced by createCXISkeleton(), next(), and writeCXI().
long cDataVersion::pix_nn |
Definition at line 46 of file dataVersion.h.
Referenced by addToPowder(), cDataVersion(), createCXISkeleton(), savePowderPattern(), and writeAccumulatedCXI().
long cDataVersion::pix_nx |
Definition at line 46 of file dataVersion.h.
Referenced by cDataVersion(), createCXISkeleton(), and savePowderPattern().
long cDataVersion::pix_ny |
Definition at line 46 of file dataVersion.h.
Referenced by cDataVersion(), createCXISkeleton(), and savePowderPattern().