#include <G4PolarizationManager.hh>
Definition at line 58 of file G4PolarizationManager.hh.
◆ ~G4PolarizationManager()
G4PolarizationManager::~G4PolarizationManager |
( |
| ) |
|
|
virtual |
◆ Clean()
void G4PolarizationManager::Clean |
( |
| ) |
|
|
inline |
◆ Dispose()
void G4PolarizationManager::Dispose |
( |
| ) |
|
|
static |
Definition at line 57 of file G4PolarizationManager.cc.
58{
59 if (instance != nullptr)
60 {
61 delete instance;
62 instance = nullptr;
63 }
64}
◆ GetInstance()
◆ GetVerbose()
G4int G4PolarizationManager::GetVerbose |
( |
| ) |
const |
|
inline |
◆ GetVolumePolarization()
◆ IsActivated()
bool G4PolarizationManager::IsActivated |
( |
| ) |
const |
|
inline |
◆ IsPolarized()
◆ ListVolumes()
void G4PolarizationManager::ListVolumes |
( |
| ) |
|
◆ SetActivated()
void G4PolarizationManager::SetActivated |
( |
G4bool |
val | ) |
|
|
inline |
◆ SetVerbose()
void G4PolarizationManager::SetVerbose |
( |
G4int |
val | ) |
|
|
inline |
◆ SetVolumePolarization() [1/2]
void G4PolarizationManager::SetVolumePolarization |
( |
const G4String & |
lVolName, |
|
|
const G4ThreeVector & |
pol |
|
) |
| |
Definition at line 96 of file G4PolarizationManager.cc.
97{
98 for (auto& vp : volumePolarizations) {
99 if (vp.first->GetName()==lVolName) {
100 vp.second=pol;
101 if (verboseLevel>=1)
G4cout<<
" SetVolumePolarization "
102 <<lVolName<<" "
104 return;
105 }
106 }
107 G4cout<<
" logical volume '"<<lVolName<<
"'not registered yet \n"
108 <<
" please register before using '/polarization/volume/set' "<<
G4endl;
109}
◆ SetVolumePolarization() [2/2]
The documentation for this class was generated from the following files: