TrackingTools
RecoGeometry
interface
GlobalDetLayerGeometry.h
Go to the documentation of this file.
1
#ifndef TT_RecoGeometry_GlobalDetLayerGeometry_h
2
#define TT_RecoGeometry_GlobalDetLayerGeometry_h
3
10
#include "
DataFormats/DetId/interface/DetId.h
"
11
#include "
RecoTracker/TkDetLayers/interface/GeometricSearchTracker.h
"
12
#include "
RecoMTD/DetLayers/interface/MTDDetLayerGeometry.h
"
13
#include "
RecoMuon/DetLayers/interface/MuonDetLayerGeometry.h
"
14
#include "
TrackingTools/DetLayers/interface/DetLayerGeometry.h
"
15
16
#include <vector>
17
18
class
DetLayer
;
19
20
class
GlobalDetLayerGeometry
:
public
DetLayerGeometry
{
21
public
:
22
GlobalDetLayerGeometry
(
const
GeometricSearchTracker
*
tracker
,
const
MuonDetLayerGeometry
*
muon
)
23
:
tracker_
(
tracker
),
muon_
(
muon
),
mtd_
(nullptr){};
24
25
GlobalDetLayerGeometry
(
const
GeometricSearchTracker
*
tracker
,
26
const
MuonDetLayerGeometry
*
muon
,
27
const
MTDDetLayerGeometry
*
mtd
)
28
:
tracker_
(
tracker
),
muon_
(
muon
),
mtd_
(
mtd
){};
29
30
~GlobalDetLayerGeometry
()
override
{}
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
:
43
const
GeometricSearchTracker
*
tracker_
;
44
const
MuonDetLayerGeometry
*
muon_
;
45
const
MTDDetLayerGeometry
*
mtd_
;
46
};
47
48
#endif
GlobalDetLayerGeometry::muon_
const MuonDetLayerGeometry * muon_
Definition:
GlobalDetLayerGeometry.h:44
DetLayer
Definition:
DetLayer.h:21
muon
Definition:
MuonCocktails.h:17
GlobalDetLayerGeometry::GlobalDetLayerGeometry
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon, const MTDDetLayerGeometry *mtd)
Definition:
GlobalDetLayerGeometry.h:25
MuonDetLayerGeometry.h
GlobalDetLayerGeometry::tracker_
const GeometricSearchTracker * tracker_
Definition:
GlobalDetLayerGeometry.h:43
GlobalDetLayerGeometry::GlobalDetLayerGeometry
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon)
Definition:
GlobalDetLayerGeometry.h:22
DetId
Definition:
DetId.h:17
GeometricSearchTracker.h
MuonDetLayerGeometry
Definition:
MuonDetLayerGeometry.h:21
GlobalDetLayerGeometry::~GlobalDetLayerGeometry
~GlobalDetLayerGeometry() override
Definition:
GlobalDetLayerGeometry.h:30
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition:
PbPb_ZMuSkimMuonDPG_cff.py:60
DetLayerGeometry.h
DetLayerGeometry
Definition:
DetLayerGeometry.h:18
GlobalDetLayerGeometry::idToLayer
const DetLayer * idToLayer(const DetId &detId) const override
Give the DetId of a module, returns the pointer to the corresponding DetLayer.
Definition:
GlobalDetLayerGeometry.cc:5
MTDDetLayerGeometry
Definition:
MTDDetLayerGeometry.h:22
MTDDetLayerGeometry.h
DetId.h
GeometricSearchTracker
Definition:
GeometricSearchTracker.h:15
GlobalDetLayerGeometry::mtd_
const MTDDetLayerGeometry * mtd_
Definition:
GlobalDetLayerGeometry.h:45
GlobalDetLayerGeometry
Definition:
GlobalDetLayerGeometry.h:20
mtd_digitizer
Definition:
MTDDigitizer.h:34
Generated for CMSSW Reference Manual by
1.8.16