CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
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, edm::ConsumesCollector &cc)
 
- 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, edm::ConsumesCollector &cc)
 
virtual ~PFRecHitNavigatorBase ()=default
 

Private Attributes

edm::ESGetToken
< CaloTowerTopology,
HcalRecNumberingRecord
caloToken_
 

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
CaloTowerTopology
topology_
 

Detailed Description

Definition at line 116 of file Navigators.cc.

Constructor & Destructor Documentation

PFRecHitCaloTowerNavigator::PFRecHitCaloTowerNavigator ( const edm::ParameterSet iConfig,
edm::ConsumesCollector cc 
)
inline

Definition at line 118 of file Navigators.cc.

edm::ESGetToken< CaloTowerTopology, HcalRecNumberingRecord > caloToken_
Definition: Navigators.cc:128

Member Function Documentation

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

Implements PFRecHitNavigatorBase.

Definition at line 121 of file Navigators.cc.

References caloToken_, edm::EventSetup::getHandle(), edm::ESHandle< class >::product(), and PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology >::topology_.

121  {
122  edm::ESHandle<CaloTowerTopology> caloTowerTopology = iSetup.getHandle(caloToken_);
123  topology_.release();
124  topology_.reset(caloTowerTopology.product());
125  }
edm::ESGetToken< CaloTowerTopology, HcalRecNumberingRecord > caloToken_
Definition: Navigators.cc:128
T const * product() const
Definition: ESHandle.h:86
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:151
std::unique_ptr< const CaloTowerTopology > topology_

Member Data Documentation

edm::ESGetToken<CaloTowerTopology, HcalRecNumberingRecord> PFRecHitCaloTowerNavigator::caloToken_
private

Definition at line 128 of file Navigators.cc.

Referenced by init().