Geant4  10.02.p01
WLSPhysicsList Class Reference

#include <WLSPhysicsList.hh>

+ Inheritance diagram for WLSPhysicsList:
+ Collaboration diagram for WLSPhysicsList:

Public Member Functions

 WLSPhysicsList (G4String)
 
virtual ~WLSPhysicsList ()
 
void SetCuts ()
 
void SetCutForGamma (G4double)
 
void SetCutForElectron (G4double)
 
void SetCutForPositron (G4double)
 
void SetStepMax (G4double)
 
WLSStepMaxGetStepMaxProcess ()
 
void AddStepMax ()
 
void RemoveFromPhysicsList (const G4String &)
 Remove specific physics from physics list. More...
 
void ClearPhysics ()
 Make sure that the physics list is empty. More...
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
void SetAbsorption (G4bool)
 
void SetNbOfPhotonsCerenkov (G4int)
 
void SetVerbose (G4int)
 
- Public Member Functions inherited from G4VModularPhysicsList
 G4VModularPhysicsList ()
 
virtual ~G4VModularPhysicsList ()
 
void RegisterPhysics (G4VPhysicsConstructor *)
 
const G4VPhysicsConstructorGetPhysics (G4int index) const
 
const G4VPhysicsConstructorGetPhysics (const G4String &name) const
 
const G4VPhysicsConstructorGetPhysicsWithType (G4int physics_type) const
 
void ReplacePhysics (G4VPhysicsConstructor *)
 
void RemovePhysics (G4VPhysicsConstructor *)
 
void RemovePhysics (G4int type)
 
void RemovePhysics (const G4String &name)
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 
- Public Member Functions inherited from G4VUserPhysicsList
 G4VUserPhysicsList ()
 
virtual ~G4VUserPhysicsList ()
 
 G4VUserPhysicsList (const G4VUserPhysicsList &)
 
G4VUserPhysicsListoperator= (const G4VUserPhysicsList &)
 
void Construct ()
 
void UseCoupledTransportation (G4bool vl=true)
 
void SetDefaultCutValue (G4double newCutValue)
 
G4double GetDefaultCutValue () const
 
void BuildPhysicsTable ()
 
void PreparePhysicsTable (G4ParticleDefinition *)
 
void BuildPhysicsTable (G4ParticleDefinition *)
 
G4bool StorePhysicsTable (const G4String &directory=".")
 
G4bool IsPhysicsTableRetrieved () const
 
G4bool IsStoredInAscii () const
 
const G4StringGetPhysicsTableDirectory () const
 
void SetPhysicsTableRetrieved (const G4String &directory="")
 
void SetStoredInAscii ()
 
void ResetPhysicsTableRetrieved ()
 
void ResetStoredInAscii ()
 
void DumpList () const
 
void DumpCutValuesTable (G4int flag=1)
 
void DumpCutValuesTableIfRequested ()
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
void SetCutsWithDefault ()
 
void SetCutValue (G4double aCut, const G4String &pname)
 
G4double GetCutValue (const G4String &pname) const
 
void SetCutValue (G4double aCut, const G4String &pname, const G4String &rname)
 
void SetParticleCuts (G4double cut, G4ParticleDefinition *particle, G4Region *region=0)
 
void SetParticleCuts (G4double cut, const G4String &particleName, G4Region *region=0)
 
void SetCutsForRegion (G4double aCut, const G4String &rname)
 
void ResetCuts ()
 obsolete methods More...
 
void SetApplyCuts (G4bool value, const G4String &name)
 
G4bool GetApplyCuts (const G4String &name) const
 
void RemoveProcessManager ()
 
void AddProcessManager (G4ParticleDefinition *newParticle, G4ProcessManager *newManager=0)
 
void CheckParticleList ()
 
void DisableCheckParticleList ()
 
G4int GetInstanceID () const
 
void InitializeWorker ()
 

Private Attributes

G4double fCutForGamma
 
G4double fCutForElectron
 
G4double fCutForPositron
 
WLSStepMaxfStepMaxProcess
 
WLSOpticalPhysicsfOpticalPhysics
 
WLSPhysicsListMessengerfMessenger
 
G4bool fAbsorptionOn
 
G4VMPLData::G4PhysConstVectorDatafPhysicsVector
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VModularPhysicsList
static const G4VMPLManagerGetSubInstanceManager ()
 
- Static Public Member Functions inherited from G4VUserPhysicsList
static const G4VUPLManagerGetSubInstanceManager ()
 
- Protected Types inherited from G4VModularPhysicsList
typedef
G4VMPLData::G4PhysConstVectorData 
G4PhysConstVector
 
- Protected Member Functions inherited from G4VModularPhysicsList
 G4VModularPhysicsList (const G4VModularPhysicsList &)
 
G4VModularPhysicsListoperator= (const G4VModularPhysicsList &)
 
- Protected Member Functions inherited from G4VUserPhysicsList
void AddTransportation ()
 
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
void BuildIntegralPhysicsTable (G4VProcess *, G4ParticleDefinition *)
 
virtual void RetrievePhysicsTable (G4ParticleDefinition *, const G4String &directory, G4bool ascii=false)
 
void InitializeProcessManager ()
 
- Protected Attributes inherited from G4VModularPhysicsList
G4int verboseLevel
 
G4int g4vmplInstanceID
 
- Protected Attributes inherited from G4VUserPhysicsList
G4ParticleTabletheParticleTable
 
G4int verboseLevel
 
G4double defaultCutValue
 
G4bool isSetDefaultCutValue
 
G4ProductionCutsTablefCutsTable
 
G4bool fRetrievePhysicsTable
 
G4bool fStoredInAscii
 
G4bool fIsCheckedForRetrievePhysicsTable
 
G4bool fIsRestoredCutValues
 
G4String directoryPhysicsTable
 
G4bool fDisableCheckParticleList
 
G4int g4vuplInstanceID
 
- Static Protected Attributes inherited from G4VModularPhysicsList
static G4RUN_DLL G4VMPLManager G4VMPLsubInstanceManager
 
- Static Protected Attributes inherited from G4VUserPhysicsList
static G4RUN_DLL G4VUPLManager subInstanceManager
 

Detailed Description

Definition at line 47 of file WLSPhysicsList.hh.

Constructor & Destructor Documentation

WLSPhysicsList::~WLSPhysicsList ( )
virtual

Definition at line 121 of file WLSPhysicsList.cc.

References fMessenger, and fStepMaxProcess.

Member Function Documentation

void WLSPhysicsList::AddStepMax ( )

Definition at line 321 of file WLSPhysicsList.cc.

References G4ProcessManager::AddDiscreteProcess(), fStepMaxProcess, G4ParticleDefinition::GetProcessManager(), WLSStepMax::IsApplicable(), G4ParticleDefinition::IsShortLived(), and theParticleIterator.

Referenced by ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void WLSPhysicsList::ClearPhysics ( )

Make sure that the physics list is empty.

Definition at line 130 of file WLSPhysicsList.cc.

References fPhysicsVector.

Referenced by WLSPhysicsListMessenger::SetNewValue().

+ Here is the caller graph for this function:

void WLSPhysicsList::ConstructParticle ( void  )
virtual

Reimplemented from G4VModularPhysicsList.

Definition at line 141 of file WLSPhysicsList.cc.

References G4VModularPhysicsList::ConstructParticle(), JA::Insert(), G4MuonMinus::MuonMinusDefinition(), and G4MuonPlus::MuonPlusDefinition().

+ Here is the call graph for this function:

WLSStepMax * WLSPhysicsList::GetStepMaxProcess ( )

Definition at line 314 of file WLSPhysicsList.cc.

References fStepMaxProcess.

void WLSPhysicsList::RemoveFromPhysicsList ( const G4String name)

Remove specific physics from physics list.

Definition at line 231 of file WLSPhysicsList.cc.

References FatalException, fPhysicsVector, G4Exception(), G4VPhysicsConstructor::GetPhysicsName(), and name.

Referenced by SetAbsorption(), and WLSPhysicsListMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void WLSPhysicsList::SetAbsorption ( G4bool  toggle)

Definition at line 253 of file WLSPhysicsList.cc.

References WLSOpticalPhysics::ConstructProcess(), fAbsorptionOn, fOpticalPhysics, fPhysicsVector, and RemoveFromPhysicsList().

Referenced by WLSPhysicsListMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void WLSPhysicsList::SetCutForElectron ( G4double  cut)

Definition at line 291 of file WLSPhysicsList.cc.

References G4Electron::Electron(), fCutForElectron, and G4VUserPhysicsList::SetParticleCuts().

Referenced by WLSPhysicsListMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void WLSPhysicsList::SetCutForGamma ( G4double  cut)

Definition at line 283 of file WLSPhysicsList.cc.

References fCutForGamma, G4Gamma::Gamma(), and G4VUserPhysicsList::SetParticleCuts().

Referenced by WLSPhysicsListMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void WLSPhysicsList::SetCutForPositron ( G4double  cut)

Definition at line 299 of file WLSPhysicsList.cc.

References fCutForPositron, G4Positron::Positron(), and G4VUserPhysicsList::SetParticleCuts().

Referenced by WLSPhysicsListMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void WLSPhysicsList::SetCuts ( )
virtual

Reimplemented from G4VUserPhysicsList.

Definition at line 264 of file WLSPhysicsList.cc.

References G4VUserPhysicsList::defaultCutValue, G4VUserPhysicsList::DumpCutValuesTable(), fCutForElectron, fCutForGamma, fCutForPositron, G4BestUnit, G4cout, G4endl, G4VUserPhysicsList::SetCutValue(), and G4VModularPhysicsList::verboseLevel.

+ Here is the call graph for this function:

void WLSPhysicsList::SetNbOfPhotonsCerenkov ( G4int  maxNumber)

Definition at line 339 of file WLSPhysicsList.cc.

References fOpticalPhysics, and WLSOpticalPhysics::SetNbOfPhotonsCerenkov().

+ Here is the call graph for this function:

void WLSPhysicsList::SetStepMax ( G4double  step)

Definition at line 307 of file WLSPhysicsList.cc.

References fStepMaxProcess, and WLSStepMax::SetStepMax().

Referenced by WLSPhysicsListMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void WLSPhysicsList::SetVerbose ( G4int  verbose)

Definition at line 346 of file WLSPhysicsList.cc.

References fOpticalPhysics, WLSOpticalPhysics::GetAbsorptionProcess(), WLSOpticalPhysics::GetBoundaryProcess(), WLSOpticalPhysics::GetCerenkovProcess(), WLSOpticalPhysics::GetMieHGScatteringProcess(), WLSOpticalPhysics::GetRayleighScatteringProcess(), WLSOpticalPhysics::GetScintillationProcess(), and G4VProcess::SetVerboseLevel().

Referenced by ConstructProcess(), and WLSPhysicsListMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4bool WLSPhysicsList::fAbsorptionOn
private

Definition at line 91 of file WLSPhysicsList.hh.

Referenced by SetAbsorption(), and WLSPhysicsList().

G4double WLSPhysicsList::fCutForElectron
private

Definition at line 82 of file WLSPhysicsList.hh.

Referenced by SetCutForElectron(), SetCuts(), and WLSPhysicsList().

G4double WLSPhysicsList::fCutForGamma
private

Definition at line 81 of file WLSPhysicsList.hh.

Referenced by SetCutForGamma(), SetCuts(), and WLSPhysicsList().

G4double WLSPhysicsList::fCutForPositron
private

Definition at line 83 of file WLSPhysicsList.hh.

Referenced by SetCutForPositron(), SetCuts(), and WLSPhysicsList().

WLSPhysicsListMessenger* WLSPhysicsList::fMessenger
private

Definition at line 89 of file WLSPhysicsList.hh.

Referenced by WLSPhysicsList(), and ~WLSPhysicsList().

WLSOpticalPhysics* WLSPhysicsList::fOpticalPhysics
private
G4VMPLData::G4PhysConstVectorData* WLSPhysicsList::fPhysicsVector
private
WLSStepMax* WLSPhysicsList::fStepMaxProcess
private

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