Add frame number

This commit is contained in:
hinger_v 2024-10-11 17:12:55 +02:00
parent 7b4740ced2
commit 3150276bfe

View File

@ -250,7 +250,7 @@ class jungfrauLGADStrixelsDataQuadH5 : public slsDetectorData<uint16_t> {
//The following functions are pure virtual in the base class. But I don't want them to be accessible here! //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) //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 int getPacketNumber(char* buff){return 0;} //Not provided
//Mark overwritten functions as override final //Mark overwritten functions as override final
@ -385,6 +385,8 @@ class jungfrauLGADStrixelsDataQuadH5 : public slsDetectorData<uint16_t> {
return nullptr; 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 */ /* Loops over a memory slot until a complete frame is found (i.e. all */