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

@ -142,15 +142,15 @@ class jungfrauModuleData : public slsDetectorData<uint16_t> {
};
char *readNextFrame(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)) {