ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Par02PhysicsList Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/parameterisations/Par02/include/Par02PhysicsList.hh>

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

Public Member Functions

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

Protected Member Functions

virtual void ConstructParticle ()
 Constructs particles: bosons, leptons, mesons, baryons and ions.
 
virtual void ConstructProcess ()
 
virtual void SetCuts ()
 Sets cuts with the default value for all particle types.
 
virtual void ConstructBosons ()
 Constructs bosons (including geantino)
 
virtual void ConstructLeptons ()
 Constructs all leptons.
 
virtual void ConstructMesons ()
 Constructs all mesons.
 
virtual void ConstructBaryons ()
 Constructs all barions.
 
virtual void ConstructIons ()
 Constructs light ions.
 
void AddParameterisation ()
 Creates a G4FastSimulationManagerProcess object for all the particle types.
 
virtual void ConstructGeneral ()
 Adds decay process.
 
virtual void AddTransportation ()
 
- 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 ()
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 

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 44 of file Par02PhysicsList.hh.

View newest version in sPHENIX GitHub at line 44 of file Par02PhysicsList.hh

Constructor & Destructor Documentation

Par02PhysicsList::Par02PhysicsList ( )

A default constructor. Sets the default cut value.

Definition at line 70 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 70 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 77 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 77 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.

View newest version in sPHENIX GitHub at line 164 of file Par02PhysicsList.cc

References G4ProcessManager::AddProcess(), G4VUserPhysicsList::GetParticleIterator(), G4ParticleDefinition::GetProcessManager(), and particle.

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 139 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 139 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 117 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 117 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 94 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 94 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 146 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 146 of file Par02PhysicsList.cc

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

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 124 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 124 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 103 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 103 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 110 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 110 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 81 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 81 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 131 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 131 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 184 of file Par02PhysicsList.cc.

View newest version in sPHENIX GitHub at line 184 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: