Main Page
Namespaces
Classes
Package Documentation
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
,
23
const
MuonDetLayerGeometry
*
muon
):
24
tracker_
(tracker),
muon_
(muon),
mtd_
(
nullptr
){};
25
26
GlobalDetLayerGeometry
(
const
GeometricSearchTracker
*
tracker
,
27
const
MuonDetLayerGeometry
*
muon
,
28
const
MTDDetLayerGeometry
*
mtd
):
29
tracker_
(tracker),
muon_
(muon),
mtd_
(mtd){};
30
31
~GlobalDetLayerGeometry
()
override
{}
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
:
45
const
GeometricSearchTracker
*
tracker_
;
46
const
MuonDetLayerGeometry
*
muon_
;
47
const
MTDDetLayerGeometry
*
mtd_
;
48
};
49
50
51
#endif
DetLayerGeometry.h
nullptr
#define nullptr
Definition:
GCC11Compatibility.h:37
MuonDetLayerGeometry
Definition:
MuonDetLayerGeometry.h:21
muon
Definition:
MuonCocktails.h:17
MTDDetLayerGeometry.h
GlobalDetLayerGeometry::mtd_
const MTDDetLayerGeometry * mtd_
Definition:
GlobalDetLayerGeometry.h:47
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:6
DetLayerGeometry
Definition:
DetLayerGeometry.h:18
trackingTruthProducer_cfi.tracker
tracker
Definition:
trackingTruthProducer_cfi.py:15
MuonDetLayerGeometry.h
GeometricSearchTracker
Definition:
GeometricSearchTracker.h:14
DetLayer
Definition:
DetLayer.h:21
GlobalDetLayerGeometry::muon_
const MuonDetLayerGeometry * muon_
Definition:
GlobalDetLayerGeometry.h:46
GlobalDetLayerGeometry
Definition:
GlobalDetLayerGeometry.h:20
DetId
Definition:
DetId.h:18
GlobalDetLayerGeometry::GlobalDetLayerGeometry
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon, const MTDDetLayerGeometry *mtd)
Definition:
GlobalDetLayerGeometry.h:26
GlobalDetLayerGeometry::tracker_
const GeometricSearchTracker * tracker_
Definition:
GlobalDetLayerGeometry.h:45
GlobalDetLayerGeometry::GlobalDetLayerGeometry
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon)
Definition:
GlobalDetLayerGeometry.h:22
mtd_digitizer
Definition:
MTDDigitizer.h:35
GeometricSearchTracker.h
DetId.h
GlobalDetLayerGeometry::~GlobalDetLayerGeometry
~GlobalDetLayerGeometry() override
Definition:
GlobalDetLayerGeometry.h:31
MTDDetLayerGeometry
Definition:
MTDDetLayerGeometry.h:19
Generated for CMSSW Reference Manual by
1.8.11