#include <EcalPreshowerTopology.h>
Public Member Functions | |
virtual std::vector< DetId > | down (const DetId &id) const |
virtual std::vector< DetId > | east (const DetId &id) const |
move the Topology east (positive ix) More... | |
EcalPreshowerTopology () | |
create a new Topology More... | |
EcalPreshowerTopology (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 iy) More... | |
virtual std::vector< DetId > | south (const DetId &id) const |
move the Topology south (decrement iy) More... | |
virtual std::vector< DetId > | up (const DetId &id) const |
virtual std::vector< DetId > | west (const DetId &id) const |
move the Topology west (negative ix) More... | |
virtual | ~EcalPreshowerTopology () |
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 | |
ESDetId | decrementIx (const ESDetId &id) const |
move the nagivator to smaller ix More... | |
ESDetId | decrementIy (const ESDetId &id) const |
move the nagivator to smaller iy More... | |
ESDetId | decrementIz (const ESDetId &id) const |
move the nagivator to smaller iz More... | |
ESDetId | incrementIx (const ESDetId &id) const |
move the nagivator to larger ix More... | |
ESDetId | incrementIy (const ESDetId &id) const |
move the nagivator to larger iy More... | |
ESDetId | incrementIz (const ESDetId &id) const |
move the nagivator to larger iz 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 EcalPreshowerTopology.h.
|
inline |
create a new Topology
Definition at line 15 of file EcalPreshowerTopology.h.
|
inlinevirtual |
|
inline |
create a new Topology from geometry
Definition at line 21 of file EcalPreshowerTopology.h.
move the nagivator to smaller ix
Definition at line 143 of file EcalPreshowerTopology.cc.
References DetId::Ecal, EcalPreshower, strip(), and ESDetId::validDetId().
Referenced by west().
move the nagivator to smaller iy
Definition at line 51 of file EcalPreshowerTopology.cc.
References DetId::Ecal, EcalPreshower, strip(), and ESDetId::validDetId().
Referenced by south().
move the nagivator to smaller iz
Definition at line 209 of file EcalPreshowerTopology.cc.
References DetId::Ecal, EcalPreshower, strip(), and ESDetId::validDetId().
Referenced by down().
Get the neighbors of the given cell in down direction (inward)
Implements CaloSubdetectorTopology.
Definition at line 74 of file EcalPreshowerTopology.h.
References decrementIz(), and DetId::rawId().
move the Topology east (positive ix)
Implements CaloSubdetectorTopology.
Definition at line 46 of file EcalPreshowerTopology.h.
References incrementIx(), and DetId::rawId().
move the nagivator to larger ix
Definition at line 96 of file EcalPreshowerTopology.cc.
References DetId::Ecal, EcalPreshower, strip(), and ESDetId::validDetId().
Referenced by east().
move the nagivator to larger iy
Definition at line 5 of file EcalPreshowerTopology.cc.
References DetId::Ecal, EcalPreshower, strip(), and ESDetId::validDetId().
Referenced by north().
move the nagivator to larger iz
Definition at line 189 of file EcalPreshowerTopology.cc.
References DetId::Ecal, EcalPreshower, strip(), and ESDetId::validDetId().
Referenced by up().
move the Topology north (increment iy)
Implements CaloSubdetectorTopology.
Definition at line 26 of file EcalPreshowerTopology.h.
References incrementIy(), and DetId::rawId().
move the Topology south (decrement iy)
Implements CaloSubdetectorTopology.
Definition at line 36 of file EcalPreshowerTopology.h.
References decrementIy(), and DetId::rawId().
Get the neighbors of the given cell in up direction (outward)
Implements CaloSubdetectorTopology.
Definition at line 65 of file EcalPreshowerTopology.h.
References incrementIz(), and DetId::rawId().
move the Topology west (negative ix)
Implements CaloSubdetectorTopology.
Definition at line 56 of file EcalPreshowerTopology.h.
References decrementIx(), and DetId::rawId().
|
private |
Definition at line 103 of file EcalPreshowerTopology.h.