File indexing completed on 2023-10-25 09:31:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef _MEASUREMENTTILTMETER_HH
0012 #define _MEASUREMENTTILTMETER_HH
0013
0014 #include <vector>
0015 #include "Alignment/CocoaModel/interface/Measurement.h"
0016 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0017
0018 class MeasurementTiltmeter : public Measurement {
0019 public:
0020 MeasurementTiltmeter(const ALIint measdim, ALIstring& type, ALIstring& name)
0021 : Measurement(measdim, type, name),
0022 theFactor(1.),
0023 theFactorSigma(0.),
0024 theConstantTerm(0.),
0025 theConstantTermSigma(0.),
0026 thePedestal(0.),
0027 thePedestalSigma(0.){};
0028 MeasurementTiltmeter(){};
0029 ~MeasurementTiltmeter() override{};
0030
0031
0032 void calculateSimulatedValue(ALIbool firstTime) override;
0033
0034
0035 void setConversionFactor(const std::vector<ALIstring>& wordlist) override;
0036
0037
0038 void correctValueAndSigma() override;
0039
0040 private:
0041 ALIdouble theFactor;
0042 ALIdouble theFactorSigma;
0043 ALIdouble theConstantTerm;
0044 ALIdouble theConstantTermSigma;
0045 ALIdouble thePedestal;
0046 ALIdouble thePedestalSigma;
0047 };
0048
0049 #endif