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

#include <UltraPhysicsList.hh>

Inheritance diagram for UltraPhysicsList:
Collaboration diagram for UltraPhysicsList:

Public Member Functions

 UltraPhysicsList ()
 
 ~UltraPhysicsList ()
 
- 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 ()
 

Protected Member Functions

void ConstructParticle ()
 
void ConstructProcess ()
 
void SetCuts ()
 
- 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 ()
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 

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 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 UltraPhysicsList.hh.

Constructor & Destructor Documentation

UltraPhysicsList::UltraPhysicsList ( )

Definition at line 72 of file UltraPhysicsList.cc.

73  fEmPhysicsList(0),
74  fOpPhysicsList(0),
75  fDecayPhysicsList(0),
76  fVerboseLebel(1),
77  fMaxNumPhotonStep(20)
78 {
81 
82  // fMessenger = new UltraPhysicsListMessenger(this);
83  // fStepMaxProcess = new StepMax();
84 
85  // Initilise flags
86 
87  SetVerboseLevel(1);
88 
89 
90  // EM physics
91  fEmName = G4String("emstandard");
92  fEmPhysicsList = new G4EmStandardPhysics();
93  fOpPhysicsList = new G4OpticalPhysics();
94 
95  // Decay Physics is always defined
96  fDecayPhysicsList = new G4DecayPhysics();
97 }
void SetDefaultCutValue(G4double newCutValue)
static G4LossTableManager * Instance()
static constexpr double mm
Definition: G4SIunits.hh:115
void SetVerboseLevel(G4int value)

Here is the call graph for this function:

UltraPhysicsList::~UltraPhysicsList ( )

Definition at line 99 of file UltraPhysicsList.cc.

100 {
101  delete fDecayPhysicsList;
102  delete fEmPhysicsList;
103  delete fOpPhysicsList;
104 // delete fStepMaxProcess;
105  for(size_t i=0; i<fHadronPhys.size(); i++)
106  delete fHadronPhys[i];
107 }

Member Function Documentation

void UltraPhysicsList::ConstructParticle ( void  )
protectedvirtual

Reimplemented from G4VModularPhysicsList.

Definition at line 110 of file UltraPhysicsList.cc.

111 {
112  fDecayPhysicsList->ConstructParticle();
113 }
virtual void ConstructParticle()=0

Here is the call graph for this function:

void UltraPhysicsList::ConstructProcess ( void  )
protectedvirtual

Reimplemented from G4VModularPhysicsList.

Definition at line 116 of file UltraPhysicsList.cc.

117 {
119  if (fEmPhysicsList)
120  fEmPhysicsList->ConstructProcess();
121 
122  if (fOpPhysicsList)
123  fOpPhysicsList->ConstructProcess();
124 
125  if (fDecayPhysicsList)
126  fDecayPhysicsList->ConstructProcess();
127 
128  for(size_t i=0; i<fHadronPhys.size(); ++i) {
129  fHadronPhys[i]->ConstructProcess();
130  }
131 }
virtual void ConstructProcess()=0

Here is the call graph for this function:

void UltraPhysicsList::SetCuts ( )
protectedvirtual

Reimplemented from G4VUserPhysicsList.

Definition at line 134 of file UltraPhysicsList.cc.

135 {
136  if (verboseLevel >1){
137  G4cout << "UltraPhysicsList::SetCuts:";
138  }
139  // " G4VUserPhysicsList::SetCutsWithDefault" method sets
140  // the default cut value for all particle types
142 }
G4GLOB_DLL std::ostream G4cout

Here is the call graph for this function:


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