Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:34:26

0001 // COCOA class header file

0002 // Id:  MeasurementDistancemeter3dim.h

0003 // CAT: Model

0004 //

0005 // Class for measurements

0006 //

0007 // History: v1.0

0008 // Authors:

0009 //   Pedro Arce

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

0026   void calculateSimulatedValue(ALIbool firstTime) override;
0027 
0028   //---------- Convert from V to rad

0029   void setConversionFactor(const std::vector<ALIstring>& wordlist) override;
0030 
0031   //---------- Add any correction between the measurement data and the default format in COCOA

0032   void correctValueAndSigma() override;
0033 
0034 private:
0035   ALIdouble theFactor;
0036   ALIdouble theFactorSigma;
0037 };
0038 
0039 #endif