CMS 3D CMS Logo

GlobalDetLayerGeometry.h
Go to the documentation of this file.
1 #ifndef TT_RecoGeometry_GlobalDetLayerGeometry_h
2 #define TT_RecoGeometry_GlobalDetLayerGeometry_h
3 
15 
16 #include <vector>
17 
18 class DetLayer;
19 
21 public:
23  : tracker_(tracker), muon_(muon), mtd_(nullptr) {}
24 
27  const MTDDetLayerGeometry* mtd)
28  : tracker_(tracker), muon_(muon), mtd_(mtd) {}
29 
31 
32  /*
33  const std::vector<DetLayer*>& allLayers() const =0;
34  const std::vector<DetLayer*>& barrelLayers() const =0;
35  const std::vector<DetLayer*>& negForwardLayers() const =0;
36  const std::vector<DetLayer*>& posForwardLayers() const =0;
37  */
38 
40  const DetLayer* idToLayer(const DetId& detId) const override;
41 
42 private:
46 };
47 
48 #endif
const DetLayer * idToLayer(const DetId &detId) const override
Give the DetId of a module, returns the pointer to the corresponding DetLayer.
const MTDDetLayerGeometry * mtd_
const MuonDetLayerGeometry * muon_
Definition: DetId.h:17
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon, const MTDDetLayerGeometry *mtd)
const GeometricSearchTracker * tracker_
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon)