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  const MuonDetLayerGeometry* muon):
24  tracker_(tracker),muon_(muon),mtd_(nullptr){};
25 
28  const MTDDetLayerGeometry* mtd):
29  tracker_(tracker),muon_(muon),mtd_(mtd){};
30 
32 
33  /*
34  const std::vector<DetLayer*>& allLayers() const =0;
35  const std::vector<DetLayer*>& barrelLayers() const =0;
36  const std::vector<DetLayer*>& negForwardLayers() const =0;
37  const std::vector<DetLayer*>& posForwardLayers() const =0;
38  */
39 
40 
42  const DetLayer* idToLayer(const DetId& detId) const override;
43 
44  private:
48 };
49 
50 
51 #endif
#define nullptr
const MTDDetLayerGeometry * mtd_
const DetLayer * idToLayer(const DetId &detId) const override
Give the DetId of a module, returns the pointer to the corresponding DetLayer.
const MuonDetLayerGeometry * muon_
Definition: DetId.h:18
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon, const MTDDetLayerGeometry *mtd)
const GeometricSearchTracker * tracker_
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon)