#include <PFECALHashNavigator.h>
Public Member Functions | |
void | associateNeighbours (reco::PFRecHit &rh, std::auto_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refprod) |
void | beginEvent (const edm::EventSetup &iSetup) |
PFECALHashNavigator () | |
PFECALHashNavigator (const edm::ParameterSet &iConfig) | |
Public Member Functions inherited from PFRecHitNavigatorBase | |
PFRecHitNavigatorBase () | |
PFRecHitNavigatorBase (const edm::ParameterSet &iConfig) | |
virtual | ~PFRecHitNavigatorBase () |
Protected Member Functions | |
void | ecalNeighbArray (const EcalBarrelGeometry &barrelGeom, const CaloSubdetectorTopology &barrelTopo, const EcalEndcapGeometry &endcapGeom, const CaloSubdetectorTopology &endcapTopo) |
DetId | move (DetId cell, const CaloDirection &dir) const |
bool | stdmove (DetId &cell, const CaloDirection &dir, const CaloSubdetectorTopology &barrelTopo, const CaloSubdetectorTopology &endcapTopo, const EcalBarrelGeometry &barrelGeom, const EcalEndcapGeometry &endcapGeom) const |
bool | stdsimplemove (DetId &cell, const CaloDirection &dir, const CaloSubdetectorTopology &barrelTopo, const CaloSubdetectorTopology &endcapTopo, const EcalBarrelGeometry &barrelGeom, const EcalEndcapGeometry &endcapGeom) const |
Protected Member Functions inherited from PFRecHitNavigatorBase | |
void | associateNeighbour (const DetId &id, reco::PFRecHit &hit, std::auto_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refProd, short eta, short phi, short depth) |
Protected Attributes | |
const EcalBarrelGeometry * | barrelGeometry_ |
EcalBarrelTopology * | barrelTopology_ |
bool | crossBarrelEndcapBorder_ |
if true, navigation will cross the barrel-endcap border More... | |
const EcalEndcapGeometry * | endcapGeometry_ |
EcalEndcapTopology * | endcapTopology_ |
bool | neighbourmapcalculated_ |
set to true in ecalNeighbArray More... | |
std::vector< std::vector< DetId > > | neighboursEB_ |
for each ecal barrel rechit, keep track of the neighbours More... | |
std::vector< std::vector< DetId > > | neighboursEE_ |
for each ecal endcap rechit, keep track of the neighbours More... | |
Additional Inherited Members | |
Public Types inherited from PFRecHitNavigatorBase | |
typedef std::unordered_map < unsigned, unsigned > | DetIdToHitIdx |
Definition at line 28 of file PFECALHashNavigator.h.
|
inline |
Definition at line 33 of file PFECALHashNavigator.h.
|
inline |
Definition at line 39 of file PFECALHashNavigator.h.
References crossBarrelEndcapBorder_, edm::ParameterSet::getParameter(), and neighbourmapcalculated_.
|
inlinevirtual |
Implements PFRecHitNavigatorBase.
Definition at line 69 of file PFECALHashNavigator.h.
References PFRecHitNavigatorBase::associateNeighbour(), reco::PFRecHit::detId(), EAST, east, move(), NORTH, north, NORTHEAST, NORTHWEST, SOUTH, south, SOUTHEAST, SOUTHWEST, WEST, and west.
|
inlinevirtual |
Implements PFRecHitNavigatorBase.
Definition at line 49 of file PFECALHashNavigator.h.
References barrelGeometry_, barrelTopology_, DetId::Ecal, EcalBarrel, EcalEndcap, ecalNeighbArray(), endcapGeometry_, endcapTopology_, and edm::EventSetup::get().
|
inlineprotected |
Definition at line 107 of file PFECALHashNavigator.h.
References DetId::Ecal, EcalBarrel, EcalEndcap, CaloSubdetectorGeometry::getValidDetIds(), CaloSubdetectorTopology::getWindow(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), recoMuon::in, LogDebug, neighbourmapcalculated_, neighboursEB_, neighboursEE_, orderedDir, findQualityFiles::size, mps_update::status, and stdmove().
Referenced by beginEvent().
|
inlineprotected |
Definition at line 401 of file PFECALHashNavigator.h.
References assert(), dir, EcalBarrel, EBDetId::hashedIndex(), EEDetId::hashedIndex(), neighbourmapcalculated_, neighboursEB_, neighboursEE_, NONE, mps_fire::result, and DetId::subdetId().
Referenced by associateNeighbours(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inlineprotected |
Definition at line 308 of file PFECALHashNavigator.h.
References EAST, NORTH, NORTHEAST, NORTHWEST, mps_fire::result, SOUTH, SOUTHEAST, SOUTHWEST, stdsimplemove(), and WEST.
Referenced by ecalNeighbArray().
|
inlineprotected |
Definition at line 231 of file PFECALHashNavigator.h.
References crossBarrelEndcapBorder_, EcalBarrel, EcalEndcap, EcalEndcapGeometry::getClosestBarrelCells(), EcalBarrelGeometry::getClosestEndcapCells(), CaloSubdetectorTopology::getNeighbours(), EBDetId::ietaAbs(), EEDetId::iPhiOuterRing(), EBDetId::MAX_IETA, and DetId::subdetId().
Referenced by stdmove().
|
protected |
Definition at line 425 of file PFECALHashNavigator.h.
Referenced by beginEvent().
|
protected |
Definition at line 422 of file PFECALHashNavigator.h.
Referenced by beginEvent().
|
protected |
if true, navigation will cross the barrel-endcap border
Definition at line 437 of file PFECALHashNavigator.h.
Referenced by PFECALHashNavigator(), and stdsimplemove().
|
protected |
Definition at line 424 of file PFECALHashNavigator.h.
Referenced by beginEvent().
|
protected |
Definition at line 421 of file PFECALHashNavigator.h.
Referenced by beginEvent().
|
protected |
set to true in ecalNeighbArray
Definition at line 434 of file PFECALHashNavigator.h.
Referenced by ecalNeighbArray(), move(), and PFECALHashNavigator().
|
protected |
for each ecal barrel rechit, keep track of the neighbours
Definition at line 428 of file PFECALHashNavigator.h.
Referenced by ecalNeighbArray(), and move().
|
protected |
for each ecal endcap rechit, keep track of the neighbours
Definition at line 431 of file PFECALHashNavigator.h.
Referenced by ecalNeighbArray(), and move().