ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonRecEvent
MuonLayerEvent
MuonLayerEvent
MuonLayerSurface.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUON_MUONLAYERSURFACE_H
6
#define MUON_MUONLAYERSURFACE_H
7
8
#include "
MuonStationIndex/MuonStationIndex.h
"
9
#include "
TrkSurfaces/Surface.h
"
10
#include "memory"
11
12
namespace
Muon
{
13
15
struct
MuonLayerSurface
{
16
using
SurfacePtr
= std::shared_ptr<const Trk::Surface>;
17
using
DetRegIdx
=
MuonStationIndex::DetectorRegionIndex
;
18
using
LayerIdx
=
MuonStationIndex::LayerIndex
;
19
MuonLayerSurface
() =
default
;
20
21
MuonLayerSurface
(
SurfacePtr
surfacePtr_,
int
sector_,
DetRegIdx
regionIndex_,
22
LayerIdx
layerIndex_) :
23
surfacePtr
{surfacePtr_},
sector
{sector_},
regionIndex
{regionIndex_},
layerIndex
{layerIndex_} {}
24
25
inline
MuonStationIndex::StIndex
stIndex
()
const
{
26
return
Muon::MuonStationIndex::toStationIndex
(
regionIndex
,
layerIndex
);
27
}
28
SurfacePtr
surfacePtr
{
nullptr
};
29
int
sector
{-1};
30
DetRegIdx
regionIndex
{DetRegIdx::DetectorRegionUnknown};
31
LayerIdx
layerIndex
{LayerIdx::LayerUnknown};
32
};
33
34
}
// namespace Muon
35
36
#endif
MuonStationIndex.h
Surface.h
Muon::MuonStationIndex::StIndex
StIndex
enum to classify the different station layers in the muon spectrometer
Definition
MuonStationIndex.h:24
Muon::MuonStationIndex::DetectorRegionIndex
DetectorRegionIndex
enum to classify the different layers in the muon spectrometer
Definition
MuonStationIndex.h:48
Muon::MuonStationIndex::toStationIndex
StIndex toStationIndex(ChIndex index)
convert ChIndex into StIndex
Muon::MuonStationIndex::LayerIndex
LayerIndex
enum to classify the different layers in the muon spectrometer
Definition
MuonStationIndex.h:39
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Muon::MuonLayerSurface::MuonLayerSurface
MuonLayerSurface()=default
Muon::MuonLayerSurface::surfacePtr
SurfacePtr surfacePtr
Definition
MuonLayerSurface.h:28
Muon::MuonLayerSurface::stIndex
MuonStationIndex::StIndex stIndex() const
Definition
MuonLayerSurface.h:25
Muon::MuonLayerSurface::LayerIdx
MuonStationIndex::LayerIndex LayerIdx
Definition
MuonLayerSurface.h:18
Muon::MuonLayerSurface::SurfacePtr
std::shared_ptr< const Trk::Surface > SurfacePtr
Definition
MuonLayerSurface.h:16
Muon::MuonLayerSurface::DetRegIdx
MuonStationIndex::DetectorRegionIndex DetRegIdx
Definition
MuonLayerSurface.h:17
Muon::MuonLayerSurface::sector
int sector
Definition
MuonLayerSurface.h:29
Muon::MuonLayerSurface::MuonLayerSurface
MuonLayerSurface(SurfacePtr surfacePtr_, int sector_, DetRegIdx regionIndex_, LayerIdx layerIndex_)
Definition
MuonLayerSurface.h:21
Muon::MuonLayerSurface::layerIndex
LayerIdx layerIndex
Definition
MuonLayerSurface.h:31
Muon::MuonLayerSurface::regionIndex
DetRegIdx regionIndex
Definition
MuonLayerSurface.h:30
Generated on
for ATLAS Offline Software by
1.17.0