CMS 3D CMS Logo

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>
17 
19 public:
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:
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
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
type
type
Definition: HCALResponse.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