CMS 3D CMS Logo

HcalDetIdAssociatorMaker.h
Go to the documentation of this file.
1 #ifndef TrackingTools_TrackAssociator_HcalDetIdAssociatorMaker_h
2 #define TrackingTools_TrackAssociator_HcalDetIdAssociatorMaker_h
3 // -*- C++ -*-
4 //
5 // Package: TrackingTools/TrackAssociator
6 // Class : HcalDetIdAssociatorMaker
7 //
16 //
17 // Original Author: Christopher Jones
18 // Created: Thu, 30 May 2019 16:11:48 GMT
19 //
20 
21 // system include files
22 
23 // user include files
24 
25 // forward declarations
27 #include "HcalDetIdAssociator.h"
28 
30 public:
32 
33 private:
34  std::unique_ptr<DetIdAssociator> make(CaloGeometry const& geom, int nPhi, int nEta, double etaBinSize) const final {
35  return std::unique_ptr<DetIdAssociator>(new HcalDetIdAssociator(hcalReg_, nPhi, nEta, etaBinSize, &geom));
36  }
37 
38  const int hcalReg_;
39 };
40 
41 #endif
HcalDetIdAssociatorMaker::hcalReg_
const int hcalReg_
Definition: HcalDetIdAssociatorMaker.h:38
HcalDetIdAssociatorMaker::make
std::unique_ptr< DetIdAssociator > make(CaloGeometry const &geom, int nPhi, int nEta, double etaBinSize) const final
Definition: HcalDetIdAssociatorMaker.h:34
edm::ESConsumesCollectorT
Definition: ESConsumesCollector.h:131
CaloGeometry
Definition: CaloGeometry.h:21
CaloDetIdAssociatorMaker.h
HcalDetIdAssociatorMaker
Definition: HcalDetIdAssociatorMaker.h:29
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
edm::ParameterSet
Definition: ParameterSet.h:36
CaloDetIdAssociatorMaker
Definition: CaloDetIdAssociatorMaker.h:36
HcalDetIdAssociator
Definition: HcalDetIdAssociator.h:23
HcalDetIdAssociatorMaker::HcalDetIdAssociatorMaker
HcalDetIdAssociatorMaker(edm::ParameterSet const &, edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&)
Definition: HcalDetIdAssociatorMaker.cc:29
CaloDetIdAssociatorMaker::etaBinSize
const double etaBinSize
Definition: CaloDetIdAssociatorMaker.h:46
HcalDetIdAssociator.h