CMS 3D CMS Logo

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::make
std::unique_ptr< DetIdAssociator > make(const DetIdAssociatorRecord &) const final
Definition: CaloDetIdAssociatorMaker.cc:41
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
ESConsumesCollector.h
CaloDetIdAssociatorMaker::CaloDetIdAssociatorMaker
CaloDetIdAssociatorMaker(edm::ParameterSet const &, edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&)
Definition: CaloDetIdAssociatorMaker.cc:34
ESGetToken.h
edm::ESConsumesCollectorT
Definition: ESConsumesCollector.h:125
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
CaloDetIdAssociatorMaker::nPhi
const int nPhi
Definition: CaloDetIdAssociatorMaker.h:47
DetIdAssociator
Definition: DetIdAssociator.h:45
edm::ParameterSet
Definition: ParameterSet.h:47
CaloDetIdAssociatorMaker
Definition: CaloDetIdAssociatorMaker.h:36
DetIdAssociatorMaker.h
DetIdAssociatorRecord
Definition: DetIdAssociatorRecord.h:13
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
ParameterSet.h
DetIdAssociatorMaker
Definition: DetIdAssociatorMaker.h:29
CaloDetIdAssociatorMaker::etaBinSize
const double etaBinSize
Definition: CaloDetIdAssociatorMaker.h:46