#include <CaloNavigator.h>
Public Member Functions | |
CaloNavigator () | |
Default constructor. More... | |
CaloNavigator (const T &home) | |
CaloNavigator (const T &home, const CaloSubdetectorTopology *topology) | |
virtual T | down () const |
move the navigator west More... | |
virtual T | east () const |
move the navigator east More... | |
const CaloSubdetectorTopology * | getTopology () const |
set the starting position More... | |
void | home () const |
move the navigator back to the starting point More... | |
virtual T | north () const |
move the navigator north More... | |
virtual 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 CaloSubdetectorTopology *) |
set the starting position More... | |
virtual T | south () const |
move the navigator south More... | |
virtual T | up () const |
move the navigator west More... | |
virtual T | west () const |
move the navigator west More... | |
virtual | ~CaloNavigator () |
Default constructor. More... | |
Protected Attributes | |
T | currentPoint_ |
const CaloSubdetectorTopology * | myTopology_ |
T | startingPoint_ |
Definition at line 7 of file CaloNavigator.h.
|
inline |
|
inline |
Definition at line 15 of file CaloNavigator.h.
|
inline |
Definition at line 21 of file CaloNavigator.h.
|
inlinevirtual |
|
inlinevirtual |
move the navigator west
Definition at line 101 of file CaloNavigator.h.
|
inlinevirtual |
move the navigator east
Definition at line 71 of file CaloNavigator.h.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PFRecHitProducerPS::findRecHitNeighbours(), PFRecHitProducerHCAL::findRecHitNeighbours(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyTools::getESHits(), HybridClusterAlgo::makeDomino(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< EBDetId >::offsetBy(), and IslandClusterAlgo::searchEast().
|
inline |
set the starting position
Definition at line 36 of file CaloNavigator.h.
void CaloNavigator< T >::home | ( | ) | const |
move the navigator back to the starting point
Definition at line 143 of file CaloNavigator.h.
Referenced by spr::chargeIsolation(), CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), EcalClusterTools::covariances(), ClusterShapeAlgo::Create_Map(), HybridClusterAlgo::e2Et(), HybridClusterAlgo::et25(), PFClusterShapeAlgo::fill5x5Map(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PFRecHitProducerPS::findRecHitNeighbours(), PFRecHitProducerHCAL::findRecHitNeighbours(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyTools::getESHits(), EcalClusterTools::localCovariances(), HybridClusterAlgo::mainSearch(), HybridClusterAlgo::makeDomino(), PreshowerClusterAlgo::makeOneCluster(), EcalClusterTools::matrixDetId(), EcalClusterTools::matrixEnergy(), CosmicClusterAlgo::prepareCluster(), Multi5x5ClusterAlgo::prepareCluster(), EEBadScFilter::scan5x5(), IslandClusterAlgo::searchEast(), IslandClusterAlgo::searchWest(), EcalMipGraphs::selectHits(), and EcalDisplaysByEvent::selectHits().
|
inlinevirtual |
move the navigator north
Definition at line 51 of file CaloNavigator.h.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PFRecHitProducerPS::findRecHitNeighbours(), PFRecHitProducerHCAL::findRecHitNeighbours(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyTools::getESHits(), HybridClusterAlgo::mainSearch(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< EBDetId >::offsetBy(), and IslandClusterAlgo::searchNorth().
|
inlinevirtual |
Free movement of arbitray steps.
Definition at line 111 of file CaloNavigator.h.
Referenced by spr::chargeIsolation(), EcalClusterTools::covariances(), ClusterShapeAlgo::Create_Map(), HybridClusterAlgo::e2Et(), HybridClusterAlgo::et25(), PFClusterShapeAlgo::fill5x5Map(), EcalClusterTools::localCovariances(), EcalClusterTools::matrixDetId(), EcalClusterTools::matrixEnergy(), CosmicClusterAlgo::prepareCluster(), Multi5x5ClusterAlgo::prepareCluster(), EEBadScFilter::scan5x5(), EcalMipGraphs::selectHits(), and EcalDisplaysByEvent::selectHits().
|
inline |
|
inline |
get the current position
Definition at line 45 of file CaloNavigator.h.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), HybridClusterAlgo::makeDomino(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), IslandClusterAlgo::searchEast(), IslandClusterAlgo::searchNorth(), IslandClusterAlgo::searchSouth(), and IslandClusterAlgo::searchWest().
void CaloNavigator< T >::setHome | ( | const T & | startingPoint | ) |
set the starting position
Definition at line 136 of file CaloNavigator.h.
Referenced by CaloNavigator< EBDetId >::CaloNavigator(), ReducedESRecHitCollectionProducer::collectIds(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), EndcapPiZeroDiscriminatorAlgo::findPreshVector(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyTools::getESHits(), and PreshowerClusterAlgo::makeOneCluster().
void CaloNavigator< T >::setTopology | ( | const CaloSubdetectorTopology * | topology | ) |
set the starting position
Definition at line 149 of file CaloNavigator.h.
|
inlinevirtual |
move the navigator south
Definition at line 61 of file CaloNavigator.h.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PFRecHitProducerPS::findRecHitNeighbours(), PFRecHitProducerHCAL::findRecHitNeighbours(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyTools::getESHits(), HybridClusterAlgo::mainSearch(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< EBDetId >::offsetBy(), and IslandClusterAlgo::searchSouth().
|
inlinevirtual |
move the navigator west
Definition at line 91 of file CaloNavigator.h.
|
inlinevirtual |
move the navigator west
Definition at line 81 of file CaloNavigator.h.
Referenced by CosmicClusterAlgo::checkMaxima(), Multi5x5ClusterAlgo::checkMaxima(), ReducedESRecHitCollectionProducer::collectIds(), EndcapPiZeroDiscriminatorAlgo::findPi0Road(), PFRecHitProducerPS::findRecHitNeighbours(), PFRecHitProducerHCAL::findRecHitNeighbours(), PreshowerClusterAlgo::findRoad(), EcalClusterLazyTools::getESHits(), HybridClusterAlgo::makeDomino(), PreshowerClusterAlgo::makeOneCluster(), EcalBoundaryInfoCalculator< EBDetId >::makeStepInDirection(), CaloNavigator< EBDetId >::offsetBy(), and IslandClusterAlgo::searchWest().
|
mutableprotected |
Definition at line 132 of file CaloNavigator.h.
Referenced by CaloNavigator< EBDetId >::down(), CaloNavigator< EBDetId >::east(), CaloNavigator< EBDetId >::north(), CaloNavigator< EBDetId >::offsetBy(), CaloNavigator< EBDetId >::operator*(), CaloNavigator< EBDetId >::pos(), CaloNavigator< EBDetId >::south(), CaloNavigator< EBDetId >::up(), and CaloNavigator< EBDetId >::west().
|
protected |
Definition at line 131 of file CaloNavigator.h.
Referenced by CaloNavigator< EBDetId >::down(), CaloNavigator< EBDetId >::east(), CaloNavigator< EBDetId >::getTopology(), CaloNavigator< EBDetId >::north(), CaloNavigator< EBDetId >::south(), CaloNavigator< EBDetId >::up(), and CaloNavigator< EBDetId >::west().
|
mutableprotected |
Definition at line 132 of file CaloNavigator.h.