diff --git a/src/ctselect/ctselect.hpp b/src/ctselect/ctselect.hpp index 172bf25..326b84d 100644 --- a/src/ctselect/ctselect.hpp +++ b/src/ctselect/ctselect.hpp @@ -56,11 +56,12 @@ public: ctselect& operator=(const ctselect& app); // Methods - void clear(void); - void execute(void); - void run(void); - void save(void); - const GObservations& obs(void) const; + void clear(void); + void execute(void); + void run(void); + void save(void); + const GObservations& obs(void) const; + const GTimeReference& time_reference(void) const; protected: // Protected methods @@ -113,4 +114,16 @@ const GObservations& ctselect::obs(void) const return m_obs; } + +/***********************************************************************//** + * @brief Return CTA time reference + * + * @return CTA time reference + ***************************************************************************/ +inline +const GTimeReference& ctselect::time_reference(void) const +{ + return m_cta_ref; +} + #endif /* CTSELECT_HPP */