mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 08:09:21 +01:00
Quad (#39)
* making quad work in developer branch * binary added * minor changes * bug fix to set quad to 0 when more than 1 detector
This commit is contained in:
@@ -373,6 +373,20 @@ class multiSlsDetector : public virtual slsDetectorDefs {
|
||||
*/
|
||||
int setMaxNumberOfChannelsPerDetector(dimension d, int i);
|
||||
|
||||
/**
|
||||
* Get Quad Type (Only for Eiger Quad detector hardware)
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
* @returns quad type
|
||||
*/
|
||||
int getQuad(int detPos = -1);
|
||||
|
||||
/**
|
||||
* Set Quad Type (Only for Eiger Quad detector hardware)
|
||||
* @param enable true if quad type set, else false
|
||||
* @param detPos -1 for all detectors in list or specific detector position
|
||||
*/
|
||||
void setQuad(const bool enable, int detPos = -1);
|
||||
|
||||
/**
|
||||
* Get Detector offset from shared memory in dimension d
|
||||
* @param d dimension d
|
||||
|
||||
@@ -473,6 +473,18 @@ class slsDetector : public virtual slsDetectorDefs{
|
||||
* @returns number of chips per module in dimension d
|
||||
*/
|
||||
int getNChips(dimension d) const;
|
||||
|
||||
/**
|
||||
* Get Quad Type (Only for Eiger Quad detector hardware)
|
||||
* @returns quad type
|
||||
*/
|
||||
int getQuad();
|
||||
|
||||
/**
|
||||
* Set Quad Type (Only for Eiger Quad detector hardware)
|
||||
* @param enable true if quad type set, else false
|
||||
*/
|
||||
void setQuad(const bool enable);
|
||||
|
||||
/**
|
||||
* Get Detector offset from shared memory in dimension d
|
||||
|
||||
Reference in New Issue
Block a user