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/TimeStamp.h>
22 using namespace ReadCloudLLNS;
26 ReadCloudLL::ReadCloudLL()
31 ReadCloudLL::~ReadCloudLL()
39 INFO(
"ReadCloudLL::Init()");
47 INFO(
"ReadCloudLL::Run()");
50 Detector& det = Detector::GetInstance();
61 err <<
" no cloud fraction for pixel "
70 cout <<
"\nCLOUD FRACTION = " << coverage <<
"%"
71 <<
" for Pixel " << pixel.
GetId()
77 int eyeId = eye.
GetId();
78 cout <<
"\nEYE: " << eyeId << endl;
84 cout <<
"\nTELESCOPE: " << telId << endl;
94 cout << setw(3) << coverage;
111 ReadCloudLL::Finish()
113 INFO(
"ReadCloudLL::Finish()");
unsigned int GetId() const
By default from 1..440.
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.
unsigned int GetTelescopeId() const
1..6 for normal FD, 1..3 for HEAT
Base class for all exceptions used in the auger offline code.
unsigned int GetFirstPixelId() const
bool HasCloudFraction() const
#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.
unsigned int GetFirstTelescopeId() const
First telescope id in the eye.
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.
unsigned int GetLastPixelId() const
const Telescope & GetTelescope(const unsigned int telescopeId) const
Find Telescope by numerical Id.
Top of the hierarchy of the detector description interface.
unsigned int GetId() const
Eye numerical Id.
const fdet::FDetector & GetFDetector() const
float GetCloudFraction() const
how much of pixel is obscured by clouds
Detector description interface for Telescope-related data.
ResultFlag
Flag returned by module methods to the RunController.
unsigned int GetLastTelescopeId() const
Last telescope id in the eye.
#define ERROR(message)
Macro for logging error messages.
const std::string & GetMessage() const
Retrieve the message from the exception.
unsigned int GetEyeId() const
1..5 (4x normal FD, 1x HEAT)