mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-08 19:10:42 +02:00
now it should work also with jungfrau
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@33 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
parent
71c66775cc
commit
02c85d4638
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include "slsDetectorData.h"
|
#include "slsDetectorData.h"
|
||||||
|
|
||||||
class chiptestBoardData : public slsDetectorData<uint16_t> {
|
class chiptestBoardData : public virtual slsDetectorData<uint16_t> {
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -154,6 +154,11 @@ class slsDetectorData {
|
|||||||
*/
|
*/
|
||||||
int getDetectorSize(int &npx, int &npy){npx=nx; npy=ny; return nx*ny;};
|
int getDetectorSize(int &npx, int &npy){npx=nx; npy=ny; return nx*ny;};
|
||||||
|
|
||||||
|
/** Returns the size of the data frame */
|
||||||
|
int getDataSize() {return dataSize;};
|
||||||
|
/** changes the size of the data frame */
|
||||||
|
int setDataSize(int d) {dataSize=d; return dataSize;};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
@ -229,11 +234,6 @@ class slsDetectorData {
|
|||||||
*/
|
*/
|
||||||
virtual char *readNextFrame(ifstream &filebin)=0;
|
virtual char *readNextFrame(ifstream &filebin)=0;
|
||||||
|
|
||||||
/** Returns the size of the data frame */
|
|
||||||
int getDataSize() {return dataSize;};
|
|
||||||
/** changes the size of the data frame */
|
|
||||||
int setDataSize(int d) {};//dataSize=d; return dataSize;};
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const int nx; /**< Number of pixels in the x direction */
|
const int nx; /**< Number of pixels in the x direction */
|
||||||
const int ny; /**< Number of pixels in the y direction */
|
const int ny; /**< Number of pixels in the y direction */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user