Geant4  10.01.p02
G4PolarizationManager Class Reference

#include <G4PolarizationManager.hh>

+ Collaboration diagram for G4PolarizationManager:

Public Member Functions

virtual ~G4PolarizationManager ()
 
void ListVolumes ()
 
void Clean ()
 
void SetVolumePolarization (G4LogicalVolume *lVol, const G4ThreeVector &pol)
 
void SetVolumePolarization (const G4String &lVolName, const G4ThreeVector &pol)
 
const G4ThreeVector & GetVolumePolarization (G4LogicalVolume *lVol) const
 
bool IsPolarized (G4LogicalVolume *lVol) const
 
void SetVerbose (G4int val)
 
G4int GetVerbose () const
 
void SetActivated (G4bool val)
 
bool IsActivated () const
 

Static Public Member Functions

static G4PolarizationManager * GetInstance ()
 
static void Dispose ()
 

Private Member Functions

 G4PolarizationManager ()
 

Private Attributes

G4ThreeVector zeroPolarization
 
PolarizationMap volumePolarizations
 
G4PolarizationMessenger * messenger
 
G4int verboseLevel
 
G4bool activated
 

Static Private Attributes

static G4ThreadLocal
G4PolarizationManager * 
instance = 0
 

Detailed Description

Definition at line 60 of file G4PolarizationManager.hh.

Constructor & Destructor Documentation

G4PolarizationManager::~G4PolarizationManager ( )
virtual

Definition at line 73 of file G4PolarizationManager.cc.

G4PolarizationManager::G4PolarizationManager ( )
private

Definition at line 67 of file G4PolarizationManager.cc.

References messenger.

Referenced by GetInstance().

+ Here is the caller graph for this function:

Member Function Documentation

void G4PolarizationManager::Clean ( )
inline

Definition at line 127 of file G4PolarizationManager.hh.

References volumePolarizations.

void G4PolarizationManager::Dispose ( )
static

Definition at line 58 of file G4PolarizationManager.cc.

References instance.

G4PolarizationManager * G4PolarizationManager::GetInstance ( void  )
static

Definition at line 52 of file G4PolarizationManager.cc.

References G4PolarizationManager(), and instance.

Referenced by G4eplusPolarizedAnnihilation::GetMeanFreePath(), G4ePolarizedIonisation::GetMeanFreePath(), G4PolarizedCompton::GetMeanFreePath(), G4ePolarizedIonisation::PostStepGetPhysicalInteractionLength(), G4eplusPolarizedAnnihilation::PostStepGetPhysicalInteractionLength(), G4PolarizedCompton::PostStepGetPhysicalInteractionLength(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), and G4PolarizedAnnihilationModel::SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4PolarizationManager::GetVerbose ( ) const
inline

Definition at line 118 of file G4PolarizationManager.hh.

References verboseLevel.

Referenced by G4PolarizationMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

bool G4PolarizationManager::IsActivated ( ) const
inline

Definition at line 123 of file G4PolarizationManager.hh.

References activated.

void G4PolarizationManager::ListVolumes ( )

Definition at line 77 of file G4PolarizationManager.cc.

References activated, G4cout, G4endl, and volumePolarizations.

Referenced by G4PolarizationMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4PolarizationManager::SetActivated ( G4bool  val)
inline

Definition at line 122 of file G4PolarizationManager.hh.

References activated.

Referenced by G4PolarizationMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4PolarizationManager::SetVerbose ( G4int  val)
inline

Definition at line 117 of file G4PolarizationManager.hh.

References verboseLevel.

Referenced by G4PolarizationMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4PolarizationManager::SetVolumePolarization ( G4LogicalVolume *  lVol,
const G4ThreeVector &  pol 
)

Definition at line 90 of file G4PolarizationManager.cc.

References G4cout, G4endl, G4LogicalVolume::GetName(), verboseLevel, and volumePolarizations.

Referenced by G4PolarizationMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PolarizationManager::SetVolumePolarization ( const G4String &  lVolName,
const G4ThreeVector &  pol 
)

Definition at line 98 of file G4PolarizationManager.cc.

References G4cout, G4endl, verboseLevel, and volumePolarizations.

Member Data Documentation

G4bool G4PolarizationManager::activated
private
G4ThreadLocal G4PolarizationManager * G4PolarizationManager::instance = 0
staticprivate

Definition at line 92 of file G4PolarizationManager.hh.

Referenced by Dispose(), and GetInstance().

G4PolarizationMessenger* G4PolarizationManager::messenger
private

Definition at line 87 of file G4PolarizationManager.hh.

Referenced by G4PolarizationManager().

G4int G4PolarizationManager::verboseLevel
private

Definition at line 89 of file G4PolarizationManager.hh.

Referenced by GetVerbose(), SetVerbose(), and SetVolumePolarization().

PolarizationMap G4PolarizationManager::volumePolarizations
private
G4ThreeVector G4PolarizationManager::zeroPolarization
private

Definition at line 85 of file G4PolarizationManager.hh.

Referenced by GetVolumePolarization().


The documentation for this class was generated from the following files: