#include <PhysicalVolumeAccessor.h>
|
| G4LogicalVolume * | GetLV (const std::string &) |
Definition at line 18 of file PhysicalVolumeAccessor.h.
◆ PhysicalVolumeAccessor() [1/2]
| PhysicalVolumeAccessor::PhysicalVolumeAccessor |
( |
const std::string & | name | ) |
|
Definition at line 22 of file PhysicalVolumeAccessor.cxx.
23{
25}
G4LogicalVolume * GetLV(const std::string &)
G4LogicalVolume * m_theLogicalVolume
◆ PhysicalVolumeAccessor() [2/2]
| PhysicalVolumeAccessor::PhysicalVolumeAccessor |
( |
const std::string & | name, |
|
|
const std::string & | PVname ) |
Definition at line 27 of file PhysicalVolumeAccessor.cxx.
29{
33 {
35 if (PVname ==
static_cast<const std::string&
>(
pv->GetName()))
36 {
38 }
39 }
40}
PVMap m_thePhysicalVolumes
◆ GetLV()
| G4LogicalVolume * PhysicalVolumeAccessor::GetLV |
( |
const std::string & | name | ) |
|
|
private |
Definition at line 10 of file PhysicalVolumeAccessor.cxx.
11{
12 G4LogicalVolumeStore *lvs=G4LogicalVolumeStore::GetInstance();
13 for (
unsigned int i=0;
i<lvs->size();
i++)
14 {
15 std::string lname=((lvs->operator[](
i))->GetName());
16 if (name==lname)
17 return (lvs->operator[](i));
18 }
19 return nullptr;
20}
◆ GetPhysicalVolume()
| const G4VPhysicalVolume * PhysicalVolumeAccessor::GetPhysicalVolume |
( |
int | icopy | ) |
const |
◆ SetPhysicalVolumeList()
| void PhysicalVolumeAccessor::SetPhysicalVolumeList |
( |
const std::string & | name | ) |
|
Definition at line 53 of file PhysicalVolumeAccessor.cxx.
54{
55
57 {
59 if (name ==
static_cast<const std::string&
>(
pv->GetName()))
60 {
62 }
63 }
64}
◆ m_theLogicalVolume
| G4LogicalVolume* PhysicalVolumeAccessor::m_theLogicalVolume |
|
private |
◆ m_thePhysicalVolumes
| PVMap PhysicalVolumeAccessor::m_thePhysicalVolumes |
|
private |
The documentation for this class was generated from the following files: