CMS 3D CMS Logo

MeasurementDistancemeter.h
Go to the documentation of this file.
1 // COCOA class header file
2 // Id: MeasurementDistancemeter.h
3 // CAT: Model
4 //
5 // Class for measurements
6 //
7 // History: v1.0
8 // Authors:
9 // Pedro Arce
10 
11 #ifndef _MEASUREMENTDISTANCEMETER_HH
12 #define _MEASUREMENTDISTANCEMETER_HH
13 
14 #include <vector>
17 
19 {
20 public:
22  : Measurement( measdim, type, name ), theFactor(1.), theFactorSigma(0.){};
25 
26  // Get simulated value (called every time a parameter is displaced)
27  virtual void calculateSimulatedValue( ALIbool firstTime );
28 
29  //---------- Convert from V to rad
30  virtual void setConversionFactor( const std::vector<ALIstring>& wordlist );
31 
32  //---------- Add any correction between the measurement data and the default format in COCOA
33  virtual void correctValueAndSigma();
34 
35  private:
38 };
39 
40 #endif
type
Definition: HCALResponse.h:21
long double ALIdouble
Definition: CocoaGlobals.h:11
virtual void calculateSimulatedValue(ALIbool firstTime)
virtual void setConversionFactor(const std::vector< ALIstring > &wordlist)
int ALIint
Definition: CocoaGlobals.h:15
bool ALIbool
Definition: CocoaGlobals.h:19
std::string ALIstring
Definition: CocoaGlobals.h:9
const ALIstring & name() const
Definition: Measurement.h:90
MeasurementDistancemeter(const ALIint measdim, ALIstring &type, ALIstring &name)