CMS 3D CMS Logo

List of all members | Public Member Functions
PFRecHitHCALNavigator Class Reference
Inheritance diagram for PFRecHitHCALNavigator:
PFRecHitCaloNavigator< HcalDetId, HcalTopology, false > PFRecHitNavigatorBase

Public Member Functions

void init (const edm::EventSetup &iSetup) override
 
 PFRecHitHCALNavigator (const edm::ParameterSet &iConfig)
 
- Public Member Functions inherited from PFRecHitCaloNavigator< HcalDetId, HcalTopology, false >
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< HcalDetId, HcalTopology, false >
std::unique_ptr< const HcalTopologytopology_
 

Detailed Description

Definition at line 69 of file Navigators.cc.

Constructor & Destructor Documentation

◆ PFRecHitHCALNavigator()

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

Definition at line 71 of file Navigators.cc.

71 {}

Member Function Documentation

◆ init()

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

Implements PFRecHitNavigatorBase.

Definition at line 73 of file Navigators.cc.

73  {
74  edm::ESHandle<HcalTopology> hcalTopology;
75  iSetup.get<HcalRecNumberingRecord>().get(hcalTopology);
76  topology_.release();
77  topology_.reset(hcalTopology.product());
78  }

References edm::EventSetup::get(), get, edm::ESHandle< T >::product(), and PFRecHitCaloNavigator< HcalDetId, HcalTopology, false >::topology_.

edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
edm::ESHandle< HcalTopology >
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
get
#define get
PFRecHitCaloNavigator< HcalDetId, HcalTopology, false >::topology_
std::unique_ptr< const HcalTopology > topology_
Definition: PFRecHitCaloNavigator.h:100