CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
HODetIdAssociatorMaker Class Reference

#include "HODetIdAssociatorMaker.h"

Inheritance diagram for HODetIdAssociatorMaker:
CaloDetIdAssociatorMaker DetIdAssociatorMaker

Public Member Functions

 CaloDetIdAssociatorMaker (edm::ParameterSet const &, edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&)
 
- Public Member Functions inherited from CaloDetIdAssociatorMaker
 CaloDetIdAssociatorMaker (edm::ParameterSet const &, edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&)
 
std::unique_ptr< DetIdAssociatormake (const DetIdAssociatorRecord &) const final
 
- Public Member Functions inherited from DetIdAssociatorMaker
 DetIdAssociatorMaker ()=default
 
 DetIdAssociatorMaker (const DetIdAssociatorMaker &)=delete
 
const DetIdAssociatorMakeroperator= (const DetIdAssociatorMaker &)=delete
 
virtual ~DetIdAssociatorMaker ()=default
 

Private Member Functions

std::unique_ptr< DetIdAssociatormake (CaloGeometry const &geom, int nPhi, int nEta, double etaBinSize) const final
 

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 29 of file HODetIdAssociatorMaker.h.

Member Function Documentation

◆ CaloDetIdAssociatorMaker()

CaloDetIdAssociatorMaker::CaloDetIdAssociatorMaker

Definition at line 34 of file CaloDetIdAssociatorMaker.cc.

36  : geomToken_{iCollector.consumesFrom<CaloGeometry, CaloGeometryRecord>()},
37  etaBinSize{pSet.getParameter<double>("etaBinSize")},
38  nPhi{pSet.getParameter<int>("nPhi")},
39  nEta{pSet.getParameter<int>("nEta")} {}

◆ make()

std::unique_ptr<DetIdAssociator> HODetIdAssociatorMaker::make ( CaloGeometry const &  geom,
int  nPhi,
int  nEta,
double  etaBinSize 
) const
inlinefinalprivatevirtual

Reimplemented from CaloDetIdAssociatorMaker.

Definition at line 34 of file HODetIdAssociatorMaker.h.

34  {
35  return std::unique_ptr<DetIdAssociator>(new HODetIdAssociator(nPhi, nEta, etaBinSize, &geom));
36  }

References CaloDetIdAssociatorMaker::etaBinSize, relativeConstraints::geom, CaloDetIdAssociatorMaker::nEta, and CaloDetIdAssociatorMaker::nPhi.

HODetIdAssociator
Definition: HODetIdAssociator.h:23
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
CaloGeometry
Definition: CaloGeometry.h:21
CaloDetIdAssociatorMaker::geomToken_
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
Definition: CaloDetIdAssociatorMaker.h:45
CaloDetIdAssociatorMaker::nEta
const int nEta
Definition: CaloDetIdAssociatorMaker.h:48
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
CaloDetIdAssociatorMaker::nPhi
const int nPhi
Definition: CaloDetIdAssociatorMaker.h:47
CaloDetIdAssociatorMaker::etaBinSize
const double etaBinSize
Definition: CaloDetIdAssociatorMaker.h:46