8 #include <det/Detector.h>
11 #include <fdet/FDetector.h>
13 #include <fdet/Telescope.h>
14 #include <fdet/Pixel.h>
17 #include <utl/ErrorLogger.h>
18 #include <utl/Point.h>
19 #include <utl/TimeStamp.h>
20 #include <utl/Vector.h>
23 #include <atm/CloudResult.h>
27 using namespace ReadCloudHLNS;
30 #include <atm/LidarDB.h>
31 #include <atm/LidarZone.h>
33 ReadCloudHL::ReadCloudHL()
37 ReadCloudHL::~ReadCloudHL()
44 INFO(
"ReadCloudHL::Init()");
51 INFO(
"ReadCloudHL::Run()");
54 Detector& detector = Detector::GetInstance();
71 const Point origin(0., 0., 0., csLL);
74 Point A = scale * pixelDir + origin;
77 Point B = scale * pixelDir + origin;
83 cout <<
"Cloud status in Pixel view to Point A:\n"
88 cout <<
"Cloud status in Pixel view to Point B:\n"
100 INFO(
"ReadCloudHL::Finish()");
const utl::Vector & GetDirection() const
pointing direction of this pixel
void Update(const utl::TimeStamp &time, const bool invData=true, const bool invComp=true, const bool forceRadio=false)
Update detector: deletes currently constructed stations and sets new time.
Top of the interface to Atmosphere information.
Base class for all exceptions used in the auger offline code.
#define INFO(message)
Macro for logging informational messages.
void Init()
Initialise the registry.
const Eye & GetEye(const unsigned int eyeId) const
Find eye by numerical Id.
Detector description interface for Eye-related data.
A TimeStamp holds GPS second and nanosecond for some event.
const Pixel & GetPixel(const unsigned int pixelId) const
Get Pixel by id, throw utl::NonExistentComponentException if n.a.
const atm::Atmosphere & GetAtmosphere() const
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
utl::CoordinateSystemPtr GetEyeCoordinateSystem() const
Returns the Eye Coordinate system.
const Telescope & GetTelescope(const unsigned int telescopeId) const
Find Telescope by numerical Id.
Top of the hierarchy of the detector description interface.
const fdet::FDetector & GetFDetector() const
Store the obscuration of an FD pixel by a cloud in the field of view.
ResultFlag
Flag returned by module methods to the RunController.
std::string GetCoverageString() const
#define ERROR(message)
Macro for logging error messages.
atm::CloudResult EvaluateCloudCoverage(const fdet::Pixel &pix, const utl::Point &x) const
const std::string & GetMessage() const
Retrieve the message from the exception.