CMS 3D CMS Logo

List of all members | Public Member Functions
PFRecHitCaloTowerNavigator Class Reference
Inheritance diagram for PFRecHitCaloTowerNavigator:
PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology > PFRecHitNavigatorBase

Public Member Functions

void beginEvent (const edm::EventSetup &iSetup) override
 
 PFRecHitCaloTowerNavigator (const edm::ParameterSet &iConfig)
 
- Public Member Functions inherited from PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology >
void associateNeighbours (reco::PFRecHit &hit, std::unique_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refProd) override
 
 ~PFRecHitCaloNavigator () override
 
- Public Member Functions inherited from PFRecHitNavigatorBase
 PFRecHitNavigatorBase ()=default
 
 PFRecHitNavigatorBase (const edm::ParameterSet &iConfig)
 
virtual ~PFRecHitNavigatorBase ()=default
 

Additional Inherited Members

- Public Types inherited from PFRecHitNavigatorBase
typedef std::unordered_map< unsigned, unsigned > DetIdToHitIdx
 
- Protected Member Functions inherited from PFRecHitNavigatorBase
void associateNeighbour (const DetId &id, reco::PFRecHit &hit, std::unique_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refProd, short eta, short phi, short depth)
 
- Protected Attributes inherited from PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology >
std::unique_ptr< const CaloTowerTopologytopology_
 

Detailed Description

Definition at line 115 of file Navigators.cc.

Constructor & Destructor Documentation

PFRecHitCaloTowerNavigator::PFRecHitCaloTowerNavigator ( const edm::ParameterSet iConfig)
inline

Definition at line 117 of file Navigators.cc.

117  {
118 
119  }

Member Function Documentation

void PFRecHitCaloTowerNavigator::beginEvent ( const edm::EventSetup iSetup)
inlineoverridevirtual

Implements PFRecHitNavigatorBase.

Definition at line 122 of file Navigators.cc.

References PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, edm::EventSetup::get(), edm::ESHandle< T >::product(), and PFRecHitCaloNavigatorWithTime< EBDetId, EcalBarrelTopology >::topology_.

122  {
123  edm::ESHandle<CaloTowerTopology> caloTowerTopology;
124  iSetup.get<HcalRecNumberingRecord>().get(caloTowerTopology);
125  topology_.release();
126  topology_.reset(caloTowerTopology.product());
127  }
const T & get() const
Definition: EventSetup.h:59
T const * product() const
Definition: ESHandle.h:86
std::unique_ptr< const CaloTowerTopology > topology_