Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
MuonSpectrometer
MuonDetDescr
MuonGeoModel
src
FPVMAP.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonGeoModel/FPVMAP.h
"
6
7
#include "
AthenaKernel/getMessageSvc.h
"
8
#include "GaudiKernel/MsgStream.h"
9
#include "
MuonGeoModel/Technology.h
"
10
11
#include <GaudiKernel/IMessageSvc.h>
12
#include <iostream>
13
#include <utility>
14
15
namespace
MuonGM
{
16
17
GeoVPhysVol *
FPVMAP::GetDetector
(
const
std::string&
name
) {
18
if
(
m_Detectors
.find(
name
) !=
m_Detectors
.end()) {
19
m_nreused
++;
20
// std::cout<<"FPVMAP:: the pointer to "<<name
21
// <<" is already stored; saving memory "<<m_nreused<<std::endl;
22
return
m_Detectors
[
name
];
23
}
else
24
return
nullptr
;
25
}
26
27
void
FPVMAP::StoreDetector
(GeoVPhysVol *
s
,
const
std::string&
name
) {
28
// std::cout<<"FPVMAP:: store the pointer to "<<name<<std::endl;
29
m_Detectors
[
name
] =
s
;
30
}
31
32
void
FPVMAP::PrintAllDetectors
() {
33
MsgStream
log
(
Athena::getMessageSvc
(),
"MuonGM::FPVMAP"
);
34
35
for
(
const
auto
&
p
:
m_Detectors
) {
36
log
<< MSG::INFO <<
"---> A PhysVol corresponds to "
<<
p
.first <<
endmsg
;
37
}
38
}
39
40
}
// namespace MuonGM
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
getMessageSvc.h
singleton-like access to IMessageSvc via open function and helper
FPVMAP.h
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition:
getMessageSvc.cxx:20
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
MuonGM::FPVMAP::m_nreused
int m_nreused
Definition:
FPVMAP.h:32
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
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
Technology.h
Generated on Fri May 2 2025 21:09:54 for ATLAS Offline Software by
1.8.18