CMS 3D CMS Logo

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

Public Member Functions

void init (const edm::EventSetup &iSetup) override
 
 PFRecHitHCALNavigatorWithTime (const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
 
- Public Member Functions inherited from PFRecHitCaloNavigatorWithTime< HcalDetId, HcalTopology, false >
void associateNeighbours (reco::PFRecHit &hit, std::unique_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refProd) override
 
 PFRecHitCaloNavigatorWithTime (const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
 
 ~PFRecHitCaloNavigatorWithTime () override
 
- Public Member Functions inherited from PFRecHitNavigatorBase
 PFRecHitNavigatorBase ()=default
 
 PFRecHitNavigatorBase (const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
 
virtual ~PFRecHitNavigatorBase ()=default
 

Private Attributes

edm::ESGetToken< HcalTopology,
HcalRecNumberingRecord
hcalToken_
 

Additional Inherited Members

- Public Types inherited from PFRecHitNavigatorBase
typedef std::unordered_map
< unsigned, unsigned > 
DetIdToHitIdx
 
- Protected Member Functions inherited from PFRecHitCaloNavigatorWithTime< HcalDetId, HcalTopology, false >
void associateNeighbour (const DetId &id, reco::PFRecHit &hit, std::unique_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refProd, short eta, short phi)
 
- 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 PFRecHitCaloNavigatorWithTime< HcalDetId, HcalTopology, false >
std::unique_ptr
< CaloRecHitResolutionProvider
_timeResolutionCalc
 
double sigmaCut2_
 
std::unique_ptr< const
HcalTopology
topology_
 

Detailed Description

Definition at line 100 of file Navigators.cc.

Constructor & Destructor Documentation

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

Definition at line 102 of file Navigators.cc.

103  : PFRecHitCaloNavigatorWithTime(iConfig, cc),
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > hcalToken_
Definition: Navigators.cc:113
PFRecHitCaloNavigatorWithTime(const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)

Member Function Documentation

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

Implements PFRecHitNavigatorBase.

Definition at line 106 of file Navigators.cc.

References edm::EventSetup::getHandle(), hcalToken_, edm::ESHandle< class >::product(), and PFRecHitCaloNavigatorWithTime< HcalDetId, HcalTopology, false >::topology_.

106  {
107  edm::ESHandle<HcalTopology> hcalTopology = iSetup.getHandle(hcalToken_);
108  topology_.release();
109  topology_.reset(hcalTopology.product());
110  }
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > hcalToken_
Definition: Navigators.cc:113
T const * product() const
Definition: ESHandle.h:86
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:157

Member Data Documentation

edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> PFRecHitHCALNavigatorWithTime::hcalToken_
private

Definition at line 113 of file Navigators.cc.

Referenced by init().