#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 8 of file CaloNavigator.h.
|
inline |
Definition at line 11 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::setHome(), and CaloNavigator< T, TOPO >::setTopology().
|
inline |
move the navigator west
Definition at line 73 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
|
inline |
move the navigator east
Definition at line 52 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), 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 23 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::home(), and CaloNavigator< T, TOPO >::myTopology_.
|
inline |
move the navigator back to the starting point
Definition at line 114 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::startingPoint_.
Referenced by spr::chargeIsolation(), CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), EcalClusterToolsT< noZS >::covariances(), ClusterShapeAlgo::Create_Map(), HybridClusterAlgo::e2Et(), HybridClusterAlgo::et25(), PFClusterShapeAlgo::fill5x5Map(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), CaloNavigator< T, TOPO >::getTopology(), EcalClusterToolsT< noZS >::localCovariances(), HybridClusterAlgo::mainSearch(), HybridClusterAlgo::makeDomino(), PreshowerClusterAlgo::makeOneCluster(), EcalClusterToolsT< noZS >::matrixDetId(), EcalClusterToolsT< noZS >::matrixEnergy(), EcalClusterToolsT< noZS >::matrixSize(), EcalClusterToolsT< noZS >::nrSaturatedCrysIn5x5(), CosmicClusterAlgo::prepareCluster(), Multi5x5ClusterAlgo::prepareCluster(), EEBadScFilter::scan5x5(), IslandClusterAlgo::searchEast(), IslandClusterAlgo::searchWest(), EcalMipGraphs::selectHits(), EcalDisplaysByEvent::selectHits(), and CaloNavigator< T, TOPO >::setHome().
|
inline |
move the navigator north
Definition at line 38 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), 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 80 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(), EcalClusterToolsT< noZS >::covariances(), ClusterShapeAlgo::Create_Map(), HybridClusterAlgo::e2Et(), HybridClusterAlgo::et25(), PFClusterShapeAlgo::fill5x5Map(), EcalClusterToolsT< noZS >::localCovariances(), EcalClusterToolsT< noZS >::matrixDetId(), EcalClusterToolsT< noZS >::matrixEnergy(), EcalClusterToolsT< noZS >::matrixSize(), EcalClusterToolsT< noZS >::nrSaturatedCrysIn5x5(), CosmicClusterAlgo::prepareCluster(), Multi5x5ClusterAlgo::prepareCluster(), EEBadScFilter::scan5x5(), EcalMipGraphs::selectHits(), and EcalDisplaysByEvent::selectHits().
|
inline |
get the current position
Definition at line 35 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_.
|
inline |
get the current position
Definition at line 32 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), EcalBoundaryInfoCalculator< EBDetId >::goBackOneCell(), HybridClusterAlgo::makeDomino(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), IslandClusterAlgo::searchEast(), IslandClusterAlgo::searchNorth(), IslandClusterAlgo::searchSouth(), and IslandClusterAlgo::searchWest().
|
inline |
set the starting position
Definition at line 106 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::home(), and CaloNavigator< T, TOPO >::startingPoint_.
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 121 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::myTopology_, and ecaldqm::topology().
Referenced by CaloNavigator< T, TOPO >::CaloNavigator().
|
inline |
move the navigator south
Definition at line 45 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), 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 66 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
|
inline |
move the navigator west
Definition at line 59 of file CaloNavigator.h.
References CaloNavigator< T, TOPO >::currentPoint_, and CaloNavigator< T, TOPO >::myTopology_.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyToolsBase::getESHits(), HybridClusterAlgo::makeDomino(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< T, TOPO >::offsetBy(), and IslandClusterAlgo::searchWest().
|
mutableprotected |
Definition at line 101 of file CaloNavigator.h.
Referenced by CaloNavigator< T, TOPO >::down(), CaloNavigator< T, TOPO >::east(), CaloNavigator< T, TOPO >::home(), 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 100 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 >::setTopology(), CaloNavigator< T, TOPO >::south(), CaloNavigator< T, TOPO >::up(), and CaloNavigator< T, TOPO >::west().
|
mutableprotected |
Definition at line 101 of file CaloNavigator.h.
Referenced by CaloNavigator< T, TOPO >::home(), and CaloNavigator< T, TOPO >::setHome().