#include <CaloTowerTopology.h>
Public Member Functions | |
CaloTowerTopology () | |
standard constructor More... | |
virtual std::vector< DetId > | down (const DetId &id) const |
virtual std::vector< DetId > | east (const DetId &id) const |
virtual std::vector< DetId > | north (const DetId &id) const |
virtual std::vector< DetId > | south (const DetId &id) const |
virtual std::vector< DetId > | up (const DetId &id) const |
virtual bool | valid (const DetId &id) const |
is this detid present in the Topology? More... | |
virtual std::vector< DetId > | west (const DetId &id) const |
virtual | ~CaloTowerTopology () |
virtual destructor More... | |
Public Member Functions inherited from CaloSubdetectorTopology | |
CaloSubdetectorTopology () | |
standard constructor More... | |
virtual DetId | denseId2detId (unsigned int) const |
return a linear packed id More... | |
virtual bool | denseIdConsistent (int topoVer) const |
return whether this topology is consistent with the numbering in the given topology More... | |
virtual unsigned int | detId2denseId (const DetId &) const |
return a linear packed id More... | |
virtual std::vector< DetId > | getAllNeighbours (const DetId &id) const |
virtual std::vector< DetId > | getNeighbours (const DetId &id, const CaloDirection &dir) const |
virtual std::vector< DetId > | getWindow (const DetId &id, const int &northSouthSize, const int &eastWestSize) const |
virtual DetId | goDown (const DetId &id) const |
virtual DetId | goEast (const DetId &id) const |
virtual DetId | goNorth (const DetId &id) const |
virtual DetId | goSouth (const DetId &id) const |
virtual DetId | goUp (const DetId &id) const |
virtual DetId | goWest (const DetId &id) const |
virtual unsigned int | ncells () const |
return a count of valid cells (for dense indexing use) More... | |
virtual int | topoVersion () const |
return a version which identifies the given topology More... | |
virtual | ~CaloSubdetectorTopology () |
virtual destructor More... | |
Additional Inherited Members | |
Protected Types inherited from CaloSubdetectorTopology | |
typedef std::pair< int, int > | Coordinate |
Protected Member Functions inherited from CaloSubdetectorTopology | |
Coordinate | getNeighbourIndex (const Coordinate &coord, const CaloDirection &dir) const |
Definition at line 10 of file CaloTowerTopology.h.
|
inline |
|
inlinevirtual |
Get the neighbors of the given cell in down direction (inward)
Implements CaloSubdetectorTopology.
Definition at line 114 of file CaloTowerTopology.cc.
Get the neighbors of the given cell in east direction
Implements CaloSubdetectorTopology.
Definition at line 13 of file CaloTowerTopology.cc.
References createTree::dd, DoubleHE, CaloTowerDetId::ieta(), CaloTowerDetId::iphi(), and QuadHF.
Referenced by CaloRecoTauAlgorithm::getCaloTowerneighbourDetIds().
Get the neighbors of the given cell in north direction
Implements CaloSubdetectorTopology.
Definition at line 77 of file CaloTowerTopology.cc.
References createTree::dd, DoubleHE, CaloTowerDetId::ieta(), CaloTowerDetId::ietaAbs(), CaloTowerDetId::iphi(), and QuadHF.
Referenced by CaloRecoTauAlgorithm::getCaloTowerneighbourDetIds().
Get the neighbors of the given cell in south direction
Implements CaloSubdetectorTopology.
Definition at line 94 of file CaloTowerTopology.cc.
References createTree::dd, DoubleHE, CaloTowerDetId::ieta(), CaloTowerDetId::ietaAbs(), CaloTowerDetId::iphi(), and QuadHF.
Referenced by CaloRecoTauAlgorithm::getCaloTowerneighbourDetIds().
Get the neighbors of the given cell in up direction (outward)
Implements CaloSubdetectorTopology.
Definition at line 110 of file CaloTowerTopology.cc.
|
virtual |
is this detid present in the Topology?
Reimplemented from CaloSubdetectorTopology.
Definition at line 7 of file CaloTowerTopology.cc.
References cond::ecalcond::bad(), CaloTowerDetId::ieta(), and CaloTowerDetId::iphi().
Get the neighbors of the given cell in west direction
Implements CaloSubdetectorTopology.
Definition at line 44 of file CaloTowerTopology.cc.
References createTree::dd, DoubleHE, CaloTowerDetId::ieta(), CaloTowerDetId::iphi(), and QuadHF.
Referenced by CaloRecoTauAlgorithm::getCaloTowerneighbourDetIds().