CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
HcalDetIdAssociatorMaker Class Reference

#include "HcalDetIdAssociatorMaker.h"

Inheritance diagram for HcalDetIdAssociatorMaker:
CaloDetIdAssociatorMaker DetIdAssociatorMaker

Public Member Functions

 HcalDetIdAssociatorMaker (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
 

Private Attributes

const int hcalReg_
 

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 29 of file HcalDetIdAssociatorMaker.h.

Constructor & Destructor Documentation

◆ HcalDetIdAssociatorMaker()

HcalDetIdAssociatorMaker::HcalDetIdAssociatorMaker ( edm::ParameterSet const &  pSet,
edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&  iCollector 
)

Definition at line 29 of file HcalDetIdAssociatorMaker.cc.

31  : CaloDetIdAssociatorMaker(pSet, std::move(iCollector)), hcalReg_{pSet.getParameter<int>("hcalRegion")} {}

References edm::ParameterSet::getParameter().

Member Function Documentation

◆ make()

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

Reimplemented from CaloDetIdAssociatorMaker.

Definition at line 34 of file HcalDetIdAssociatorMaker.h.

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

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

Member Data Documentation

◆ hcalReg_

const int HcalDetIdAssociatorMaker::hcalReg_
private

Definition at line 38 of file HcalDetIdAssociatorMaker.h.

Referenced by make().

HcalDetIdAssociatorMaker::hcalReg_
const int hcalReg_
Definition: HcalDetIdAssociatorMaker.h:38
CaloDetIdAssociatorMaker::CaloDetIdAssociatorMaker
CaloDetIdAssociatorMaker(edm::ParameterSet const &, edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&)
Definition: CaloDetIdAssociatorMaker.cc:34
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
HcalDetIdAssociator
Definition: HcalDetIdAssociator.h:23
eostools.move
def move(src, dest)
Definition: eostools.py:511
CaloDetIdAssociatorMaker::etaBinSize
const double etaBinSize
Definition: CaloDetIdAssociatorMaker.h:46