reshuffling by Anna

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@179 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2012-05-14 13:39:18 +00:00
parent b484ad7f20
commit b5e966bb58
19 changed files with 528 additions and 631 deletions

View File

@@ -3,7 +3,7 @@
#define ANGULARCONVERSION_H
#include "sls_detector_defs.h"
#include "slsDetectorBase.h"
#include <string>
#include <fstream>
@@ -38,7 +38,7 @@ class containing the methods to set/unset the angular conversion and merge the d
The angular conversion itself is defined by the angle() function defined in usersFunctions.cpp
*/
class angularConversion : public slsDetectorDefs {
class angularConversion : public virtual slsDetectorBase {
public:
/** default constructor */
@@ -281,12 +281,7 @@ class angularConversion : public slsDetectorDefs {
*/
float getAngularConversionParameter(angleConversionParameter c);
/**
pure virtual function
\returns total number of channels of the (multi)detector
*/
virtual int getTotalNumberOfChannels()=0;
/**
@@ -385,11 +380,6 @@ class angularConversion : public slsDetectorDefs {
*/
virtual int getMoveFlag(int imod)=0;
/**
returns current position index
*/
int getCurrentPositionIndex() {return currentPositionIndex;};
/**
returns number of positions
*/
@@ -428,6 +418,7 @@ class angularConversion : public slsDetectorDefs {
*/
float currentPosition;
/**
current position index of the detector
*/
@@ -441,6 +432,11 @@ class angularConversion : public slsDetectorDefs {
*/
virtual int setAngularCorrectionMask(int i=-1)=0;
/**
returns current position index
*/
int getCurrentPositionIndex() {return currentPositionIndex;};
void incrementPositionIndex() {currentPositionIndex++;};
private:
/** merging bins */