mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
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:
@ -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)) {
|
||||
|
Reference in New Issue
Block a user