16 #include <atm/MolecularLayer.h>
17 #include <utl/ErrorLogger.h>
18 #include <utl/AugerUnits.h>
19 #include <atm/AManagerRegister.h>
20 #include <det/Detector.h>
29 MolecularLayer::MolecularLayer(
const std::string& layerId) :
45 fLayerIdString(layerId)
196 indexMap[
"transpose"] =
"14";
199 det::Detector::GetInstance().GetAManagerRegister();
201 const char*
const component =
202 "height, height_err, depth, depth_err, pressure, pressure_err, "
203 "temperature, temperature_err, windspeed, windspeed_err, "
204 "humidity, humidity_err, air_density, air_density_err";
205 vector<double> requestedData;
207 manager.
GetData(requestedData,
"molecular_layer", component, indexMap);
210 requestedData.size() != 14)
212 boost::lexical_cast<std::string>(det::Detector::GetInstance().GetTime()));
double GetPressureError() const
Error on pressure in the slice.
double GetHeightError() const
Error on height pertaining to quantities in this slice.
double GetTemperature() const
Temperature in the slice.
double GetAirDensity() const
Air density in the slice.
double GetHumidity() const
Humidity in the slice.
Interface for detector managers.
std::string fLayerIdString
double GetDepth() const
Depth of for this slice.
virtual Status GetData(double &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const =0
Exception to use in case requested data not found in the database with detailed printout.
double GetAirDensityError() const
Error on air density in the slice.
double GetWindSpeedError() const
Error on wind speed in the slice.
double GetPressure() const
Pressure in the slice.
double GetWindSpeed() const
Wind speed in the slice.
double GetDepthError() const
Error on depth for this slice.
double GetHeight() const
Measured height pertaining to quantities in this slice.
double GetTemperatureError() const
Error on temperature in the slice.
double GetHumidityError() const
Error on humidity in the slice.
std::map< std::string, std::string > IndexMap
void GetLayerData() const
Status
Specifies success or (eventually) various possible failure modes.