#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 |
|
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 CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), HybridClusterAlgo::makeDomino(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< T, TOPO >::offsetBy(), and IslandClusterAlgo::searchEast().
|
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 spr::chargeIsolation(), CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ClusterShapeAlgo::Create_Map(), HybridClusterAlgo::e2Et(), HybridClusterAlgo::et25(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), HybridClusterAlgo::mainSearch(), HybridClusterAlgo::makeDomino(), PreshowerClusterAlgo::makeOneCluster(), CosmicClusterAlgo::prepareCluster(), Multi5x5ClusterAlgo::prepareCluster(), 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 CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), HybridClusterAlgo::mainSearch(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< T, TOPO >::offsetBy(), and IslandClusterAlgo::searchNorth().
|
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 spr::chargeIsolation(), ClusterShapeAlgo::Create_Map(), HybridClusterAlgo::e2Et(), HybridClusterAlgo::et25(), CosmicClusterAlgo::prepareCluster(), Multi5x5ClusterAlgo::prepareCluster(), 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 CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), EcalBoundaryInfoCalculator< EBDetId >::goBackOneCell(), HybridClusterAlgo::makeDomino(), IslandClusterAlgo::searchEast(), IslandClusterAlgo::searchNorth(), IslandClusterAlgo::searchSouth(), and IslandClusterAlgo::searchWest().
|
inline |
set the starting position
Definition at line 90 of file CaloNavigator.h.
Referenced by CaloNavigator< T, TOPO >::CaloNavigator(), ReducedESRecHitCollectionProducer::collectIds(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), EndcapPiZeroDiscriminatorAlgo::findPreshVector(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), EcalBoundaryInfoCalculator< EBDetId >::goBackOneCell(), and PreshowerClusterAlgo::makeOneCluster().
|
inline |
set the starting position
Definition at line 101 of file CaloNavigator.h.
|
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 CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), HybridClusterAlgo::mainSearch(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< T, TOPO >::offsetBy(), and IslandClusterAlgo::searchSouth().
|
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 CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), HybridClusterAlgo::makeDomino(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< T, TOPO >::offsetBy(), and IslandClusterAlgo::searchWest().
|
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.