ATLAS Offline Software
MuonSpectrometer
MuonDetDescr
MuonGeoModel
MuonGeoModel
FPVMAP.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef FPVMAP_H
6
#define FPVMAP_H
7
8
#include <map>
9
#include <string>
10
11
class
GeoVPhysVol;
12
13
namespace
MuonGM
{
14
15
typedef
std::map<std::string, GeoVPhysVol *>::const_iterator
DetectorIterator
;
16
17
class
FPVMAP
{
18
public
:
19
FPVMAP
() =
default
;
20
~FPVMAP
() =
default
;
21
inline
DetectorIterator
Begin
();
22
inline
DetectorIterator
End
();
23
inline
int
NDetectors
();
24
inline
int
NDetectorsReused
();
25
26
GeoVPhysVol *
GetDetector
(
const
std::string&
name
);
27
void
StoreDetector
(GeoVPhysVol *
s
,
const
std::string&
name
);
28
void
PrintAllDetectors
();
29
30
private
:
31
std::map<std::string, GeoVPhysVol *>
m_Detectors
{};
32
int
m_nreused
{0};
33
};
34
DetectorIterator
FPVMAP::Begin
() {
return
m_Detectors
.begin(); }
35
DetectorIterator
FPVMAP::End
() {
return
m_Detectors
.end(); }
36
int
FPVMAP::NDetectors
() {
return
m_Detectors
.size(); }
37
int
FPVMAP::NDetectorsReused
() {
return
m_nreused
; }
38
}
// namespace MuonGM
39
40
#endif
MuonGM::FPVMAP::PrintAllDetectors
void PrintAllDetectors()
Definition:
FPVMAP.cxx:32
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition:
GeoMuonHits.h:27
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
MuonGM::FPVMAP::FPVMAP
FPVMAP()=default
MuonGM::FPVMAP::Begin
DetectorIterator Begin()
Definition:
FPVMAP.h:34
MuonGM::FPVMAP::End
DetectorIterator End()
Definition:
FPVMAP.h:35
MuonGM::FPVMAP
Definition:
FPVMAP.h:17
MuonGM::FPVMAP::~FPVMAP
~FPVMAP()=default
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
MuonGM::FPVMAP::NDetectors
int NDetectors()
Definition:
FPVMAP.h:36
MuonGM::FPVMAP::m_nreused
int m_nreused
Definition:
FPVMAP.h:32
MuonGM::FPVMAP::NDetectorsReused
int NDetectorsReused()
Definition:
FPVMAP.h:37
MuonGM::DetectorIterator
std::map< std::string, GeoVPhysVol * >::const_iterator DetectorIterator
Definition:
FPVMAP.h:15
MuonGM::FPVMAP::GetDetector
GeoVPhysVol * GetDetector(const std::string &name)
Definition:
FPVMAP.cxx:17
MuonGM::FPVMAP::m_Detectors
std::map< std::string, GeoVPhysVol * > m_Detectors
Definition:
FPVMAP.h:31
MuonGM::FPVMAP::StoreDetector
void StoreDetector(GeoVPhysVol *s, const std::string &name)
Definition:
FPVMAP.cxx:27
Generated on Thu Nov 7 2024 21:15:30 for ATLAS Offline Software by
1.8.18