CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_8_patch3/src/Alignment/CocoaModel/interface/MeasurementSensor2D.h

Go to the documentation of this file.
00001 // COCOA class header file
00002 // Id:  MeasurementSensor2D.h
00003 // CAT: Model
00004 //
00005 // Class for measurements
00006 // 
00007 // History: v1.0 
00008 // Authors:
00009 //   Pedro Arce
00010 
00011 #ifndef _MEASUREMENTSENSOR2D_HH
00012 #define _MEASUREMENTSENSOR2D_HH
00013 
00014 #include <vector>
00015 #include "Alignment/CocoaModel/interface/Measurement.h"
00016 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
00017 
00018 class MeasurementSensor2D : public Measurement
00019 { 
00020 public:
00021   MeasurementSensor2D( const ALIint measdim, ALIstring& type, ALIstring& name ) : Measurement( measdim, type, name ){ };
00022   MeasurementSensor2D(){ };   
00023   ~MeasurementSensor2D(){ };
00024     
00025   // Get simulated value (called every time a parameter is displaced)
00026   virtual void calculateSimulatedValue( ALIbool firstTime );
00027 
00028   //---------- Add any correction between the measurement data and the default format in COCOA
00029   virtual void correctValueAndSigma();
00030 
00031   //---------- Convert from V to rad
00032   virtual void setConversionFactor( const std::vector<ALIstring>& wordlist );
00033 
00034  private:
00035 
00036   ALIdouble theDisplaceX, theDisplaceY;
00037   ALIdouble theMultiplyX, theMultiplyY;
00038 };
00039 
00040 #endif