#include <EcalPreshowerTopology.h>
Public Member Functions | |
std::vector< DetId > | down (const DetId &id) const override |
std::vector< DetId > | east (const DetId &id) const override |
EcalPreshowerTopology () | |
create a new Topology More... | |
EcalPreshowerTopology (edm::ESHandle< CaloGeometry > theGeom) | |
create a new Topology from geometry More... | |
DetId | goDown (const DetId &id) const override |
DetId | goEast (const DetId &id) const override |
move the Topology east (positive ix) More... | |
DetId | goNorth (const DetId &id) const override |
move the Topology north (increment iy) More... | |
DetId | goSouth (const DetId &id) const override |
move the Topology south (decrement iy) More... | |
DetId | goUp (const DetId &id) const override |
DetId | goWest (const DetId &id) const override |
move the Topology west (negative ix) 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 &id) const override |
std::vector< DetId > | west (const DetId &id) const override |
~EcalPreshowerTopology () override | |
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 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 | |
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 12 of file EcalPreshowerTopology.h.
|
inline |
create a new Topology
Definition at line 16 of file EcalPreshowerTopology.h.
|
inlineoverride |
|
inline |
create a new Topology from geometry
Definition at line 22 of file EcalPreshowerTopology.h.
move the nagivator to smaller ix
Definition at line 100 of file EcalPreshowerTopology.cc.
References digi_MixPreMix_cfi::strip, ESDetId::validDetId(), and HcalDigiParam_cfi::zside.
Referenced by down(), and goWest().
move the nagivator to smaller iy
Definition at line 37 of file EcalPreshowerTopology.cc.
References digi_MixPreMix_cfi::strip, ESDetId::validDetId(), and HcalDigiParam_cfi::zside.
Referenced by down(), and goSouth().
move the nagivator to smaller iz
Definition at line 143 of file EcalPreshowerTopology.cc.
References digi_MixPreMix_cfi::strip, ESDetId::validDetId(), and HcalDigiParam_cfi::zside.
Referenced by down(), and goDown().
Get the neighbors of the given cell in down direction (inward)
Implements CaloSubdetectorTopology.
Definition at line 94 of file EcalPreshowerTopology.h.
References decrementIx(), decrementIy(), decrementIz(), goDown(), incrementIx(), incrementIy(), incrementIz(), and DetId::rawId().
Get the neighbors of the given cell in east direction
Implements CaloSubdetectorTopology.
Definition at line 57 of file EcalPreshowerTopology.h.
References goEast(), and DetId::rawId().
Reimplemented from CaloSubdetectorTopology.
Definition at line 91 of file EcalPreshowerTopology.h.
References decrementIz().
Referenced by down().
move the Topology east (positive ix)
Reimplemented from CaloSubdetectorTopology.
Definition at line 54 of file EcalPreshowerTopology.h.
References incrementIx().
Referenced by east().
move the Topology north (increment iy)
Reimplemented from CaloSubdetectorTopology.
Definition at line 28 of file EcalPreshowerTopology.h.
References incrementIy().
Referenced by north().
move the Topology south (decrement iy)
Reimplemented from CaloSubdetectorTopology.
Definition at line 41 of file EcalPreshowerTopology.h.
References decrementIy().
Referenced by south().
Reimplemented from CaloSubdetectorTopology.
Definition at line 79 of file EcalPreshowerTopology.h.
References incrementIz().
Referenced by up().
move the Topology west (negative ix)
Reimplemented from CaloSubdetectorTopology.
Definition at line 67 of file EcalPreshowerTopology.h.
References decrementIx().
Referenced by west().
move the nagivator to larger ix
Definition at line 68 of file EcalPreshowerTopology.cc.
References digi_MixPreMix_cfi::strip, ESDetId::validDetId(), and HcalDigiParam_cfi::zside.
Referenced by down(), and goEast().
move the nagivator to larger iy
Definition at line 5 of file EcalPreshowerTopology.cc.
References digi_MixPreMix_cfi::strip, ESDetId::validDetId(), and HcalDigiParam_cfi::zside.
Referenced by down(), and goNorth().
move the nagivator to larger iz
Definition at line 131 of file EcalPreshowerTopology.cc.
References digi_MixPreMix_cfi::strip, ESDetId::validDetId(), and HcalDigiParam_cfi::zside.
Referenced by down(), and goUp().
Get the neighbors of the given cell in north direction
Implements CaloSubdetectorTopology.
Definition at line 31 of file EcalPreshowerTopology.h.
References goNorth(), and DetId::rawId().
Get the neighbors of the given cell in south direction
Implements CaloSubdetectorTopology.
Definition at line 44 of file EcalPreshowerTopology.h.
References goSouth(), and DetId::rawId().
Get the neighbors of the given cell in up direction (outward)
Implements CaloSubdetectorTopology.
Definition at line 82 of file EcalPreshowerTopology.h.
References goUp(), and DetId::rawId().
Get the neighbors of the given cell in west direction
Implements CaloSubdetectorTopology.
Definition at line 70 of file EcalPreshowerTopology.h.
References goWest(), and DetId::rawId().
|
private |
Definition at line 123 of file EcalPreshowerTopology.h.