#include <EcalBarrelTopology.h>
Public Member Functions | |
virtual std::vector< DetId > | down (const DetId &) const |
virtual std::vector< DetId > | east (const DetId &id) const |
move the Topology east (negative ieta) More... | |
EcalBarrelTopology () | |
create a new Topology More... | |
EcalBarrelTopology (edm::ESHandle< CaloGeometry > theGeom) | |
create a new Topology from geometry More... | |
virtual std::vector< DetId > | north (const DetId &id) const |
move the Topology north (increment iphi) More... | |
virtual std::vector< DetId > | south (const DetId &id) const |
move the Topology south (decrement iphi) More... | |
virtual std::vector< DetId > | up (const DetId &) const |
virtual std::vector< DetId > | west (const DetId &id) const |
move the Topology west (positive ieta) More... | |
virtual | ~EcalBarrelTopology () |
virtual destructor More... | |
Public Member Functions inherited from CaloSubdetectorTopology | |
CaloSubdetectorTopology () | |
standard constructor 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 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... | |
Private Attributes | |
edm::ESHandle< CaloGeometry > | theGeom_ |
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 11 of file EcalBarrelTopology.h.
|
inline |
create a new Topology
Definition at line 16 of file EcalBarrelTopology.h.
|
inlinevirtual |
|
inline |
create a new Topology from geometry
Definition at line 22 of file EcalBarrelTopology.h.
move the nagivator to smaller ieta (more negative z) (stops at end of barrel and returns null)
Definition at line 30 of file EcalBarrelTopology.cc.
References DetId::Ecal, EcalBarrel, and EBDetId::validDetId().
Referenced by east().
move the nagivator to smaller iphi (wraps around the barrel)
Definition at line 86 of file EcalBarrelTopology.cc.
References DetId::Ecal, EcalBarrel, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and EBDetId::validDetId().
Referenced by south().
Get the neighbors of the given cell in down direction (inward)
Implements CaloSubdetectorTopology.
Definition at line 73 of file EcalBarrelTopology.h.
References gather_cfg::cout.
move the Topology east (negative ieta)
Implements CaloSubdetectorTopology.
Definition at line 47 of file EcalBarrelTopology.h.
References decrementIeta(), and DetId::rawId().
move the nagivator to larger ieta (more positive z) (stops at end of barrel and returns null)
Definition at line 5 of file EcalBarrelTopology.cc.
References DetId::Ecal, EcalBarrel, and EBDetId::validDetId().
Referenced by west().
move the nagivator to larger iphi (wraps around the barrel)
Definition at line 58 of file EcalBarrelTopology.cc.
References DetId::Ecal, EcalBarrel, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, and EBDetId::validDetId().
Referenced by north().
move the Topology north (increment iphi)
Implements CaloSubdetectorTopology.
Definition at line 27 of file EcalBarrelTopology.h.
References incrementIphi(), and DetId::rawId().
move the Topology south (decrement iphi)
Implements CaloSubdetectorTopology.
Definition at line 37 of file EcalBarrelTopology.h.
References decrementIphi(), and DetId::rawId().
Get the neighbors of the given cell in up direction (outward)
Implements CaloSubdetectorTopology.
Definition at line 66 of file EcalBarrelTopology.h.
References gather_cfg::cout.
move the Topology west (positive ieta)
Implements CaloSubdetectorTopology.
Definition at line 57 of file EcalBarrelTopology.h.
References incrementIeta(), and DetId::rawId().
|
private |
Definition at line 94 of file EcalBarrelTopology.h.