Geant4-11
|
#include <G4PolarizationManager.hh>
Public Member Functions | |
void | Clean () |
G4PolarizationManager (const G4PolarizationManager &)=delete | |
G4int | GetVerbose () const |
const G4StokesVector | GetVolumePolarization (G4LogicalVolume *lVol) const |
bool | IsActivated () const |
bool | IsPolarized (G4LogicalVolume *lVol) const |
void | ListVolumes () |
G4PolarizationManager & | operator= (const G4PolarizationManager &right)=delete |
void | SetActivated (G4bool val) |
void | SetVerbose (G4int val) |
void | SetVolumePolarization (const G4String &lVolName, const G4ThreeVector &pol) |
void | SetVolumePolarization (G4LogicalVolume *lVol, const G4ThreeVector &pol) |
~G4PolarizationManager () | |
Static Public Member Functions | |
static void | Dispose () |
static G4PolarizationManager * | GetInstance () |
Private Member Functions | |
G4PolarizationManager () | |
Private Attributes | |
G4bool | fActivated |
G4PolarizationMessenger * | fMessenger |
G4int | fVerboseLevel |
PolarizationMap | fVolumePolarizations |
Static Private Attributes | |
static G4ThreadLocal G4PolarizationManager * | fInstance = nullptr |
Definition at line 50 of file G4PolarizationManager.hh.
G4PolarizationManager::~G4PolarizationManager | ( | ) |
Definition at line 68 of file G4PolarizationManager.cc.
|
delete |
|
private |
Definition at line 60 of file G4PolarizationManager.cc.
References fMessenger.
Referenced by GetInstance().
|
inline |
Definition at line 129 of file G4PolarizationManager.hh.
References fVolumePolarizations.
|
static |
Definition at line 51 of file G4PolarizationManager.cc.
References fInstance.
|
static |
Definition at line 44 of file G4PolarizationManager.cc.
References fInstance, and G4PolarizationManager().
Referenced by G4PolarizedAnnihilation::ComputeSaturationFactor(), G4PolarizedCompton::ComputeSaturationFactor(), G4PolarizedIonisation::ComputeSaturationFactor(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), and G4PolarizedIonisationModel::SampleSecondaries().
|
inline |
Definition at line 119 of file G4PolarizationManager.hh.
References fVerboseLevel.
Referenced by G4PolarizationMessenger::GetCurrentValue().
|
inline |
Definition at line 91 of file G4PolarizationManager.hh.
References fActivated, fVolumePolarizations, and G4StokesVector::ZERO.
Referenced by G4PolarizedAnnihilation::ComputeSaturationFactor(), G4PolarizedCompton::ComputeSaturationFactor(), G4PolarizedIonisation::ComputeSaturationFactor(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), and G4PolarizedIonisationModel::SampleSecondaries().
|
inline |
|
inline |
Definition at line 106 of file G4PolarizationManager.hh.
References fActivated, and fVolumePolarizations.
Referenced by G4PolarizedAnnihilation::ComputeSaturationFactor(), G4PolarizedCompton::ComputeSaturationFactor(), G4PolarizedIonisation::ComputeSaturationFactor(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), and G4PolarizedIonisationModel::SampleSecondaries().
void G4PolarizationManager::ListVolumes | ( | ) |
Definition at line 70 of file G4PolarizationManager.cc.
References fActivated, fVolumePolarizations, G4cout, and G4endl.
Referenced by G4PolarizationMessenger::SetNewValue().
|
delete |
|
inline |
Definition at line 122 of file G4PolarizationManager.hh.
References fActivated.
Referenced by G4PolarizationMessenger::SetNewValue().
|
inline |
Definition at line 115 of file G4PolarizationManager.hh.
References fVerboseLevel.
Referenced by G4PolarizationMessenger::SetNewValue().
void G4PolarizationManager::SetVolumePolarization | ( | const G4String & | lVolName, |
const G4ThreeVector & | pol | ||
) |
Definition at line 93 of file G4PolarizationManager.cc.
References FatalException, fVerboseLevel, fVolumePolarizations, G4cout, G4endl, and G4Exception().
void G4PolarizationManager::SetVolumePolarization | ( | G4LogicalVolume * | lVol, |
const G4ThreeVector & | pol | ||
) |
Definition at line 84 of file G4PolarizationManager.cc.
References fVerboseLevel, fVolumePolarizations, G4cout, G4endl, and G4LogicalVolume::GetName().
Referenced by G4PolarizationMessenger::SetNewValue().
|
private |
Definition at line 87 of file G4PolarizationManager.hh.
Referenced by GetVolumePolarization(), IsActivated(), IsPolarized(), ListVolumes(), and SetActivated().
|
staticprivate |
Definition at line 79 of file G4PolarizationManager.hh.
Referenced by Dispose(), and GetInstance().
|
private |
Definition at line 81 of file G4PolarizationManager.hh.
Referenced by G4PolarizationManager().
|
private |
Definition at line 85 of file G4PolarizationManager.hh.
Referenced by GetVerbose(), SetVerbose(), and SetVolumePolarization().
|
private |
Definition at line 83 of file G4PolarizationManager.hh.
Referenced by Clean(), GetVolumePolarization(), IsPolarized(), ListVolumes(), and SetVolumePolarization().