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 init (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 93 of file Navigators.cc.

Constructor & Destructor Documentation

◆ PFRecHitCaloTowerNavigator()

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

Definition at line 95 of file Navigators.cc.

95 {}

Member Function Documentation

◆ init()

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

Implements PFRecHitNavigatorBase.

Definition at line 97 of file Navigators.cc.

97  {
98  edm::ESHandle<CaloTowerTopology> caloTowerTopology;
99  iSetup.get<HcalRecNumberingRecord>().get(caloTowerTopology);
100  topology_.release();
101  topology_.reset(caloTowerTopology.product());
102  }

References edm::EventSetup::get(), get, edm::ESHandle< T >::product(), and PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology >::topology_.

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
edm::ESHandle
Definition: DTSurvey.h:22
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
get
#define get
PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology >::topology_
std::unique_ptr< const CaloTowerTopology > topology_
Definition: PFRecHitCaloNavigator.h:100