Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:31:42

0001 // COCOA class header file

0002 // Id:  MeasurementSensor2D.h

0003 // CAT: Model

0004 //

0005 // Class for measurements

0006 //

0007 // History: v1.0

0008 // Authors:

0009 //   Pedro Arce

0010 
0011 #ifndef _MEASUREMENTSENSOR2D_HH
0012 #define _MEASUREMENTSENSOR2D_HH
0013 
0014 #include <vector>
0015 #include "Alignment/CocoaModel/interface/Measurement.h"
0016 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0017 
0018 class MeasurementSensor2D : public Measurement {
0019 public:
0020   MeasurementSensor2D(const ALIint measdim, ALIstring& type, ALIstring& name) : Measurement(measdim, type, name){};
0021   MeasurementSensor2D(){};
0022   ~MeasurementSensor2D() override{};
0023 
0024   // Get simulated value (called every time a parameter is displaced)

0025   void calculateSimulatedValue(ALIbool firstTime) override;
0026 
0027   //---------- Add any correction between the measurement data and the default format in COCOA

0028   void correctValueAndSigma() override;
0029 
0030   //---------- Convert from V to rad

0031   void setConversionFactor(const std::vector<ALIstring>& wordlist) override;
0032 
0033 private:
0034   ALIdouble theDisplaceX, theDisplaceY;
0035   ALIdouble theMultiplyX, theMultiplyY;
0036 };
0037 
0038 #endif