CMS 3D CMS Logo

MeasurementTiltmeter.h
Go to the documentation of this file.
1 // COCOA class header file
2 // Id: MeasurementTiltmeter.h
3 // CAT: Model
4 //
5 // Class for measurements
6 //
7 // History: v1.0
8 // Authors:
9 // Pedro Arce
10 
11 #ifndef _MEASUREMENTTILTMETER_HH
12 #define _MEASUREMENTTILTMETER_HH
13 
14 #include <vector>
17 
19 public:
21  : Measurement(measdim, type, name),
22  theFactor(1.),
23  theFactorSigma(0.),
24  theConstantTerm(0.),
26  thePedestal(0.),
27  thePedestalSigma(0.){};
29  ~MeasurementTiltmeter() override{};
30 
31  // Get simulated value (called every time a parameter is displaced)
32  void calculateSimulatedValue(ALIbool firstTime) override;
33 
34  //---------- Convert from V to rad
35  void setConversionFactor(const std::vector<ALIstring>& wordlist) override;
36 
37  //---------- Add any correction between the measurement data and the default format in COCOA
38  void correctValueAndSigma() override;
39 
40 private:
47 };
48 
49 #endif
long double ALIdouble
Definition: CocoaGlobals.h:11
void calculateSimulatedValue(ALIbool firstTime) override
void setConversionFactor(const std::vector< ALIstring > &wordlist) override
int ALIint
Definition: CocoaGlobals.h:15
bool ALIbool
Definition: CocoaGlobals.h:19
std::string ALIstring
Definition: CocoaGlobals.h:9
MeasurementTiltmeter(const ALIint measdim, ALIstring &type, ALIstring &name)
void correctValueAndSigma() override
const ALIstring & name() const
Definition: Measurement.h:86