MURE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TemperatureMap.hxx
Go to the documentation of this file.
1 #ifndef _TEMPERATUREMAP_
2 #define _TEMPERATUREMAP_
3 
9 #include <iostream>
10 #include <sstream>
11 #include <vector>
12 #include <string>
13 
14 
15 using namespace std;
16 
18 
29 {
30  public:
37  TemperatureMap(double *T=0,int NT=0);
38  TemperatureMap(const TemperatureMap& TM);
39  ~TemperatureMap();
40 
45  int AddUsedTemp(double T);
46  int GetNumberOfUsedfTemperatures();
47  void SetDeltaTPrecision(double deltaT=50){fDeltaTPrecision=deltaT;}
48  double GetDeltaTPrecision(){return fDeltaTPrecision;}
49  double Score(double WantedT,double FoundT);
50  private:
51  void InitUsedTemperature();
52 
54  double *fTemperature;
57 
58 };
59 #endif
double * fTemperature
Array of temperatures (the Map)
Definition: TemperatureMap.hxx:54
double fDeltaTPrecision
Precision to distinguish temperatures.
Definition: TemperatureMap.hxx:56
int fNumberOfDataBaseTemp
Number of temperatures in the map.
Definition: TemperatureMap.hxx:53
void SetDeltaTPrecision(double deltaT=50)
set the temperature precision in K
Definition: TemperatureMap.hxx:47
The good way of handling temperature from data base.
Definition: TemperatureMap.hxx:28
double GetDeltaTPrecision()
returns the temperature precision
Definition: TemperatureMap.hxx:48
bool * fUsedTemperature
Array of used temperature corresponding to the map.
Definition: TemperatureMap.hxx:55

MURE Project, documentation generated by Doxygen 1.8.5 - Mon Nov 17 2014