#include <CaloNavigator.h>
Public Member Functions | |
CaloNavigator (const T &home, const TOPO *topology) | |
T | down () const |
move the navigator west More... | |
T | east () const |
move the navigator east More... | |
const TOPO * | getTopology () const |
set the starting position More... | |
void | home () const |
move the navigator back to the starting point More... | |
T | north () const |
move the navigator north More... | |
T | offsetBy (int deltaX, int deltaY) const |
Free movement of arbitray steps. More... | |
T | operator* () const |
get the current position More... | |
T | pos () const |
get the current position More... | |
void | setHome (const T &startingPoint) |
set the starting position More... | |
void | setTopology (const TOPO *) |
set the starting position More... | |
T | south () const |
move the navigator south More... | |
T | up () const |
move the navigator west More... | |
T | west () const |
move the navigator west More... | |
Protected Attributes | |
T | currentPoint_ |
const TOPO * | myTopology_ |
T | startingPoint_ |
Definition at line 7 of file CaloNavigator.h.
|
inline |
Definition at line 9 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::home(), and CaloNavigator< T, TOPO >::setHome().
|
inline |
move the navigator west
Definition at line 60 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
|
inline |
move the navigator east
Definition at line 42 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
Referenced by EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), and CaloNavigator< T, TOPO >::offsetBy().
|
inline |
set the starting position
Definition at line 18 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::myTopology_.
|
inline |
move the navigator back to the starting point
Definition at line 96 of file CaloNavigator.h.
Referenced by CaloNavigator< T, TOPO >::CaloNavigator(), ClusterShapeAlgo::Create_Map(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), EEBadScFilter::scan5x5(), IslandClusterAlgo::searchEast(), IslandClusterAlgo::searchWest(), EcalMipGraphs::selectHits(), and EcalDisplaysByEvent::selectHits().
|
inline |
move the navigator north
Definition at line 30 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
Referenced by EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), and CaloNavigator< T, TOPO >::offsetBy().
|
inline |
Free movement of arbitray steps.
Definition at line 66 of file CaloNavigator.h.
References funct::abs(), CaloNavigator< T, TOPO >::currentPoint_, CaloNavigator< T, TOPO >::east(), CaloNavigator< T, TOPO >::north(), CaloNavigator< T, TOPO >::south(), CaloNavigator< T, TOPO >::west(), x, and y.
Referenced by ClusterShapeAlgo::Create_Map(), EEBadScFilter::scan5x5(), EcalMipGraphs::selectHits(), and EcalDisplaysByEvent::selectHits().
|
inline |
get the current position
Definition at line 27 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_.
|
inline |
get the current position
Definition at line 24 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_.
Referenced by EcalBoundaryInfoCalculator< EBDetId >::goBackOneCell().
|
inline |
set the starting position
Definition at line 90 of file CaloNavigator.h.
Referenced by CaloNavigator< T, TOPO >::CaloNavigator(), ReducedESRecHitCollectionProducer::collectIds(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), and EcalBoundaryInfoCalculator< EBDetId >::goBackOneCell().
|
inline |
set the starting position
Definition at line 101 of file CaloNavigator.h.
References ecaldqm::topology().
|
inline |
move the navigator south
Definition at line 36 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
Referenced by EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), and CaloNavigator< T, TOPO >::offsetBy().
|
inline |
move the navigator west
Definition at line 54 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
|
inline |
move the navigator west
Definition at line 48 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
Referenced by EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), and CaloNavigator< T, TOPO >::offsetBy().
|
mutableprotected |
Definition at line 86 of file CaloNavigator.h.
Referenced by CaloNavigator< T, TOPO >::down(), CaloNavigator< T, TOPO >::east(), CaloNavigator< T, TOPO >::north(), CaloNavigator< T, TOPO >::offsetBy(), CaloNavigator< T, TOPO >::operator*(), CaloNavigator< T, TOPO >::pos(), CaloNavigator< T, TOPO >::south(), CaloNavigator< T, TOPO >::up(), and CaloNavigator< T, TOPO >::west().
|
protected |
Definition at line 85 of file CaloNavigator.h.
Referenced by CaloNavigator< T, TOPO >::down(), CaloNavigator< T, TOPO >::east(), CaloNavigator< T, TOPO >::getTopology(), CaloNavigator< T, TOPO >::north(), CaloNavigator< T, TOPO >::south(), CaloNavigator< T, TOPO >::up(), and CaloNavigator< T, TOPO >::west().
|
mutableprotected |
Definition at line 86 of file CaloNavigator.h.