CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PFRecHitEcalEndcapNavigator Class Referencefinal
Inheritance diagram for PFRecHitEcalEndcapNavigator:
PFRecHitCaloNavigator< EEDetId, EcalEndcapTopology > PFRecHitNavigatorBase

Public Member Functions

void init (const edm::EventSetup &iSetup) override
 
 PFRecHitEcalEndcapNavigator (const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
 
- Public Member Functions inherited from PFRecHitCaloNavigator< EEDetId, EcalEndcapTopology >
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< EEDetId, EcalEndcapTopology >
std::unique_ptr< const EcalEndcapTopologytopology_
 

Detailed Description

Definition at line 56 of file Navigators.cc.

Constructor & Destructor Documentation

◆ PFRecHitEcalEndcapNavigator()

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

Definition at line 58 of file Navigators.cc.

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

Member Function Documentation

◆ init()

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

Implements PFRecHitNavigatorBase.

Definition at line 61 of file Navigators.cc.

References geomToken_, edm::EventSetup::getHandle(), and PFRecHitCaloNavigator< EEDetId, EcalEndcapTopology >::topology_.

61  {
63  topology_ = std::make_unique<EcalEndcapTopology>(*geoHandle);
64  }
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
Definition: Navigators.cc:67
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130
std::unique_ptr< const EcalEndcapTopology > topology_

Member Data Documentation

◆ geomToken_

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

Definition at line 67 of file Navigators.cc.

Referenced by init().