CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PFRecHitEcalBarrelNavigator Class Referencefinal
Inheritance diagram for PFRecHitEcalBarrelNavigator:
PFRecHitCaloNavigator< EBDetId, EcalBarrelTopology > PFRecHitNavigatorBase

Public Member Functions

void init (const edm::EventSetup &iSetup) override
 
 PFRecHitEcalBarrelNavigator (const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
 
- Public Member Functions inherited from PFRecHitCaloNavigator< EBDetId, EcalBarrelTopology >
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< CaloGeometry, CaloGeometryRecordgeomToken_
 

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< EBDetId, EcalBarrelTopology >
std::unique_ptr< const EcalBarrelTopologytopology_
 

Detailed Description

Definition at line 44 of file Navigators.cc.

Constructor & Destructor Documentation

◆ PFRecHitEcalBarrelNavigator()

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

Definition at line 46 of file Navigators.cc.

Member Function Documentation

◆ init()

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

Implements PFRecHitNavigatorBase.

Definition at line 49 of file Navigators.cc.

49  {
51  topology_ = std::make_unique<EcalBarrelTopology>(*geoHandle);
52  }

References geomToken_, edm::EventSetup::getHandle(), and PFRecHitCaloNavigator< EBDetId, EcalBarrelTopology >::topology_.

Member Data Documentation

◆ geomToken_

edm::ESGetToken<CaloGeometry, CaloGeometryRecord> PFRecHitEcalBarrelNavigator::geomToken_
private

Definition at line 55 of file Navigators.cc.

Referenced by init().

edm::ESHandle< CaloGeometry >
edm::Transition::BeginLuminosityBlock
edm::EventSetup::getHandle
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:155
cc
PFRecHitCaloNavigator< EBDetId, EcalBarrelTopology >::topology_
std::unique_ptr< const EcalBarrelTopology > topology_
Definition: PFRecHitCaloNavigator.h:100
PFRecHitEcalBarrelNavigator::geomToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
Definition: Navigators.cc:55