CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CaloDetIdAssociatorMaker.h
Go to the documentation of this file.
1 #ifndef TrackingTools_TrackAssociator_CaloDetIdAssociatorMaker_h
2 #define TrackingTools_TrackAssociator_CaloDetIdAssociatorMaker_h
3 // -*- C++ -*-
4 //
5 // Package: TrackingTools/TrackAssociator
6 // Class : CaloDetIdAssociatorMaker
7 //
16 //
17 // Original Author: Christopher Jones
18 // Created: Thu, 30 May 2019 14:59:09 GMT
19 //
20 
21 // system include files
22 #include <memory>
23 
24 // user include files
28 #include "DetIdAssociatorMaker.h"
29 
30 // forward declarations
31 class DetIdAssociator;
33 class CaloGeometry;
34 class CaloGeometryRecord;
35 
37 public:
39 
40  // ---------- const member functions ---------------------
41  std::unique_ptr<DetIdAssociator> make(const DetIdAssociatorRecord&) const final;
42 
43 private:
44  virtual std::unique_ptr<DetIdAssociator> make(CaloGeometry const&, int nPhi, int nEta, double etaBinSize) const;
46  const double etaBinSize;
47  const int nPhi;
48  const int nEta;
49 };
50 
51 #endif
CaloDetIdAssociatorMaker(edm::ParameterSet const &, edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&)
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geomToken_
std::unique_ptr< DetIdAssociator > make(const DetIdAssociatorRecord &) const final