Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _MEASUREMENTTILTMETER_HH
00012 #define _MEASUREMENTTILTMETER_HH
00013
00014 #include <vector>
00015 #include "Alignment/CocoaModel/interface/Measurement.h"
00016 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
00017
00018 class MeasurementTiltmeter : public Measurement
00019 {
00020 public:
00021 MeasurementTiltmeter( const ALIint measdim, ALIstring& type, ALIstring& name ) : Measurement( measdim, type, name ), theFactor(1.), theFactorSigma(0.), theConstantTerm(0.), theConstantTermSigma(0.), thePedestal(0.), thePedestalSigma(0.)
00022 { };
00023 MeasurementTiltmeter(){ };
00024 ~MeasurementTiltmeter(){ };
00025
00026
00027 virtual void calculateSimulatedValue( ALIbool firstTime );
00028
00029
00030 virtual void setConversionFactor( const std::vector<ALIstring>& wordlist );
00031
00032
00033 virtual void correctValueAndSigma();
00034
00035 private:
00036 ALIdouble theFactor;
00037 ALIdouble theFactorSigma;
00038 ALIdouble theConstantTerm;
00039 ALIdouble theConstantTermSigma;
00040 ALIdouble thePedestal;
00041 ALIdouble thePedestalSigma;
00042 };
00043
00044 #endif