#include <G4PolarizationManager.hh>
Definition at line 50 of file G4PolarizationManager.hh.
◆ ~G4PolarizationManager()
G4PolarizationManager::~G4PolarizationManager |
( |
| ) |
|
◆ G4PolarizationManager()
◆ Clean()
void G4PolarizationManager::Clean |
( |
| ) |
|
|
inline |
◆ Dispose()
void G4PolarizationManager::Dispose |
( |
| ) |
|
|
static |
Definition at line 51 of file G4PolarizationManager.cc.
52{
53 if(fInstance != nullptr)
54 {
55 delete fInstance;
56 fInstance = nullptr;
57 }
58}
◆ GetInstance()
◆ GetVerbose()
G4int G4PolarizationManager::GetVerbose |
( |
| ) |
const |
|
inline |
◆ GetVolumePolarization()
◆ IsActivated()
bool G4PolarizationManager::IsActivated |
( |
| ) |
const |
|
inline |
◆ IsPolarized()
◆ ListVolumes()
void G4PolarizationManager::ListVolumes |
( |
| ) |
|
◆ operator=()
◆ 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 93 of file G4PolarizationManager.cc.
95{
96 for(auto& vp : fVolumePolarizations)
97 {
98 if(vp.first->GetName() == lVolName)
99 {
100 vp.second = pol;
101 if(fVerboseLevel >= 1)
102 G4cout <<
" SetVolumePolarization " << lVolName <<
" " << pol <<
G4endl;
103 return;
104 }
105 }
107 ed << " Logical volume '" << lVolName << "'not registered yet.\n"
108 << " Please register before using '/polarization/volume/set'\n";
109 G4Exception(
"G4PolarizationManager::SetVolumePolarization",
"pol040",
111}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
◆ SetVolumePolarization() [2/2]
The documentation for this class was generated from the following files: