areaDetector  3-5-0
EPICS areaDetector framework
ADnEDTransform.h
Go to the documentation of this file.
1 
26 #ifndef ADNED_TRANSFORM_H
27 #define ADNED_TRANSFORM_H
28 
29 #include "epicsTypes.h"
30 #include "ADnEDGlobals.h"
31 #include "ADnEDTransformBase.h"
32 
34 
35  public:
37  virtual ~ADnEDTransform();
38 
39  //Call this to transform the TOF using a particular calculation (specified by type)
40  //This is the only public function that you need to define in a derived class.
41  epicsFloat64 calculate(epicsUInt32 type, epicsUInt32 pixelID, epicsUInt32 tof) const;
42 
43  private:
44  //These are the functions that do the real work, at least in this implementation
45  epicsFloat64 calc_dspace_static(epicsUInt32 pixelID, epicsUInt32 tof) const;
46  epicsFloat64 calc_dspace_dynamic(epicsUInt32 pixelID, epicsUInt32 tof) const;
47  epicsFloat64 calc_deltaE(epicsUInt32 pixelID, epicsUInt32 tof) const;
48 
49 };
50 
51 #endif //ADNED_TRANSFORM_H
epicsFloat64 calculate(epicsUInt32 type, epicsUInt32 pixelID, epicsUInt32 tof) const
Transform the time of flight value into a another parameter.
Definition: ADnEDTransform.cpp:57
ADnEDTransform base class.
Definition: ADnEDTransformBase.h:16
Library of functions to use for transforming the time of flight value into another parameter (for exa...
Definition: ADnEDTransform.h:33
ADnEDTransform()
Constructor.
Definition: ADnEDTransform.cpp:8
virtual ~ADnEDTransform()
Destructor.
Definition: ADnEDTransform.cpp:15