Loading [MathJax]/jax/input/TeX/config.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
LArCalorimeter
LArG4
LArG4Barrel
src
PhysicalVolumeAccessor.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PhysicalVolumeAccessor_H
6
#define PhysicalVolumeAccessor_H
7
8
// Helper class for getting all physical volumes (by name) in a LV
9
// and organise them by copy #
10
11
#include "G4VPhysicalVolume.hh"
12
13
#include <map>
14
#include <string>
15
16
typedef
std::map<int,G4VPhysicalVolume *, std::less<int> >
PVMap
;
17
18
class
PhysicalVolumeAccessor
{
19
public
:
20
PhysicalVolumeAccessor
(
const
std::string&);
21
PhysicalVolumeAccessor
(
const
std::string&,
const
std::string&);
22
const
G4VPhysicalVolume*
GetPhysicalVolume
(
int
)
const
;
23
void
SetPhysicalVolumeList
(
const
std::string&);
24
private
:
25
G4LogicalVolume*
m_theLogicalVolume
;
26
PVMap
m_thePhysicalVolumes
;
27
G4LogicalVolume *
GetLV
(
const
std::string&);
28
};
29
30
31
#endif
PhysicalVolumeAccessor::GetLV
G4LogicalVolume * GetLV(const std::string &)
Definition:
PhysicalVolumeAccessor.cxx:10
PVMap
std::map< int, G4VPhysicalVolume *, std::less< int > > PVMap
Definition:
PhysicalVolumeAccessor.h:16
PhysicalVolumeAccessor
Definition:
PhysicalVolumeAccessor.h:18
PhysicalVolumeAccessor::m_thePhysicalVolumes
PVMap m_thePhysicalVolumes
Definition:
PhysicalVolumeAccessor.h:26
PhysicalVolumeAccessor::PhysicalVolumeAccessor
PhysicalVolumeAccessor(const std::string &)
Definition:
PhysicalVolumeAccessor.cxx:22
PhysicalVolumeAccessor::SetPhysicalVolumeList
void SetPhysicalVolumeList(const std::string &)
Definition:
PhysicalVolumeAccessor.cxx:53
PhysicalVolumeAccessor::GetPhysicalVolume
const G4VPhysicalVolume * GetPhysicalVolume(int) const
Definition:
PhysicalVolumeAccessor.cxx:42
PhysicalVolumeAccessor::m_theLogicalVolume
G4LogicalVolume * m_theLogicalVolume
Definition:
PhysicalVolumeAccessor.h:25
Generated on Sun Apr 6 2025 21:16:39 for ATLAS Offline Software by
1.8.18