#include <EcalEndcapHardcodedTopology.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... | |
EcalEndcapHardcodedTopology () | |
create a new Topology 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 | ~EcalEndcapHardcodedTopology () |
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 &id) const |
is this detid present in the Topology? More... | |
virtual | ~CaloSubdetectorTopology () |
virtual destructor More... | |
Private Member Functions | |
EEDetId | decrementIx (const EEDetId &) const |
move the nagivator to smaller ix More... | |
EEDetId | decrementIy (const EEDetId &) const |
move the nagivator to smaller iy More... | |
EEDetId | incrementIx (const EEDetId &) const |
move the nagivator to larger ix More... | |
EEDetId | incrementIy (const EEDetId &) const |
move the nagivator to larger iy 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 9 of file EcalEndcapHardcodedTopology.h.
|
inline |
|
inlinevirtual |
Definition at line 16 of file EcalEndcapHardcodedTopology.h.
move the nagivator to smaller ix
Definition at line 8 of file EcalEndcapHardcodedTopology.cc.
References EEDetId::validDetId().
Referenced by west().
move the nagivator to smaller iy
Definition at line 18 of file EcalEndcapHardcodedTopology.cc.
References EEDetId::validDetId().
Referenced by south().
|
inlinevirtual |
Get the neighbors of the given cell in down direction (inward)
Implements CaloSubdetectorTopology.
Definition at line 65 of file EcalEndcapHardcodedTopology.h.
References gather_cfg::cout.
|
inlinevirtual |
move the Topology east (positive ix)
Implements CaloSubdetectorTopology.
Definition at line 39 of file EcalEndcapHardcodedTopology.h.
References incrementIx(), and DetId::rawId().
move the nagivator to larger ix
Definition at line 3 of file EcalEndcapHardcodedTopology.cc.
References EEDetId::validDetId().
Referenced by east().
move the nagivator to larger iy
Definition at line 13 of file EcalEndcapHardcodedTopology.cc.
References EEDetId::validDetId().
Referenced by north().
|
inlinevirtual |
move the Topology north (increment iy)
Implements CaloSubdetectorTopology.
Definition at line 19 of file EcalEndcapHardcodedTopology.h.
References incrementIy(), and DetId::rawId().
|
inlinevirtual |
move the Topology south (decrement iy)
Implements CaloSubdetectorTopology.
Definition at line 29 of file EcalEndcapHardcodedTopology.h.
References decrementIy(), and DetId::rawId().
Get the neighbors of the given cell in up direction (outward)
Implements CaloSubdetectorTopology.
Definition at line 58 of file EcalEndcapHardcodedTopology.h.
References gather_cfg::cout.
|
inlinevirtual |
move the Topology west (negative ix)
Implements CaloSubdetectorTopology.
Definition at line 49 of file EcalEndcapHardcodedTopology.h.
References decrementIx(), and DetId::rawId().