Geant4  10.02.p01
Par02PhysicsList Class Reference

Construction of a physics list. More...

#include <Par02PhysicsList.hh>

+ Inheritance diagram for Par02PhysicsList:
+ Collaboration diagram for Par02PhysicsList:

Public Member Functions

 Par02PhysicsList ()
 A default constructor. Sets the default cut value. More...
 
virtual ~Par02PhysicsList ()
 
- 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 ()
 

Protected Member Functions

virtual void ConstructParticle ()
 Constructs particles: bosons, leptons, mesons, baryons and ions. More...
 
virtual void ConstructProcess ()
 Constructs physics processes: particle transportation, decays, parametrisation (for the purpose of fast parametric simulation). More...
 
virtual void SetCuts ()
 Sets cuts with the default value for all particle types. More...
 
virtual void ConstructBosons ()
 Constructs bosons (including geantino) More...
 
virtual void ConstructLeptons ()
 Constructs all leptons. More...
 
virtual void ConstructMesons ()
 Constructs all mesons. More...
 
virtual void ConstructBaryons ()
 Constructs all barions. More...
 
virtual void ConstructIons ()
 Constructs light ions. More...
 
void AddParameterisation ()
 Creates a G4FastSimulationManagerProcess object for all the particle types. More...
 
virtual void ConstructGeneral ()
 Adds decay process. More...
 
virtual void AddTransportation ()
 Adds the particle transport. G4CoupledTransportation is used to allow the calculation of the expected position of the particle within a G4VFastSimulationModel. More...
 
- 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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VUserPhysicsList
static const G4VUPLManagerGetSubInstanceManager ()
 
- 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 G4VUserPhysicsList
static G4RUN_DLL G4VUPLManager subInstanceManager
 

Detailed Description

Construction of a physics list.

A mandatory initialization class of the physics list. For the purposes of fast simulation, only transportation, decays and parametrisation is used. Based on G4 examples/extended/parametrisations/Par01/include/Par01PhysicsList.hh .

Author
Anna Zaborowska

Definition at line 45 of file Par02PhysicsList.hh.

Constructor & Destructor Documentation

Par02PhysicsList::Par02PhysicsList ( )

A default constructor. Sets the default cut value.

Definition at line 71 of file Par02PhysicsList.cc.

References G4VUserPhysicsList::defaultCutValue, m, and G4VUserPhysicsList::SetVerboseLevel().

+ Here is the call graph for this function:

Par02PhysicsList::~Par02PhysicsList ( )
virtual

Definition at line 78 of file Par02PhysicsList.cc.

Member Function Documentation

void Par02PhysicsList::AddParameterisation ( )
protected

Creates a G4FastSimulationManagerProcess object for all the particle types.

Definition at line 164 of file Par02PhysicsList.cc.

References G4ProcessManager::AddProcess(), G4ParticleDefinition::GetProcessManager(), and theParticleIterator.

Referenced by ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par02PhysicsList::AddTransportation ( )
protectedvirtual

Adds the particle transport. G4CoupledTransportation is used to allow the calculation of the expected position of the particle within a G4VFastSimulationModel.

Definition at line 140 of file Par02PhysicsList.cc.

References G4VUserPhysicsList::AddTransportation().

Referenced by ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par02PhysicsList::ConstructBaryons ( )
protectedvirtual

Constructs all barions.

Definition at line 118 of file Par02PhysicsList.cc.

References G4BaryonConstructor::ConstructParticle().

Referenced by ConstructParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par02PhysicsList::ConstructBosons ( )
protectedvirtual

Constructs bosons (including geantino)

Definition at line 95 of file Par02PhysicsList.cc.

References G4ChargedGeantino::ChargedGeantinoDefinition(), G4Gamma::GammaDefinition(), G4Geantino::GeantinoDefinition(), and G4OpticalPhoton::OpticalPhotonDefinition().

Referenced by ConstructParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par02PhysicsList::ConstructGeneral ( )
protectedvirtual

Adds decay process.

Definition at line 147 of file Par02PhysicsList.cc.

References G4ProcessManager::AddProcess(), G4ParticleDefinition::GetProcessManager(), idxAtRest, idxPostStep, G4Decay::IsApplicable(), G4ProcessManager::SetProcessOrdering(), and theParticleIterator.

Referenced by ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par02PhysicsList::ConstructIons ( )
protectedvirtual

Constructs light ions.

Definition at line 125 of file Par02PhysicsList.cc.

References G4IonConstructor::ConstructParticle().

Referenced by ConstructParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par02PhysicsList::ConstructLeptons ( )
protectedvirtual

Constructs all leptons.

Definition at line 104 of file Par02PhysicsList.cc.

References G4LeptonConstructor::ConstructParticle().

Referenced by ConstructParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par02PhysicsList::ConstructMesons ( )
protectedvirtual

Constructs all mesons.

Definition at line 111 of file Par02PhysicsList.cc.

References G4MesonConstructor::ConstructParticle().

Referenced by ConstructParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Par02PhysicsList::ConstructParticle ( void  )
protectedvirtual

Constructs particles: bosons, leptons, mesons, baryons and ions.

Implements G4VUserPhysicsList.

Definition at line 82 of file Par02PhysicsList.cc.

References ConstructBaryons(), ConstructBosons(), ConstructIons(), ConstructLeptons(), and ConstructMesons().

+ Here is the call graph for this function:

void Par02PhysicsList::ConstructProcess ( void  )
protectedvirtual

Constructs physics processes: particle transportation, decays, parametrisation (for the purpose of fast parametric simulation).

Implements G4VUserPhysicsList.

Definition at line 132 of file Par02PhysicsList.cc.

References AddParameterisation(), AddTransportation(), and ConstructGeneral().

+ Here is the call graph for this function:

void Par02PhysicsList::SetCuts ( )
protectedvirtual

Sets cuts with the default value for all particle types.

Reimplemented from G4VUserPhysicsList.

Definition at line 183 of file Par02PhysicsList.cc.

References G4cout, G4VUserPhysicsList::SetCutsWithDefault(), and G4VUserPhysicsList::verboseLevel.

+ Here is the call graph for this function:


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