TPCCondData
Public Member Functions | Static Public Member Functions | List of all members
tpcconddata::WeatherConditions Class Reference

class to store the environment of a gaseous detector (e.g. More...

#include <WeatherConditions.h>

Inheritance diagram for tpcconddata::WeatherConditions:

Public Member Functions

 WeatherConditions ()
 constructor wich only sets channel More...
 
 WeatherConditions (EVENT::LCObject *obj)
 'Copy constructor' needed to interpret LCCollection read from file/database. More...
 
virtual ~WeatherConditions ()
 Important for memory handling. More...
 
float getTemperature () const
 return the temperature in C More...
 
float getPressure () const
 return the athmospheric pressure in hPa More...
 
float getRelHumidity () const
 return relative humidity in % More...
 
void setTemperature (float Value)
 
void setPressure (float Value)
 
void setRelHumidity (float Value)
 
void print (std::ostream &os=std::cout) const
 
const std::string getTypeName () const
 
const std::string getDataDescription () const
 

Static Public Member Functions

static std::string getRevision ()
 
static std::string getDefaultColName ()
 

Detailed Description

class to store the environment of a gaseous detector (e.g.

TPC) the weather

Definition at line 24 of file WeatherConditions.h.

Constructor & Destructor Documentation

tpcconddata::WeatherConditions::WeatherConditions ( )

constructor wich only sets channel

Definition at line 17 of file WeatherConditions.cc.

tpcconddata::WeatherConditions::WeatherConditions ( EVENT::LCObject *  obj)
inline

'Copy constructor' needed to interpret LCCollection read from file/database.

Definition at line 35 of file WeatherConditions.h.

tpcconddata::WeatherConditions::~WeatherConditions ( )
virtual

Important for memory handling.

Definition at line 23 of file WeatherConditions.cc.

Member Function Documentation

const std::string tpcconddata::WeatherConditions::getDataDescription ( ) const
inline

Definition at line 64 of file WeatherConditions.h.

std::string tpcconddata::WeatherConditions::getDefaultColName ( )
static

Definition at line 13 of file WeatherConditions.cc.

float tpcconddata::WeatherConditions::getPressure ( ) const

return the athmospheric pressure in hPa

Definition at line 29 of file WeatherConditions.cc.

float tpcconddata::WeatherConditions::getRelHumidity ( ) const

return relative humidity in %

Definition at line 33 of file WeatherConditions.cc.

std::string tpcconddata::WeatherConditions::getRevision ( )
static

Definition at line 9 of file WeatherConditions.cc.

float tpcconddata::WeatherConditions::getTemperature ( ) const

return the temperature in C

Definition at line 25 of file WeatherConditions.cc.

const std::string tpcconddata::WeatherConditions::getTypeName ( ) const
inline

Definition at line 61 of file WeatherConditions.h.

void tpcconddata::WeatherConditions::print ( std::ostream &  os = std::cout) const

Definition at line 49 of file WeatherConditions.cc.

void tpcconddata::WeatherConditions::setPressure ( float  Value)

Definition at line 41 of file WeatherConditions.cc.

void tpcconddata::WeatherConditions::setRelHumidity ( float  Value)

Definition at line 45 of file WeatherConditions.cc.

void tpcconddata::WeatherConditions::setTemperature ( float  Value)

Definition at line 37 of file WeatherConditions.cc.


The documentation for this class was generated from the following files: