Luiza  v03-01
Public Member Functions | List of all members
gloria::GloriaTelescope Class Reference

Class for storing GLORIA telescope parameters. More...

#include <GloriaTelescope.h>

Public Member Functions

 GloriaTelescope ()
 Default constructor. More...
 
 GloriaTelescope (const GloriaTelescope &t)
 Copy constructor. More...
 
 GloriaTelescope (int id, std::string name)
 Named constructor. More...
 
 ~GloriaTelescope ()
 Destructor.
 
void SetID (int id)
 Define telescope ID.
 
void SetName (std::string name)
 Add telescope name/alias.
 
void SetPosition (double lon, double lat, double elev)
 Define telescope position.
 
void AddParameter (std::string name, std::string value)
 Add parameter.
 
int GetID ()
 Get telescope ID.
 
int GetNameNumber ()
 Get number of telescope name/aliases.
 
std::string GetName (int iname=0)
 Get telescope name.
 
bool IsParameterSet (std::string key)
 Check if telescope parameter is set.
 
std::string GetStringParameter (std::string key)
 Get telescope parameter as a string.
 
int GetIntParameter (std::string key)
 Get telescope parameter as int.
 
float GetFloatParameter (std::string key)
 Get telescope parameter as float.
 
virtual luiza::StringParameters * parameters ()
 Return parameters defined for this telescope.
 

Detailed Description

Class for storing GLORIA telescope parameters.

This class allows to store telescope parameters, which can be used whene analysing data. Telescope parameters are a part of the GLORIA network configuration. For each telescope its network ID, name and position (longitude, latitude and elevation) should be defined, as well as an arbitrary number of additional parameters (name/value pairs).

Author
A.F.Zarnecki, University of Warsaw, zarne.nosp@m.cki@.nosp@m.fuw.e.nosp@m.du.p.nosp@m.l

Constructor & Destructor Documentation

gloria::GloriaTelescope::GloriaTelescope ( )

Default constructor.

Default constructor creates empty configuration

gloria::GloriaTelescope::GloriaTelescope ( const GloriaTelescope t)

Copy constructor.

Copy constructor required eq. for creating vector of telescopes

gloria::GloriaTelescope::GloriaTelescope ( int  id,
std::string  name 
)

Named constructor.

Creates configuration with given ID and name


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