CMS 3D CMS Logo

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

#include "PreshowerDetIdAssociatorMaker.h"

Inheritance diagram for PreshowerDetIdAssociatorMaker:
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 PreshowerDetIdAssociatorMaker.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> PreshowerDetIdAssociatorMaker::make ( CaloGeometry const &  geom,
int  nPhi,
int  nEta,
double  etaBinSize 
) const
inlinefinalprivatevirtual

Reimplemented from CaloDetIdAssociatorMaker.

Definition at line 34 of file PreshowerDetIdAssociatorMaker.h.

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

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

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
PreshowerDetIdAssociator
Definition: PreshowerDetIdAssociator.h:23
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