Commit ed7ffa38 authored by Andrei Gheata's avatar Andrei Gheata
Browse files

Added accessors for navigation state index.

parent 0962a88f
...@@ -100,6 +100,14 @@ public: ...@@ -100,6 +100,14 @@ public:
return sizeof(NavStateIndex); return sizeof(NavStateIndex);
} }
VECCORE_ATT_HOST_DEVICE
VECGEOM_FORCE_INLINE
NavIndex_t GetNavIndex() const { return fNavInd; }
VECCORE_ATT_HOST_DEVICE
VECGEOM_FORCE_INLINE
void SetNavIndex(NavIndex_t ind) { fNavInd = ind; }
VECCORE_ATT_HOST_DEVICE VECCORE_ATT_HOST_DEVICE
int GetObjectSize() const { return (int)sizeof(NavStateIndex); } int GetObjectSize() const { return (int)sizeof(NavStateIndex); }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment