Main Page
Class Categories
Classes
Namespaces
File List
File Members
exper-sw
cosmosw
AugerSW
Offline
source
main
Tools
WeatherCorrections
GpsWeatherData.cc
Go to the documentation of this file.
1
#include <
Math.h
>
2
#include <
GpsWeatherData.h
>
3
4
5
namespace
anal {
6
7
void
8
GpsWeatherData::Interpolate
(
const
GpsWeatherData
& g1,
const
GpsWeatherData
& g2,
9
const
unsigned
long
int
gps)
10
{
11
fGPSSecond
= gps;
12
#define INTERPOLATE(_x_) \
13
_x_ = \
14
anal::Interpolate(double(g1.fGPSSecond), double(g1._x_), double(g2.fGPSSecond), double(g2._x_), double(gps))
15
INTERPOLATE
(
fTemperature
);
16
INTERPOLATE
(
fPressure
);
17
#undef INTERPOLATE
18
}
19
20
}
anal::GpsWeatherData::fGPSSecond
unsigned long int fGPSSecond
Definition:
GpsWeatherData.h:29
Math.h
anal::GpsWeatherData::Interpolate
void Interpolate(const GpsWeatherData &g1, const GpsWeatherData &g2, const unsigned long int gps)
Definition:
GpsWeatherData.cc:8
anal::GpsWeatherData::fTemperature
float fTemperature
Definition:
GpsWeatherData.h:30
GpsWeatherData.h
INTERPOLATE
#define INTERPOLATE(_x_)
anal::GpsWeatherData
Definition:
GpsWeatherData.h:9
anal::GpsWeatherData::fPressure
float fPressure
Definition:
GpsWeatherData.h:31
, generated on Tue Sep 26 2023.