CMS 3D CMS Logo

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

Public Member Functions

void beginEvent (const edm::EventSetup &iSetup)
 
 PFRecHitHCALNavigator (const edm::ParameterSet &iConfig)
 
- Public Member Functions inherited from PFRecHitCaloNavigator< HcalDetId, HcalTopology, false >
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< HcalDetId, HcalTopology, false >
std::unique_ptr< const
HcalTopology
topology_
 

Detailed Description

Definition at line 83 of file Navigators.cc.

Constructor & Destructor Documentation

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

Definition at line 85 of file Navigators.cc.

85  {
86 
87  }

Member Function Documentation

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

Implements PFRecHitNavigatorBase.

Definition at line 90 of file Navigators.cc.

References edm::EventSetup::get(), edm::ESHandle< class >::product(), and PFRecHitCaloNavigator< HcalDetId, HcalTopology, false >::topology_.

90  {
91  edm::ESHandle<HcalTopology> hcalTopology;
92  iSetup.get<HcalRecNumberingRecord>().get( hcalTopology );
93  topology_.release();
94  topology_.reset(hcalTopology.product());
95  }
const T & get() const
Definition: EventSetup.h:56
T const * product() const
Definition: ESHandle.h:86