1 #ifndef WeatherConditions_h
2 #define WeatherConditions_h 1
10 #include "UTIL/LCFixedObject.h"
13 #define WeatherConditionsNINTVals 0
14 #define WeatherConditionsNFLOATVals 3
15 #define WeatherConditionsNDOUBLEVals 0
17 namespace tpcconddata{
19 class WeatherConditions ;
25 WeatherConditionsNFLOATVals,WeatherConditionsNDOUBLEVals> {
58 void print( std::ostream& os = std::cout )
const;
62 return "WeatherConditions";
65 return std::string(
"f:Temperature,athmosPressure,relHumidity");
70 std::ostream &
operator<<(std::ostream &os,
const WeatherConditions &wc);
const std::string getTypeName() const
float getRelHumidity() const
return relative humidity in %
float getTemperature() const
return the temperature in C
class to store the environment of a gaseous detector (e.g.
float getPressure() const
return the athmospheric pressure in hPa
#define WeatherConditionsNINTVals
void print(std::ostream &os=std::cout) const
std::ostream & operator<<(std::ostream &os, const ADCChannelMapping &acm)
static std::string getDefaultColName()
#define WeatherConditionsNFLOATVals
void setTemperature(float Value)
void setPressure(float Value)
WeatherConditions()
constructor wich only sets channel
const std::string getDataDescription() const
#define WeatherConditionsNDOUBLEVals
WeatherConditions(EVENT::LCObject *obj)
'Copy constructor' needed to interpret LCCollection read from file/database.
static std::string getRevision()
virtual ~WeatherConditions()
Important for memory handling.
void setRelHumidity(float Value)