CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MeasurementSensor2D.h
Go to the documentation of this file.
1 // COCOA class header file
2 // Id: MeasurementSensor2D.h
3 // CAT: Model
4 //
5 // Class for measurements
6 //
7 // History: v1.0
8 // Authors:
9 // Pedro Arce
10 
11 #ifndef _MEASUREMENTSENSOR2D_HH
12 #define _MEASUREMENTSENSOR2D_HH
13 
14 #include <vector>
17 
19 public:
20  MeasurementSensor2D(const ALIint measdim, ALIstring& type, ALIstring& name) : Measurement(measdim, type, name){};
22  ~MeasurementSensor2D() override{};
23 
24  // Get simulated value (called every time a parameter is displaced)
25  void calculateSimulatedValue(ALIbool firstTime) override;
26 
27  //---------- Add any correction between the measurement data and the default format in COCOA
28  void correctValueAndSigma() override;
29 
30  //---------- Convert from V to rad
31  void setConversionFactor(const std::vector<ALIstring>& wordlist) override;
32 
33 private:
36 };
37 
38 #endif
long double ALIdouble
Definition: CocoaGlobals.h:11
int ALIint
Definition: CocoaGlobals.h:15
void calculateSimulatedValue(ALIbool firstTime) override
void correctValueAndSigma() override
bool ALIbool
Definition: CocoaGlobals.h:19
MeasurementSensor2D(const ALIint measdim, ALIstring &type, ALIstring &name)
void setConversionFactor(const std::vector< ALIstring > &wordlist) override
std::string ALIstring
Definition: CocoaGlobals.h:9
const ALIstring & name() const
Definition: Measurement.h:86