mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-15 14:27:13 +02:00
Compile strixel quad in cluster finder
This commit is contained in:
@ -15,8 +15,8 @@ target_compile_definitions(jungfrauRawDataProcess PRIVATE MODULE)
|
|||||||
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcess)
|
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcess)
|
||||||
|
|
||||||
# jungfrauRawDataProcessChipAldo
|
# jungfrauRawDataProcessChipAldo
|
||||||
add_executable(jungfrauRawDataProcessChip jungfrauRawDataProcess.cpp)
|
add_executable(jungfrauRawDataProcessChipAldo jungfrauRawDataProcess_filetxt.cpp)
|
||||||
target_compile_definitions(jungfrauRawDataProcessChip PRIVATE CHIP ALDO)
|
target_compile_definitions(jungfrauRawDataProcessChipAldo PRIVATE CHIP ALDO)
|
||||||
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessChipAldo)
|
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessChipAldo)
|
||||||
|
|
||||||
# jungfrauRawDataProcessStrx
|
# jungfrauRawDataProcessStrx
|
||||||
@ -24,6 +24,11 @@ add_executable(jungfrauRawDataProcessStrx jungfrauRawDataProcess_filetxt.cpp)
|
|||||||
target_compile_definitions(jungfrauRawDataProcessStrx PRIVATE JFSTRX)
|
target_compile_definitions(jungfrauRawDataProcessStrx PRIVATE JFSTRX)
|
||||||
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessStrx)
|
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessStrx)
|
||||||
|
|
||||||
|
# jungfrauRawDataProcessStrxQuad
|
||||||
|
add_executable(jungfrauRawDataProcessStrxQuad jungfrauRawDataProcess_filetxt.cpp)
|
||||||
|
target_compile_definitions(jungfrauRawDataProcessStrxQuad PRIVATE JFSTRXQ)
|
||||||
|
list(APPEND JUNGFRAU_EXECUTABLES jungfrauRawDataProcessStrxQuad)
|
||||||
|
|
||||||
|
|
||||||
# jungfrauRawDataProcessStrxChip1
|
# jungfrauRawDataProcessStrxChip1
|
||||||
add_executable(jungfrauRawDataProcessStrxChip1 jungfrauRawDataProcess.cpp)
|
add_executable(jungfrauRawDataProcessStrxChip1 jungfrauRawDataProcess.cpp)
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#define RAWDATA
|
#define RAWDATA
|
||||||
|
|
||||||
#if !defined JFSTRX && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
#if !defined JFSTRX && !defined JFSTRXQ && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
||||||
!defined JFSTRXCHIP6 && !defined CHIP
|
!defined JFSTRXCHIP6 && !defined CHIP
|
||||||
#ifndef MODULE
|
#ifndef MODULE
|
||||||
#include "jungfrauHighZSingleChipData.h"
|
#include "jungfrauHighZSingleChipData.h"
|
||||||
@ -27,6 +27,9 @@
|
|||||||
#ifdef JFSTRX
|
#ifdef JFSTRX
|
||||||
#include "jungfrauLGADStrixelsData_new.h"
|
#include "jungfrauLGADStrixelsData_new.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef JFSTRXQ
|
||||||
|
#include "jungfrauLGADStrixelsDataQuad.h"
|
||||||
|
#endif
|
||||||
#if defined JFSTRXCHIP1 || defined JFSTRXCHIP6
|
#if defined JFSTRXCHIP1 || defined JFSTRXCHIP6
|
||||||
#include "jungfrauLGADStrixelsDataSingleChip.h"
|
#include "jungfrauLGADStrixelsDataSingleChip.h"
|
||||||
#endif
|
#endif
|
||||||
@ -179,7 +182,7 @@ int main(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Define decoders...
|
// Define decoders...
|
||||||
#if !defined JFSTRX && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
#if !defined JFSTRX !defined JFSTRXQ && !defined JFSTRXOLD && !defined JFSTRXCHIP1 && \
|
||||||
!defined JFSTRXCHIP6 && !defined CHIP
|
!defined JFSTRXCHIP6 && !defined CHIP
|
||||||
#ifndef MODULE
|
#ifndef MODULE
|
||||||
jungfrauHighZSingleChipData *decoder = new jungfrauHighZSingleChipData();
|
jungfrauHighZSingleChipData *decoder = new jungfrauHighZSingleChipData();
|
||||||
@ -198,7 +201,7 @@ int main(int argc, char *argv[]) {
|
|||||||
#endif
|
#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)
|
||||||
@ -239,6 +242,12 @@ int main(int argc, char *argv[]) {
|
|||||||
new jungfrauLGADStrixelsData(rxroi_xmin, rxroi_xmax, rxroi_ymin, rxroi_ymax);
|
new jungfrauLGADStrixelsData(rxroi_xmin, rxroi_xmax, rxroi_ymin, rxroi_ymax);
|
||||||
int nx = 1024 / 3, ny = 512 * 5;
|
int nx = 1024 / 3, ny = 512 * 5;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef JFSTRXQ
|
||||||
|
std::cout << "Jungfrau strixel quad" << std::endl;
|
||||||
|
jungfrauLGADStrixelsDataQuad *decoder =
|
||||||
|
new jungfrauLGADStrixelsDataQuad(rxroi_xmin, rxroi_xmax, rxroi_ymin, rxroi_ymax);
|
||||||
|
int nx = 1024 / 3, ny = 512 * 3;
|
||||||
|
#endif
|
||||||
#ifdef JFSTRXCHIP1
|
#ifdef JFSTRXCHIP1
|
||||||
std::cout << "Jungfrau strixel LGAD single chip 1" << std::endl;
|
std::cout << "Jungfrau strixel LGAD single chip 1" << std::endl;
|
||||||
jungfrauLGADStrixelsDataSingleChip *decoder =
|
jungfrauLGADStrixelsDataSingleChip *decoder =
|
||||||
|
Reference in New Issue
Block a user