Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
DetLayerGeometry.h
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
MuonDetLayerGeometry
Definition:
MuonDetLayerGeometry.h:21
MTDDetLayerGeometry.h
GlobalDetLayerGeometry::mtd_
const MTDDetLayerGeometry * mtd_
Definition:
GlobalDetLayerGeometry.h:45
DetLayerGeometry
Definition:
DetLayerGeometry.h:18
MuonDetLayerGeometry.h
GeometricSearchTracker
Definition:
GeometricSearchTracker.h:15
DetLayer
Definition:
DetLayer.h:21
GlobalDetLayerGeometry::muon_
const MuonDetLayerGeometry * muon_
Definition:
GlobalDetLayerGeometry.h:44
HLT_FULL_cff.muon
tuple muon
Definition:
HLT_FULL_cff.py:11954
GlobalDetLayerGeometry
Definition:
GlobalDetLayerGeometry.h:20
DetId
Definition:
DetId.h:17
GlobalDetLayerGeometry::GlobalDetLayerGeometry
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon, const MTDDetLayerGeometry *mtd)
Definition:
GlobalDetLayerGeometry.h:25
GlobalDetLayerGeometry::tracker_
const GeometricSearchTracker * tracker_
Definition:
GlobalDetLayerGeometry.h:43
GlobalDetLayerGeometry::GlobalDetLayerGeometry
GlobalDetLayerGeometry(const GeometricSearchTracker *tracker, const MuonDetLayerGeometry *muon)
Definition:
GlobalDetLayerGeometry.h:22
GeometricSearchTracker.h
DetId.h
GlobalDetLayerGeometry::~GlobalDetLayerGeometry
~GlobalDetLayerGeometry() override
Definition:
GlobalDetLayerGeometry.h:30
MTDDetLayerGeometry
Definition:
MTDDetLayerGeometry.h:22
Generated for CMSSW Reference Manual by
1.8.5