#include <EcalBarrelHardcodedTopology.h>
Public Member Functions | |
std::vector< DetId > | down (const DetId &) const override |
std::vector< DetId > | east (const DetId &id) const override |
EcalBarrelHardcodedTopology () | |
create a new Topology More... | |
DetId | goEast (const DetId &id) const override |
move the Topology east (negative ieta) More... | |
DetId | goNorth (const DetId &id) const override |
move the Topology north (increment iphi) More... | |
DetId | goSouth (const DetId &id) const override |
move the Topology south (decrement iphi) More... | |
DetId | goWest (const DetId &id) const override |
move the Topology west (positive ieta) More... | |
std::vector< DetId > | north (const DetId &id) const override |
std::vector< DetId > | south (const DetId &id) const override |
std::vector< DetId > | up (const DetId &) const override |
std::vector< DetId > | west (const DetId &id) const override |
~EcalBarrelHardcodedTopology () override | |
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 | goUp (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 bool | valid (const DetId &) const |
is this detid present in the Topology? More... | |
virtual | ~CaloSubdetectorTopology () |
virtual destructor More... | |
Private Member Functions | |
EBDetId | decrementIeta (const EBDetId &) const |
move the nagivator to smaller ieta (more negative z) (stops at end of barrel and returns null) More... | |
EBDetId | decrementIphi (const EBDetId &) const |
move the nagivator to smaller iphi (wraps around the barrel) More... | |
EBDetId | incrementIeta (const EBDetId &) const |
move the nagivator to larger ieta (more positive z) (stops at end of barrel and returns null) More... | |
EBDetId | incrementIphi (const EBDetId &) const |
move the nagivator to larger iphi (wraps around the barrel) 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 EcalBarrelHardcodedTopology.h.
|
inline |
|
inlineoverride |
Definition at line 15 of file EcalBarrelHardcodedTopology.h.
move the nagivator to smaller ieta (more negative z) (stops at end of barrel and returns null)
Definition at line 12 of file EcalBarrelHardcodedTopology.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and EBDetId::MAX_IETA.
Referenced by goEast().
move the nagivator to smaller iphi (wraps around the barrel)
Definition at line 28 of file EcalBarrelHardcodedTopology.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, EBDetId::MAX_IPHI, and EBDetId::MIN_IPHI.
Referenced by goSouth().
|
inlineoverridevirtual |
Get the neighbors of the given cell in down direction (inward)
Implements CaloSubdetectorTopology.
Definition at line 63 of file EcalBarrelHardcodedTopology.h.
|
inlineoverridevirtual |
Get the neighbors of the given cell in east direction
Implements CaloSubdetectorTopology.
Definition at line 39 of file EcalBarrelHardcodedTopology.h.
References goEast(), and DetId::rawId().
move the Topology east (negative ieta)
Reimplemented from CaloSubdetectorTopology.
Definition at line 38 of file EcalBarrelHardcodedTopology.h.
References decrementIeta().
Referenced by east().
move the Topology north (increment iphi)
Reimplemented from CaloSubdetectorTopology.
Definition at line 18 of file EcalBarrelHardcodedTopology.h.
References incrementIphi().
Referenced by north().
move the Topology south (decrement iphi)
Reimplemented from CaloSubdetectorTopology.
Definition at line 28 of file EcalBarrelHardcodedTopology.h.
References decrementIphi().
Referenced by south().
move the Topology west (positive ieta)
Reimplemented from CaloSubdetectorTopology.
Definition at line 48 of file EcalBarrelHardcodedTopology.h.
References incrementIeta().
Referenced by west().
move the nagivator to larger ieta (more positive z) (stops at end of barrel and returns null)
Definition at line 3 of file EcalBarrelHardcodedTopology.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, and EBDetId::MAX_IETA.
Referenced by goWest().
move the nagivator to larger iphi (wraps around the barrel)
Definition at line 21 of file EcalBarrelHardcodedTopology.cc.
References LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, EBDetId::MAX_IPHI, and EBDetId::MIN_IPHI.
Referenced by goNorth().
|
inlineoverridevirtual |
Get the neighbors of the given cell in north direction
Implements CaloSubdetectorTopology.
Definition at line 19 of file EcalBarrelHardcodedTopology.h.
References goNorth(), and DetId::rawId().
|
inlineoverridevirtual |
Get the neighbors of the given cell in south direction
Implements CaloSubdetectorTopology.
Definition at line 29 of file EcalBarrelHardcodedTopology.h.
References goSouth(), and DetId::rawId().
Get the neighbors of the given cell in up direction (outward)
Implements CaloSubdetectorTopology.
Definition at line 57 of file EcalBarrelHardcodedTopology.h.
|
inlineoverridevirtual |
Get the neighbors of the given cell in west direction
Implements CaloSubdetectorTopology.
Definition at line 49 of file EcalBarrelHardcodedTopology.h.
References goWest(), and DetId::rawId().