mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
modify RawDataProcess
This commit is contained in:
parent
51d34063ac
commit
95b7be6842
@ -14,6 +14,11 @@ add_executable(jungfrauRawDataProcess jungfrauRawDataProcess.cpp)
|
||||
target_compile_definitions(jungfrauRawDataProcess PRIVATE MODULE)
|
||||
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcess)
|
||||
|
||||
# jungfrauRawDataProcessChipAldo
|
||||
add_executable(jungfrauRawDataProcessChip jungfrauRawDataProcess.cpp)
|
||||
target_compile_definitions(jungfrauRawDataProcessChip PRIVATE CHIP ALDO)
|
||||
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessChipAldo)
|
||||
|
||||
# jungfrauRawDataProcessStrx
|
||||
add_executable(jungfrauRawDataProcessStrx jungfrauRawDataProcess_filetxt.cpp)
|
||||
target_compile_definitions(jungfrauRawDataProcessStrx PRIVATE JFSTRX)
|
||||
|
@ -11,7 +11,7 @@
|
||||
#define RAWDATA
|
||||
|
||||
#if !defined JFSTRX && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
||||
!defined JFSTRXCHIP6
|
||||
!defined JFSTRXCHIP6 && !defined CHIP
|
||||
#ifndef MODULE
|
||||
#include "jungfrauHighZSingleChipData.h"
|
||||
#endif
|
||||
@ -20,6 +20,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CHIP
|
||||
#include "jungfrauSingleChipData.h"
|
||||
#endif
|
||||
|
||||
#ifdef JFSTRX
|
||||
#include "jungfrauLGADStrixelsData_new.h"
|
||||
#endif
|
||||
@ -180,7 +184,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
// Define decoders...
|
||||
#if !defined JFSTRX && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
||||
!defined JFSTRXCHIP6
|
||||
!defined JFSTRXCHIP6 && !defined CHIP
|
||||
#ifndef MODULE
|
||||
jungfrauHighZSingleChipData *decoder = new jungfrauHighZSingleChipData();
|
||||
int nx = 256, ny = 256;
|
||||
@ -191,8 +195,14 @@ int main(int argc, char *argv[]) {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CHIP
|
||||
std::cout << "Jungfrau pixel module single chip readout" << std::endl;
|
||||
jungfrauSingleChipData *decoder = new jungfrauSingleChipData();
|
||||
int nx = 256, ny = 256;
|
||||
#endif
|
||||
|
||||
#ifdef JFSTRX
|
||||
cout << "Jungfrau strixel full module readout" << endl;
|
||||
std::cout << "Jungfrau strixel full module readout" << std::endl;
|
||||
|
||||
#ifndef ALDO
|
||||
if (readrxroifromdatafile)
|
||||
|
Loading…
x
Reference in New Issue
Block a user