Alignment
CocoaModel
interface
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>
15
#include "
Alignment/CocoaModel/interface/Measurement.h
"
16
#include "
Alignment/CocoaUtilities/interface/CocoaGlobals.h
"
17
18
class
MeasurementTiltmeter
:
public
Measurement
{
19
public
:
20
MeasurementTiltmeter
(
const
ALIint
measdim,
ALIstring
&
type
,
ALIstring
&
name
)
21
:
Measurement
(measdim,
type
,
name
),
22
theFactor
(1.),
23
theFactorSigma
(0.),
24
theConstantTerm
(0.),
25
theConstantTermSigma
(0.),
26
thePedestal
(0.),
27
thePedestalSigma
(0.){};
28
MeasurementTiltmeter
(){};
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
:
41
ALIdouble
theFactor
;
42
ALIdouble
theFactorSigma
;
43
ALIdouble
theConstantTerm
;
44
ALIdouble
theConstantTermSigma
;
45
ALIdouble
thePedestal
;
46
ALIdouble
thePedestalSigma
;
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
Generated for CMSSW Reference Manual by
1.8.16