Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PhysicsListEMstd Class Reference

#include <PhysicsListEMstd.hh>

Inheritance diagram for PhysicsListEMstd:
Collaboration diagram for PhysicsListEMstd:

Public Member Functions

 PhysicsListEMstd ()
 
 ~PhysicsListEMstd ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
virtual void SetCuts ()
 
 PhysicsListEMstd ()
 
 ~PhysicsListEMstd ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Static Public Member Functions inherited from G4VUserPhysicsList
static const G4VUPLManagerGetSubInstanceManager ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
- 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
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- 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 G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 
- Static Protected Attributes inherited from G4VUserPhysicsList
static G4RUN_DLL G4VUPLManager subInstanceManager
 

Detailed Description

Definition at line 46 of file PhysicsListEMstd.hh.

Constructor & Destructor Documentation

PhysicsListEMstd::PhysicsListEMstd ( )

Definition at line 58 of file PhysicsListEMstd.cc.

60 {
61  SetVerboseLevel(1);
62  defaultCutValue = 1.*mm; // default cut value (1.0mm)
63 }
static constexpr double mm
Definition: G4SIunits.hh:115
void SetVerboseLevel(G4int value)

Here is the call graph for this function:

PhysicsListEMstd::~PhysicsListEMstd ( )

Definition at line 67 of file PhysicsListEMstd.cc.

69 {
70 }
PhysicsListEMstd::PhysicsListEMstd ( )
PhysicsListEMstd::~PhysicsListEMstd ( )

Member Function Documentation

virtual void PhysicsListEMstd::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

void PhysicsListEMstd::ConstructParticle ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 74 of file PhysicsListEMstd.cc.

76 {
80 }
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89
static G4Gamma * GammaDefinition()
Definition: G4Gamma.cc:81

Here is the call graph for this function:

virtual void PhysicsListEMstd::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

void PhysicsListEMstd::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 84 of file PhysicsListEMstd.cc.

86 {
88 
89  G4ProcessManager* pm;
90 
91  // ----------------------------------------------------------
92  // gamma physics
93  // ----------------------------------------------------------
94  pm= G4Gamma::Gamma()-> GetProcessManager();
95  pm-> AddDiscreteProcess(new G4PhotoElectricEffect);
96  pm-> AddDiscreteProcess(new G4ComptonScattering);
97  pm-> AddDiscreteProcess(new G4GammaConversion);
98 
99  // ----------------------------------------------------------
100  // electron physics
101  // ----------------------------------------------------------
103  G4eIonisation* eion= new G4eIonisation;
105 
107  pm-> AddProcess(msc, ordInActive, 1, 1);
108  pm-> AddProcess(eion, ordInActive, 2, 2);
109  pm-> AddProcess(ebrems, ordInActive, ordInActive, 3);
110 
111  // ----------------------------------------------------------
112  // positron physics
113  // ----------------------------------------------------------
114  msc= new G4eMultipleScattering;
115  eion= new G4eIonisation;
116  ebrems= new G4eBremsstrahlung;
117  G4eplusAnnihilation* annihilation= new G4eplusAnnihilation;
118 
119  pm= G4Positron::Positron()-> GetProcessManager();
120  pm-> AddProcess(msc, ordInActive, 1, 1);
121  pm-> AddProcess(eion, ordInActive, 2, 2);
122  pm-> AddProcess(ebrems, ordInActive, ordInActive, 3);
123  pm-> AddProcess(annihilation, 0, ordInActive, 4);
124 
125 }
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
static G4Positron * Positron()
Definition: G4Positron.cc:94
G4ProcessManager * GetProcessManager() const
static G4Electron * Electron()
Definition: G4Electron.cc:94

Here is the call graph for this function:

void PhysicsListEMstd::SetCuts ( )
virtual

Reimplemented from G4VUserPhysicsList.

Definition at line 129 of file PhysicsListEMstd.cc.

131 {
133 }

Here is the call graph for this function:


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