Commit 748eec873689c550a340163e1ef02c9f135fa72b
1 parent
9acef026
Add event_id() and obs_id() member access methods.
Showing
1 changed file
with
6 additions
and
0 deletions
inst/cta/include/GCTAEventAtom.hpp
| ... | ... | @@ -68,6 +68,12 @@ public: |
| 68 | 68 | void time(const GTime& time) { m_time=time; } |
| 69 | 69 | std::string print(void) const; |
| 70 | 70 | |
| 71 | + // Other methods | |
| 72 | + const unsigned long& event_id(void) const { return m_event_id; } | |
| 73 | + const unsigned long& obs_id(void) const { return m_obs_id; } | |
| 74 | + void event_id(const unsigned long& id) { m_event_id=id; } | |
| 75 | + void obs_id(const unsigned long& id) { m_obs_id=id; } | |
| 76 | + | |
| 71 | 77 | protected: |
| 72 | 78 | // Protected methods |
| 73 | 79 | void init_members(void); | ... | ... |