added and fixed gotthard 25um file and zmq photon finder

This commit is contained in:
2017-12-19 13:40:05 +01:00
parent 7602ffc5ac
commit 31589ce352
15 changed files with 925 additions and 119 deletions

View File

@ -286,7 +286,7 @@ public analogDetector<uint16_t> {
}
}
cout << iframe << " " << nph << endl;
} else return getClusters(data);
} else return getClusters(data, nph);
}
return NULL;
};
@ -410,7 +410,7 @@ public analogDetector<uint16_t> {
*/
int *getClusters(char *data) {
int *getClusters(char *data, int *ph=NULL) {
int nph=0;
@ -421,6 +421,9 @@ int *getClusters(char *data) {
double max=0, tl=0, tr=0, bl=0,br=0, *v, vv;
if (ph==NULL)
ph=image;
if (iframe<nDark) {
addToPedestal(data);
return 0;