Alignment
CocoaModel
interface
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>
15
#include "
Alignment/CocoaModel/interface/Measurement.h
"
16
#include "
Alignment/CocoaUtilities/interface/CocoaGlobals.h
"
17
18
class
MeasurementSensor2D
:
public
Measurement
{
19
public
:
20
MeasurementSensor2D
(
const
ALIint
measdim,
ALIstring
&
type
,
ALIstring
&
name
) :
Measurement
(measdim,
type
,
name
){};
21
MeasurementSensor2D
(){};
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
:
34
ALIdouble
theDisplaceX
,
theDisplaceY
;
35
ALIdouble
theMultiplyX
,
theMultiplyY
;
36
};
37
38
#endif
ALIbool
bool ALIbool
Definition:
CocoaGlobals.h:19
MeasurementSensor2D::theMultiplyX
ALIdouble theMultiplyX
Definition:
MeasurementSensor2D.h:35
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
MeasurementSensor2D::theDisplaceY
ALIdouble theDisplaceY
Definition:
MeasurementSensor2D.h:34
MeasurementSensor2D::theMultiplyY
ALIdouble theMultiplyY
Definition:
MeasurementSensor2D.h:35
Measurement
Definition:
Measurement.h:27
Measurement.h
MeasurementSensor2D
Definition:
MeasurementSensor2D.h:18
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:37
ALIdouble
long double ALIdouble
Definition:
CocoaGlobals.h:11
MeasurementSensor2D::~MeasurementSensor2D
~MeasurementSensor2D() override
Definition:
MeasurementSensor2D.h:22
MeasurementSensor2D::calculateSimulatedValue
void calculateSimulatedValue(ALIbool firstTime) override
Definition:
MeasurementSensor2D.cc:25
MeasurementSensor2D::correctValueAndSigma
void correctValueAndSigma() override
Definition:
MeasurementSensor2D.cc:137
MeasurementSensor2D::theDisplaceX
ALIdouble theDisplaceX
Definition:
MeasurementSensor2D.h:34
MeasurementSensor2D::MeasurementSensor2D
MeasurementSensor2D()
Definition:
MeasurementSensor2D.h:21
Measurement::name
const ALIstring & name() const
Definition:
Measurement.h:86
MeasurementSensor2D::MeasurementSensor2D
MeasurementSensor2D(const ALIint measdim, ALIstring &type, ALIstring &name)
Definition:
MeasurementSensor2D.h:20
ALIint
int ALIint
Definition:
CocoaGlobals.h:15
MeasurementSensor2D::setConversionFactor
void setConversionFactor(const std::vector< ALIstring > &wordlist) override
Definition:
MeasurementSensor2D.cc:105
CocoaGlobals.h
Generated for CMSSW Reference Manual by
1.8.16