#include <AGDDVolumeStore.h>
Definition at line 15 of file AGDDVolumeStore.h.
◆ AGDDVolumeStore()
| AGDDVolumeStore::AGDDVolumeStore |
( |
| ) |
|
◆ Clean()
| void AGDDVolumeStore::Clean |
( |
| ) |
|
Definition at line 36 of file AGDDVolumeStore.cxx.
37{
38 for (auto volumeIt : *this)
39 {
40 if (!(volumeIt.second->IsSensitiveVolume()))
41 delete (volumeIt.second);
42 }
44}
◆ Exist()
| bool AGDDVolumeStore::Exist |
( |
std::string | n | ) |
|
◆ GetVolume()
| AGDDVolume * AGDDVolumeStore::GetVolume |
( |
std::string | name | ) |
|
Definition at line 25 of file AGDDVolumeStore.cxx.
26{
27 if ((*this).find(name) != (*this).end())
29 else
30 {
31 std::cout <<
" Volume "<<
name<<
" not found: returning 0"<<std::endl;
32 return 0;
33 }
34}
◆ RegisterVolume()
| void AGDDVolumeStore::RegisterVolume |
( |
AGDDVolume * | v | ) |
|
◆ elements [1/2]
◆ elements [2/2]
◆ keys [1/2]
| std::string std::map< std::string, AGDDVolume * >::keys |
|
inherited |
◆ keys [2/2]
| std::string std::map< std::string, AGDDVolume * >::keys |
|
inherited |
The documentation for this class was generated from the following files: