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 42 of file Navigators.cc.

Constructor & Destructor Documentation

◆ PFRecHitEcalBarrelNavigator()

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

Definition at line 44 of file Navigators.cc.

45  : geomToken_(cc.esConsumes<edm::Transition::BeginRun>()) {}
uint32_t cc[maxCellsPerHit]
Definition: gpuFishbone.h:49
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
Definition: Navigators.cc:53

Member Function Documentation

◆ init()

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

Implements PFRecHitNavigatorBase.

Definition at line 47 of file Navigators.cc.

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

47  {
49  topology_ = std::make_unique<EcalBarrelTopology>(*geoHandle);
50  }
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
Definition: Navigators.cc:53
std::unique_ptr< const EcalBarrelTopology > topology_

Member Data Documentation

◆ geomToken_

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

Definition at line 53 of file Navigators.cc.

Referenced by init().