Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Alignment
CocoaModel
interface
MeasurementDistancemeter.h
Go to the documentation of this file.
1
// COCOA class header file
2
// Id: MeasurementDistancemeter.h
3
// CAT: Model
4
//
5
// Class for measurements
6
//
7
// History: v1.0
8
// Authors:
9
// Pedro Arce
10
11
#ifndef _MEASUREMENTDISTANCEMETER_HH
12
#define _MEASUREMENTDISTANCEMETER_HH
13
14
#include <vector>
15
#include "
Alignment/CocoaModel/interface/Measurement.h
"
16
#include "
Alignment/CocoaUtilities/interface/CocoaGlobals.h
"
17
18
class
MeasurementDistancemeter
:
public
Measurement
{
19
public
:
20
MeasurementDistancemeter
(
const
ALIint
measdim,
ALIstring
&
type
,
ALIstring
&
name
)
21
:
Measurement
(measdim,
type
,
name
),
theFactor
(1.),
theFactorSigma
(0.){};
22
MeasurementDistancemeter
(){};
23
~MeasurementDistancemeter
()
override
{};
24
25
// Get simulated value (called every time a parameter is displaced)
26
void
calculateSimulatedValue
(
ALIbool
firstTime)
override
;
27
28
//---------- Convert from V to rad
29
void
setConversionFactor
(
const
std::vector<ALIstring>& wordlist)
override
;
30
31
//---------- Add any correction between the measurement data and the default format in COCOA
32
void
correctValueAndSigma
()
override
;
33
34
private
:
35
ALIdouble
theFactor
;
36
ALIdouble
theFactorSigma
;
37
};
38
39
#endif
ALIbool
bool ALIbool
Definition:
CocoaGlobals.h:19
MeasurementDistancemeter::MeasurementDistancemeter
MeasurementDistancemeter()
Definition:
MeasurementDistancemeter.h:22
MeasurementDistancemeter::MeasurementDistancemeter
MeasurementDistancemeter(const ALIint measdim, ALIstring &type, ALIstring &name)
Definition:
MeasurementDistancemeter.h:20
MeasurementDistancemeter::theFactor
ALIdouble theFactor
Definition:
MeasurementDistancemeter.h:35
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
MeasurementDistancemeter::correctValueAndSigma
void correctValueAndSigma() override
Definition:
MeasurementDistancemeter.cc:138
MeasurementDistancemeter::calculateSimulatedValue
void calculateSimulatedValue(ALIbool firstTime) override
Definition:
MeasurementDistancemeter.cc:25
MeasurementDistancemeter::setConversionFactor
void setConversionFactor(const std::vector< ALIstring > &wordlist) override
Definition:
MeasurementDistancemeter.cc:104
Measurement
Definition:
Measurement.h:27
MeasurementDistancemeter
Definition:
MeasurementDistancemeter.h:18
Measurement.h
MeasurementDistancemeter::~MeasurementDistancemeter
~MeasurementDistancemeter() override
Definition:
MeasurementDistancemeter.h:23
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:37
ALIdouble
long double ALIdouble
Definition:
CocoaGlobals.h:11
Measurement::name
const ALIstring & name() const
Definition:
Measurement.h:86
MeasurementDistancemeter::theFactorSigma
ALIdouble theFactorSigma
Definition:
MeasurementDistancemeter.h:36
ALIint
int ALIint
Definition:
CocoaGlobals.h:15
CocoaGlobals.h
Generated for CMSSW Reference Manual by
1.8.16