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

#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/include/HadrontherapyPhysicsList.hh>

+ Inheritance diagram for HadrontherapyPhysicsList:
+ Collaboration diagram for HadrontherapyPhysicsList:

Public Member Functions

 HadrontherapyPhysicsList ()
 
virtual ~HadrontherapyPhysicsList ()
 
void ConstructParticle ()
 
void SetCutForGamma (G4double)
 
void SetCutForElectron (G4double)
 
void SetCutForPositron (G4double)
 
void SetDetectorCut (G4double cut)
 
void AddPhysicsList (const G4String &name)
 
void ConstructProcess ()
 
void AddStepMax ()
 
void AddPackage (const G4String &name)
 
- 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
 
virtual void TerminateWorker () override
 
- Public Member Functions inherited from G4VUserPhysicsList
 G4VUserPhysicsList ()
 
virtual ~G4VUserPhysicsList ()
 
 G4VUserPhysicsList (const G4VUserPhysicsList &)
 
G4VUserPhysicsListoperator= (const G4VUserPhysicsList &)
 
void Construct ()
 
void UseCoupledTransportation (G4bool vl=true)
 
virtual void SetCuts ()
 
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 ()
 

Private Attributes

G4EmConfigurator em_config
 
G4double cutForGamma
 
G4double cutForElectron
 
G4double cutForPositron
 
G4bool locIonIonInelasticIsRegistered
 
G4bool radioactiveDecayIsRegistered
 
G4String emName
 
G4VPhysicsConstructoremPhysicsList
 
G4VPhysicsConstructordecay_List
 
G4VPhysicsConstructorradioactiveDecay_List
 
std::vector
< G4VPhysicsConstructor * > 
hadronPhys
 
HadrontherapyPhysicsListMessengerpMessenger
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VModularPhysicsList
static const G4VMPLManagerGetSubInstanceManager ()
 
- Protected Types inherited from G4VModularPhysicsList
typedef
G4VMPLData::G4PhysConstVectorData 
G4PhysConstVector
 
- Protected Member Functions inherited from G4VModularPhysicsList
 G4VModularPhysicsList (const G4VModularPhysicsList &)
 
G4VModularPhysicsListoperator= (const G4VModularPhysicsList &)
 
- Protected Attributes inherited from G4VModularPhysicsList
G4int verboseLevel
 
G4int g4vmplInstanceID
 
- Static Protected Attributes inherited from G4VModularPhysicsList
static G4RUN_DLL G4VMPLManager G4VMPLsubInstanceManager
 

Detailed Description

Definition at line 40 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 40 of file HadrontherapyPhysicsList.hh

Constructor & Destructor Documentation

HadrontherapyPhysicsList::HadrontherapyPhysicsList ( )

Definition at line 71 of file HadrontherapyPhysicsList.cc.

View newest version in sPHENIX GitHub at line 71 of file HadrontherapyPhysicsList.cc

References cutForElectron, cutForGamma, cutForPositron, decay_List, G4VUserPhysicsList::defaultCutValue, emPhysicsList, G4LossTableManager::Instance(), mm, pMessenger, and G4VModularPhysicsList::SetVerboseLevel().

+ Here is the call graph for this function:

HadrontherapyPhysicsList::~HadrontherapyPhysicsList ( )
virtual

Definition at line 89 of file HadrontherapyPhysicsList.cc.

View newest version in sPHENIX GitHub at line 89 of file HadrontherapyPhysicsList.cc

References decay_List, emPhysicsList, hadronPhys, and pMessenger.

Member Function Documentation

void HadrontherapyPhysicsList::AddPackage ( const G4String name)
void HadrontherapyPhysicsList::AddPhysicsList ( const G4String name)

Definition at line 142 of file HadrontherapyPhysicsList.cc.

View newest version in sPHENIX GitHub at line 142 of file HadrontherapyPhysicsList.cc

References emName, emPhysicsList, G4cout, G4endl, G4RunManager::GetRunManager(), hadronPhys, and G4VModularPhysicsList::verboseLevel.

Referenced by HadrontherapyPhysicsListMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HadrontherapyPhysicsList::AddStepMax ( )

Definition at line 201 of file HadrontherapyPhysicsList.cc.

View newest version in sPHENIX GitHub at line 201 of file HadrontherapyPhysicsList.cc

References G4ProcessManager::AddDiscreteProcess(), G4VUserPhysicsList::GetParticleIterator(), G4ParticleDefinition::GetProcessManager(), HadrontherapyStepMax::IsApplicable(), particle, and G4AutoDelete::Register().

Referenced by ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HadrontherapyPhysicsList::ConstructParticle ( void  )
virtual

Reimplemented from G4VModularPhysicsList.

Definition at line 103 of file HadrontherapyPhysicsList.cc.

View newest version in sPHENIX GitHub at line 103 of file HadrontherapyPhysicsList.cc

References decay_List.

void HadrontherapyPhysicsList::ConstructProcess ( void  )
virtual

Reimplemented from G4VModularPhysicsList.

Definition at line 110 of file HadrontherapyPhysicsList.cc.

View newest version in sPHENIX GitHub at line 110 of file HadrontherapyPhysicsList.cc

References AddStepMax(), G4VUserPhysicsList::AddTransportation(), G4ParallelWorldPhysics::ConstructProcess(), decay_List, emPhysicsList, and hadronPhys.

+ Here is the call graph for this function:

void HadrontherapyPhysicsList::SetCutForElectron ( G4double  )
void HadrontherapyPhysicsList::SetCutForGamma ( G4double  )
void HadrontherapyPhysicsList::SetCutForPositron ( G4double  )
void HadrontherapyPhysicsList::SetDetectorCut ( G4double  cut)

Member Data Documentation

G4double HadrontherapyPhysicsList::cutForElectron
private

Definition at line 62 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 62 of file HadrontherapyPhysicsList.hh

Referenced by HadrontherapyPhysicsList().

G4double HadrontherapyPhysicsList::cutForGamma
private

Definition at line 61 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 61 of file HadrontherapyPhysicsList.hh

Referenced by HadrontherapyPhysicsList().

G4double HadrontherapyPhysicsList::cutForPositron
private

Definition at line 63 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 63 of file HadrontherapyPhysicsList.hh

Referenced by HadrontherapyPhysicsList().

G4VPhysicsConstructor* HadrontherapyPhysicsList::decay_List
private

Definition at line 68 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 68 of file HadrontherapyPhysicsList.hh

Referenced by ConstructParticle(), ConstructProcess(), HadrontherapyPhysicsList(), and ~HadrontherapyPhysicsList().

G4EmConfigurator HadrontherapyPhysicsList::em_config
private

Definition at line 59 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 59 of file HadrontherapyPhysicsList.hh

G4String HadrontherapyPhysicsList::emName
private

Definition at line 66 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 66 of file HadrontherapyPhysicsList.hh

Referenced by AddPhysicsList().

G4VPhysicsConstructor* HadrontherapyPhysicsList::emPhysicsList
private

Definition at line 67 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 67 of file HadrontherapyPhysicsList.hh

Referenced by AddPhysicsList(), ConstructProcess(), HadrontherapyPhysicsList(), and ~HadrontherapyPhysicsList().

std::vector<G4VPhysicsConstructor*> HadrontherapyPhysicsList::hadronPhys
private

Definition at line 71 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 71 of file HadrontherapyPhysicsList.hh

Referenced by AddPhysicsList(), ConstructProcess(), and ~HadrontherapyPhysicsList().

G4bool HadrontherapyPhysicsList::locIonIonInelasticIsRegistered
private

Definition at line 64 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 64 of file HadrontherapyPhysicsList.hh

HadrontherapyPhysicsListMessenger* HadrontherapyPhysicsList::pMessenger
private

Definition at line 73 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 73 of file HadrontherapyPhysicsList.hh

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

G4VPhysicsConstructor* HadrontherapyPhysicsList::radioactiveDecay_List
private

Definition at line 69 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 69 of file HadrontherapyPhysicsList.hh

G4bool HadrontherapyPhysicsList::radioactiveDecayIsRegistered
private

Definition at line 65 of file HadrontherapyPhysicsList.hh.

View newest version in sPHENIX GitHub at line 65 of file HadrontherapyPhysicsList.hh


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