#include <G4PolarizationManager.hh>
Definition at line 60 of file G4PolarizationManager.hh.
◆ ~G4PolarizationManager()
G4PolarizationManager::~G4PolarizationManager |
( |
| ) |
|
|
virtual |
◆ Clean()
void G4PolarizationManager::Clean |
( |
| ) |
|
|
inline |
◆ Dispose()
void G4PolarizationManager::Dispose |
( |
| ) |
|
|
static |
Definition at line 58 of file G4PolarizationManager.cc.
59{
60 if (instance != 0)
61 {
62 delete instance;
63 instance = 0;
64 }
65}
◆ GetInstance()
◆ GetVerbose()
G4int G4PolarizationManager::GetVerbose |
( |
| ) |
const |
|
inline |
◆ GetVolumePolarization()
◆ IsActivated()
bool G4PolarizationManager::IsActivated |
( |
| ) |
const |
|
inline |
◆ IsPolarized()
◆ ListVolumes()
void G4PolarizationManager::ListVolumes |
( |
| ) |
|
Definition at line 77 of file G4PolarizationManager.cc.
78{
79 if (volumePolarizations.size()==0) return;
80 G4cout<<
" Polarization for "<<volumePolarizations.size()
81 <<
" registered volume(s) : "<<
G4endl;
82 if (!activated)
84 for (PolarizationMap::const_iterator cit=volumePolarizations.begin();
85 cit!=volumePolarizations.end();cit++) {
86 G4cout<<cit->first->GetName()<<
" : "<<cit->second<<
G4endl;
87 }
88}
G4DLLIMPORT std::ostream G4cout
Referenced by G4PolarizationMessenger::SetNewValue().
◆ SetActivated()
void G4PolarizationManager::SetActivated |
( |
G4bool |
val | ) |
|
|
inline |
◆ SetVerbose()
void G4PolarizationManager::SetVerbose |
( |
G4int |
val | ) |
|
|
inline |
◆ SetVolumePolarization() [1/2]
Definition at line 98 of file G4PolarizationManager.cc.
99{
100 for (PolarizationMap::iterator it=volumePolarizations.begin();
101 it!=volumePolarizations.end();it++) {
102 if (it->first->GetName()==lVolName) {
103 it->second=pol;
104 if (verboseLevel>=1)
G4cout<<
" SetVolumePolarization "
105 <<lVolName<<" "
107 return;
108 }
109 }
110 G4cout<<
" logical volume '"<<lVolName<<
"'not registerd yet \n"
111 <<
" please register before using '/polarization/volume/set' "<<
G4endl;
112}
◆ SetVolumePolarization() [2/2]
The documentation for this class was generated from the following files: