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
ALIbool
bool ALIbool
Definition: CocoaGlobals.h:19
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
MeasurementTiltmeter::theFactor
ALIdouble theFactor
Definition: MeasurementTiltmeter.h:41
MeasurementTiltmeter::calculateSimulatedValue
void calculateSimulatedValue(ALIbool firstTime) override
Definition: MeasurementTiltmeter.cc:20
MeasurementTiltmeter::MeasurementTiltmeter
MeasurementTiltmeter()
Definition: MeasurementTiltmeter.h:28
MeasurementTiltmeter::MeasurementTiltmeter
MeasurementTiltmeter(const ALIint measdim, ALIstring &type, ALIstring &name)
Definition: MeasurementTiltmeter.h:20
MeasurementTiltmeter::setConversionFactor
void setConversionFactor(const std::vector< ALIstring > &wordlist) override
Definition: MeasurementTiltmeter.cc:49
MeasurementTiltmeter::theConstantTerm
ALIdouble theConstantTerm
Definition: MeasurementTiltmeter.h:43
MeasurementTiltmeter
Definition: MeasurementTiltmeter.h:18
Measurement
Definition: Measurement.h:27
MeasurementTiltmeter::thePedestal
ALIdouble thePedestal
Definition: MeasurementTiltmeter.h:45
Measurement.h
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
ALIdouble
long double ALIdouble
Definition: CocoaGlobals.h:11
Measurement::name
const ALIstring & name() const
Definition: Measurement.h:86
MeasurementTiltmeter::theConstantTermSigma
ALIdouble theConstantTermSigma
Definition: MeasurementTiltmeter.h:44
ALIint
int ALIint
Definition: CocoaGlobals.h:15
MeasurementTiltmeter::correctValueAndSigma
void correctValueAndSigma() override
Definition: MeasurementTiltmeter.cc:97
CocoaGlobals.h
MeasurementTiltmeter::theFactorSigma
ALIdouble theFactorSigma
Definition: MeasurementTiltmeter.h:42
MeasurementTiltmeter::thePedestalSigma
ALIdouble thePedestalSigma
Definition: MeasurementTiltmeter.h:46
MeasurementTiltmeter::~MeasurementTiltmeter
~MeasurementTiltmeter() override
Definition: MeasurementTiltmeter.h:29