From 3150276bfe7546bed77a85634e22c4059671f86a Mon Sep 17 00:00:00 2001 From: vhinger Date: Fri, 11 Oct 2024 17:12:55 +0200 Subject: [PATCH] Add frame number --- .../dataStructures/jungfrauLGADStrixelsDataQuadH5.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slsDetectorCalibration/dataStructures/jungfrauLGADStrixelsDataQuadH5.h b/slsDetectorCalibration/dataStructures/jungfrauLGADStrixelsDataQuadH5.h index ae780a69c..c7d232cba 100644 --- a/slsDetectorCalibration/dataStructures/jungfrauLGADStrixelsDataQuadH5.h +++ b/slsDetectorCalibration/dataStructures/jungfrauLGADStrixelsDataQuadH5.h @@ -250,7 +250,7 @@ class jungfrauLGADStrixelsDataQuadH5 : public slsDetectorData { //The following functions are pure virtual in the base class. But I don't want them to be accessible here! //Implement the functions as private (to satisfy the linker) - int getFrameNumber(char* buff){return 0;} //Provided via public method readNextFrame + //int getFrameNumber(char* buff){return 0;} //This is actually needed because the cluster finder writes the framenumber int getPacketNumber(char* buff){return 0;} //Not provided //Mark overwritten functions as override final @@ -385,6 +385,8 @@ class jungfrauLGADStrixelsDataQuadH5 : public slsDetectorData { return nullptr; }; + int getFrameNumber(char* buff){return iframe;} //Provided via public method readNextFrame + /* Loops over a memory slot until a complete frame is found (i.e. all */