2 #include <utl/ErrorLogger.h>
4 #include <fevt/EyeRecData.h>
5 #include <fevt/EyeTriggerData.h>
6 #include <fevt/Telescope.h>
7 #include <fevt/EyeHeader.h>
10 #include <utl/AugerException.h>
11 #include <utl/IteratorDeprecator.h>
40 if (
this != &eyeData) {
61 if (tIt->GetId() == telescopeId)
65 err <<
"Non existent telescope requested, Eye=" <<
fId
66 <<
" Tel=" << telescopeId <<
" at status=" << status <<
".";
71 err <<
" Telescope not defined! ";
84 if (tIt->GetId() == telescopeId)
88 err <<
"Non existent telescope requested, Eye=" <<
fId
89 <<
" Tel=" << telescopeId <<
" at status=" << status <<
".";
94 err <<
" Telescope not defined! ";
106 err <<
"Telescope already exists, Eye: " <<
fId
107 <<
" Telescope: " << telescopeId;
122 if (tIt->GetId() == telescopeId)
148 ERROR(
"EyeRecData already exists - Not Replacing");
173 ERROR(
"EyeTriggerData already exists - Not Replacing");
198 ERROR(
"Eye::Header already exists - Not Replacing");
209 utl::IteratorDeprecator::GetInstance().Deprecated(
"fevt::Eye::TelescopesBegin");
221 utl::IteratorDeprecator::GetInstance().Deprecated(
"fevt::Eye::TelescopesBegin");
232 utl::IteratorDeprecator::GetInstance().Deprecated(
"fevt::Eye::TelescopesEnd");
244 utl::IteratorDeprecator::GetInstance().Deprecated(
"fevt::Eye::TelescopesEnd");
Telescope & GetTelescope(const unsigned int telescopeId, const ComponentSelector::Status status=ComponentSelector::eHasData)
Retrieve Telescope by Id, throw exception if not existent.
Predicate specifying whether telescope is selected or not.
unsigned int GetId() const
Trigger data for an fevt::Eye.
Eye & operator=(const Eye &eyeData)
fevt::EyeHeader & GetHeader()
Header for this Eye Event.
Fluorescence Detector Eye Event.
utl::ShadowPtr< EyeTriggerData > fTriggerData
ComponentSelector::Status GetStatus() const
ComponentSelector::Status fStatus
Base class for exceptions trying to access non-existing components.
void MakeTelescope(const unsigned int telescopeId, const ComponentSelector::Status status=ComponentSelector::eHasData)
Make Telescope telescopeId.
utl::ShadowPtr< EyeHeader > fHeader
utl::ShadowPtr< EyeRecData > fRecData
TelescopeIterator TelescopesEnd()
first available tel of status eHasData (DEPRECATED)
AllTelescopeIterator AllTelescopesEnd()
boost::filter_iterator< ComponentSelector, AllTelescopeIterator > TelescopeIterator
selective Telescope iterators
#define WARNING(message)
Macro for logging warning messages.
AllTelescopeIterator AllTelescopesBegin()
Status
Possible component status.
Eye-specific shower reconstruction data.
TelescopeIterator TelescopesBegin()
first available tel of status eHasData (DEPRECATED)
bool HasTelescope(const unsigned int telescopeId, const ComponentSelector::Status status=ComponentSelector::eHasData) const
Check if the telescope is in the event.
InternalTelescopeContainer fTelescopes
fevt::EyeTriggerData & GetTriggerData()
Trigger data for this eye.
Fluorescence Detector Telescope Event.
#define ERROR(message)
Macro for logging error messages.
boost::filter_iterator< ComponentSelector, ConstAllTelescopeIterator > ConstTelescopeIterator
fevt::EyeRecData & GetRecData()
Reconstructed data for this eye.