CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
PFRecHitCaloTowerNavigator Class Reference
Inheritance diagram for PFRecHitCaloTowerNavigator:
PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology > PFRecHitNavigatorBase

Public Member Functions

void beginEvent (const edm::EventSetup &iSetup)
 
 PFRecHitCaloTowerNavigator (const edm::ParameterSet &iConfig)
 
- Public Member Functions inherited from PFRecHitCaloNavigator< CaloTowerDetId, CaloTowerTopology >
void associateNeighbours (reco::PFRecHit &hit, std::auto_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refProd)
 
virtual ~PFRecHitCaloNavigator ()
 
- Public Member Functions inherited from PFRecHitNavigatorBase
 PFRecHitNavigatorBase ()
 
 PFRecHitNavigatorBase (const edm::ParameterSet &iConfig)
 
virtual ~PFRecHitNavigatorBase ()
 

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::auto_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 115 of file Navigators.cc.

Constructor & Destructor Documentation

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

Definition at line 117 of file Navigators.cc.

117  {
118 
119  }

Member Function Documentation

void PFRecHitCaloTowerNavigator::beginEvent ( const edm::EventSetup iSetup)
inlinevirtual

Implements PFRecHitNavigatorBase.

Definition at line 122 of file Navigators.cc.

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

122  {
123  edm::ESHandle<CaloTowerTopology> caloTowerTopology;
124  iSetup.get<HcalRecNumberingRecord>().get(caloTowerTopology);
125  topology_.release();
126  topology_.reset(caloTowerTopology.product());
127  }
const T & get() const
Definition: EventSetup.h:56
T const * product() const
Definition: ESHandle.h:86
std::unique_ptr< const CaloTowerTopology > topology_