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)
|
target_compile_definitions(jungfrauRawDataProcess PRIVATE MODULE)
|
||||||
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcess)
|
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcess)
|
||||||
|
|
||||||
|
# jungfrauRawDataProcessChipAldo
|
||||||
|
add_executable(jungfrauRawDataProcessChip jungfrauRawDataProcess.cpp)
|
||||||
|
target_compile_definitions(jungfrauRawDataProcessChip PRIVATE CHIP ALDO)
|
||||||
|
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessChipAldo)
|
||||||
|
|
||||||
# jungfrauRawDataProcessStrx
|
# jungfrauRawDataProcessStrx
|
||||||
add_executable(jungfrauRawDataProcessStrx jungfrauRawDataProcess_filetxt.cpp)
|
add_executable(jungfrauRawDataProcessStrx jungfrauRawDataProcess_filetxt.cpp)
|
||||||
target_compile_definitions(jungfrauRawDataProcessStrx PRIVATE JFSTRX)
|
target_compile_definitions(jungfrauRawDataProcessStrx PRIVATE JFSTRX)
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#define RAWDATA
|
#define RAWDATA
|
||||||
|
|
||||||
#if !defined JFSTRX && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
#if !defined JFSTRX && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
||||||
!defined JFSTRXCHIP6
|
!defined JFSTRXCHIP6 && !defined CHIP
|
||||||
#ifndef MODULE
|
#ifndef MODULE
|
||||||
#include "jungfrauHighZSingleChipData.h"
|
#include "jungfrauHighZSingleChipData.h"
|
||||||
#endif
|
#endif
|
||||||
@ -20,6 +20,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CHIP
|
||||||
|
#include "jungfrauSingleChipData.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef JFSTRX
|
#ifdef JFSTRX
|
||||||
#include "jungfrauLGADStrixelsData_new.h"
|
#include "jungfrauLGADStrixelsData_new.h"
|
||||||
#endif
|
#endif
|
||||||
@ -180,7 +184,7 @@ int main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
// Define decoders...
|
// Define decoders...
|
||||||
#if !defined JFSTRX && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
#if !defined JFSTRX && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
||||||
!defined JFSTRXCHIP6
|
!defined JFSTRXCHIP6 && !defined CHIP
|
||||||
#ifndef MODULE
|
#ifndef MODULE
|
||||||
jungfrauHighZSingleChipData *decoder = new jungfrauHighZSingleChipData();
|
jungfrauHighZSingleChipData *decoder = new jungfrauHighZSingleChipData();
|
||||||
int nx = 256, ny = 256;
|
int nx = 256, ny = 256;
|
||||||
@ -191,8 +195,14 @@ int main(int argc, char *argv[]) {
|
|||||||
#endif
|
#endif
|
||||||
#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
|
#ifdef JFSTRX
|
||||||
cout << "Jungfrau strixel full module readout" << endl;
|
std::cout << "Jungfrau strixel full module readout" << std::endl;
|
||||||
|
|
||||||
#ifndef ALDO
|
#ifndef ALDO
|
||||||
if (readrxroifromdatafile)
|
if (readrxroifromdatafile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user