1 - Add cmake for jungfrauExecutables rawdataprocess (#717)

* Fix ROI mapping

* intial draft of cmake for jungfrau executables Makefile.rawdataprocess

* added the cmake file

* missed Makefile

* added libfmt

* Fix some compiler warnings


---------

Co-authored-by: vhinger182 <hinger_v@hv_home_lt1.localdomain>
Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
This commit is contained in:
2023-04-27 13:59:13 +02:00
committed by GitHub
parent cb4f733350
commit f4e05f7a01
8 changed files with 178 additions and 56 deletions

View File

@ -69,7 +69,7 @@ class jungfrauLGADStrixelsDataSingleChip : public slsDetectorData<uint16_t> {
int mchip;
void remapGroup( const int group ) {
int ix, iy;
int ix, iy=0;
int x0, y0, x1, y1, shifty;
int multiplicator;
@ -261,15 +261,15 @@ class jungfrauLGADStrixelsDataSingleChip : public slsDetectorData<uint16_t> {
};
char *readNextFrame(std::ifstream &filebin, int &ff, int &np,char *data) {
char *retval = 0;
int nd;
int fnum = -1;
//char *retval = 0;
//int nd;
//int fnum = -1;
np = 0;
int pn;
//int pn;
// cout << dataSize << endl;
if (ff >= 0)
fnum = ff;
// fnum = ff;
if (filebin.is_open()) {
if (filebin.read(data, dataSize)) {