mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
minor fixes (#708)
This commit is contained in:
@ -30,13 +30,14 @@ int main(int argc, char *argv[]) {
|
||||
int runmax = atoi(argv[5]);
|
||||
int nsubpix = atoi(argv[6]);
|
||||
|
||||
int etabins = 1000; // nsubpix*2*100;
|
||||
double etamin = -1, etamax = 2;
|
||||
// int etabins = 1000; // nsubpix*2*100;
|
||||
// double etamin = -1, etamax = 2;
|
||||
int quad;
|
||||
double sum, totquad;
|
||||
double sDum[2][2];
|
||||
double etax, etay, int_x, int_y;
|
||||
int ok;
|
||||
// double etax, etay;
|
||||
double int_x, int_y;
|
||||
// int ok;
|
||||
|
||||
int ix, iy, isx, isy;
|
||||
|
||||
|
@ -86,17 +86,10 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
int nx = 400, ny = 400;
|
||||
|
||||
//Read detector size from decoder
|
||||
int nx , ny;
|
||||
decoder->getDetectorSize(nx, ny);
|
||||
#ifdef CORR
|
||||
int ncol_cm = CM_ROWS;
|
||||
double xt_ghost = C_GHOST;
|
||||
#endif
|
||||
moench03CommonMode *cm = NULL;
|
||||
moench03GhostSummation *gs;
|
||||
double *gainmap = NULL;
|
||||
|
||||
//float *gm;
|
||||
|
||||
int ff, np;
|
||||
@ -171,8 +164,15 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
uint32_t nnx, nny;
|
||||
|
||||
|
||||
moench03CommonMode *cm = nullptr;
|
||||
moench03GhostSummation *gs = nullptr;
|
||||
double *gainmap = nullptr;
|
||||
|
||||
#ifdef CORR
|
||||
cout << "Applying common mode " << ncol_cm << endl;
|
||||
int ncol_cm = CM_ROWS;
|
||||
double xt_ghost = C_GHOST;
|
||||
std::cout << "Applying common mode " << ncol_cm << endl;
|
||||
cm = new moench03CommonMode(ncol_cm);
|
||||
|
||||
// cout << "Applying ghost corrections " << xt_ghost << endl;
|
||||
|
Reference in New Issue
Block a user