Previously forgot to change singlePhotonCounter on line 192 of jungfrauRawDataProcess.cpp so that the common mode correction was applied again. Now fixed.

This commit is contained in:
paton_k 2024-02-01 16:44:51 +01:00
parent 88e6b9685e
commit f3c669f193

View File

@ -184,15 +184,13 @@ int main(int argc, char *argv[]) {
cout << "Nframes is " << nframes << endl;
uint32_t nnx, nny;
//commonModeSubtraction *cm = NULL;
//#ifdef CMS
//cm = new commonModeSubtractionSuperColumnJF();
//std::cout << "Enabled common mode subtraction" << std::endl;
//#endif
//singlePhotonDetector *filter = new singlePhotonDetector(
// decoder, 3, nsigma, 1, cm, nped, 200, -1, -1, gainmap, NULL);
commonModeSubtraction *cm = NULL;
#ifdef CMS
cm = new commonModeSubtractionSuperColumnJF();
std::cout << "Enabled common mode subtraction" << std::endl;
#endif
singlePhotonDetector *filter = new singlePhotonDetector(
decoder, 3, nsigma, 1, NULL, nped, 200, -1, -1, gainmap, NULL);
decoder, 3, nsigma, 1, cm, nped, 200, -1, -1, gainmap, NULL);
if (gainfname) {