CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HODetIdAssociatorMaker.h
Go to the documentation of this file.
1 #ifndef TrackingTools_TrackAssociator_HODetIdAssociatorMaker_h
2 #define TrackingTools_TrackAssociator_HODetIdAssociatorMaker_h
3 // -*- C++ -*-
4 //
5 // Package: TrackingTools/TrackAssociator
6 // Class : HODetIdAssociatorMaker
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 "HODetIdAssociator.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 HODetIdAssociator(nPhi, nEta, etaBinSize, &geom));
36  }
37 };
38 
39 #endif
CaloDetIdAssociatorMaker(edm::ParameterSet const &, edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&)
std::unique_ptr< DetIdAssociator > make(CaloGeometry const &geom, int nPhi, int nEta, double etaBinSize) const final