1 #ifndef RECOCALOTOOLS_NAVIGATION_CALONAVIGATOR_H 2 #define RECOCALOTOOLS_NAVIGATION_CALONAVIGATOR_H 1 7 template <
class T,
class TOPO = CaloSubdetectorTopology>
13 inline void setHome(
const T& startingPoint);
22 inline void home()
const;
90 template <
class T,
class TOPO>
96 template <
class T,
class TOPO>
101 template <
class T,
class TOPO>
CaloTopology const * topology(0)
void setHome(const T &startingPoint)
set the starting position
T offsetBy(int deltaX, int deltaY) const
Free movement of arbitray steps.
T down() const
move the navigator west
T west() const
move the navigator west
Abs< T >::type abs(const T &t)
T south() const
move the navigator south
T pos() const
get the current position
T operator*() const
get the current position
T east() const
move the navigator east
void home() const
move the navigator back to the starting point
T up() const
move the navigator west
T north() const
move the navigator north
const TOPO * getTopology() const
set the starting position
CaloNavigator(const T &home, const TOPO *topology)
void setTopology(const TOPO *)
set the starting position