Alignment
CocoaModel
interface
MeasurementDistancemeter3dim.h
Go to the documentation of this file.
1
// COCOA class header file
2
// Id: MeasurementDistancemeter3dim.h
3
// CAT: Model
4
//
5
// Class for measurements
6
//
7
// History: v1.0
8
// Authors:
9
// Pedro Arce
10
11
#ifndef _MeasurementDistancemeter3dim_HH
12
#define _MeasurementDistancemeter3dim_HH
13
14
#include <vector>
15
#include "
Alignment/CocoaModel/interface/Measurement.h
"
16
#include "
Alignment/CocoaUtilities/interface/CocoaGlobals.h
"
17
18
class
MeasurementDistancemeter3dim
:
public
Measurement
{
19
public
:
20
MeasurementDistancemeter3dim
(
const
ALIint
measdim,
ALIstring
&
type
,
ALIstring
&
name
)
21
:
Measurement
(measdim,
type
,
name
),
theFactor
(1.),
theFactorSigma
(0.){};
22
MeasurementDistancemeter3dim
(){};
23
~MeasurementDistancemeter3dim
()
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
MeasurementDistancemeter3dim::calculateSimulatedValue
void calculateSimulatedValue(ALIbool firstTime) override
Definition:
MeasurementDistancemeter3dim.cc:25
MeasurementDistancemeter3dim::MeasurementDistancemeter3dim
MeasurementDistancemeter3dim()
Definition:
MeasurementDistancemeter3dim.h:22
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
MeasurementDistancemeter3dim::~MeasurementDistancemeter3dim
~MeasurementDistancemeter3dim() override
Definition:
MeasurementDistancemeter3dim.h:23
Measurement
Definition:
Measurement.h:27
MeasurementDistancemeter3dim::MeasurementDistancemeter3dim
MeasurementDistancemeter3dim(const ALIint measdim, ALIstring &type, ALIstring &name)
Definition:
MeasurementDistancemeter3dim.h:20
Measurement.h
MeasurementDistancemeter3dim::theFactorSigma
ALIdouble theFactorSigma
Definition:
MeasurementDistancemeter3dim.h:36
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
ALIdouble
long double ALIdouble
Definition:
CocoaGlobals.h:11
MeasurementDistancemeter3dim::theFactor
ALIdouble theFactor
Definition:
MeasurementDistancemeter3dim.h:35
Measurement::name
const ALIstring & name() const
Definition:
Measurement.h:86
ALIint
int ALIint
Definition:
CocoaGlobals.h:15
MeasurementDistancemeter3dim
Definition:
MeasurementDistancemeter3dim.h:18
MeasurementDistancemeter3dim::correctValueAndSigma
void correctValueAndSigma() override
Definition:
MeasurementDistancemeter3dim.cc:137
MeasurementDistancemeter3dim::setConversionFactor
void setConversionFactor(const std::vector< ALIstring > &wordlist) override
Definition:
MeasurementDistancemeter3dim.cc:103
CocoaGlobals.h
Generated for CMSSW Reference Manual by
1.8.16