Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4EmDNAPhysics Class Reference

#include <G4EmDNAPhysics.hh>

+ Inheritance diagram for G4EmDNAPhysics:

Public Member Functions

 G4EmDNAPhysics (G4int ver=1, const G4String &name="G4EmDNAPhysics")
 
 ~G4EmDNAPhysics () override=default
 
void ConstructParticle () override
 
void ConstructProcess () override
 
- 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
 
G4int GetInstanceID () const
 
virtual void TerminateWorker ()
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Types inherited from G4VPhysicsConstructor
using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
PhysicsBuilder_V GetBuilders () const
 
void AddBuilder (G4PhysicsBuilderInterface *bld)
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel = 0
 
G4String namePhysics = ""
 
G4int typePhysics = 0
 
G4ParticleTabletheParticleTable = nullptr
 
G4int g4vpcInstanceID = 0
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 37 of file G4EmDNAPhysics.hh.

Constructor & Destructor Documentation

◆ G4EmDNAPhysics()

G4EmDNAPhysics::G4EmDNAPhysics ( G4int ver = 1,
const G4String & name = "G4EmDNAPhysics" )

Definition at line 51 of file G4EmDNAPhysics.cc.

53{
54 // instantiate singletones for physics
56
57 // parameters for DNA and for option3 EM physics
58 SetVerboseLevel(ver);
59 G4EmParameters* param = G4EmParameters::Instance();
60 param->SetDefaults();
61 param->SetMinEnergy(10*CLHEP::eV);
62 param->SetMaxEnergy(600*CLHEP::MeV);
63 param->SetLowestElectronEnergy(0*CLHEP::eV);
64 param->SetNumberOfBinsPerDecade(20);
66 param->SetStepFunction(0.2, 10*CLHEP::um);
67 param->SetStepFunctionMuHad(0.1, 50*CLHEP::um);
68 param->SetStepFunctionLightIons(0.1, 20*CLHEP::um);
69 param->SetStepFunctionIons(0.1, 1*CLHEP::um);
70 param->SetUseICRU90Data(true);
71 param->SetUseMottCorrection(true);
73 param->SetMscSkin(3);
74 param->SetMscRangeFactor(0.08);
75 param->SetFluo(true);
76 param->SetAuger(true);
77 param->SetDeexcitationIgnoreCut(true);
79 param->ActivateDNA();
80 param->SetDNAFast(false);
81 param->SetDNAStationary(false);
82
84}
@ bElectromagnetic
@ fAllisonPositronium
@ fUseSafetyPlus
void SetMinEnergy(G4double val)
void SetLowestElectronEnergy(G4double val)
void SetStepFunctionLightIons(G4double v1, G4double v2)
void SetNumberOfBinsPerDecade(G4int val)
static G4EmParameters * Instance()
void SetDNAFast(G4bool val)
void SetPositronAtRestModelType(G4PositronAtRestModelType val)
void SetDNAStationary(G4bool val)
void ActivateAngularGeneratorForIonisation(G4bool val)
void SetStepFunction(G4double v1, G4double v2)
void SetDeexcitationIgnoreCut(G4bool val)
void SetFluo(G4bool val)
void SetStepFunctionMuHad(G4double v1, G4double v2)
void SetMscSkin(G4double val)
void SetStepFunctionIons(G4double v1, G4double v2)
void SetMscStepLimitType(G4MscStepLimitType val)
void SetAuger(G4bool val)
void SetUseICRU90Data(G4bool val)
void SetUseMottCorrection(G4bool val)
void SetMaxEnergy(G4double val)
void SetMscRangeFactor(G4double val)
static void InitialiseParameters()
G4VPhysicsConstructor(const G4String &="")
void SetVerboseLevel(G4int value)

Referenced by G4EmDNAPhysics_option1::G4EmDNAPhysics_option1(), G4EmDNAPhysics_option2::G4EmDNAPhysics_option2(), G4EmDNAPhysics_option4::G4EmDNAPhysics_option4(), G4EmDNAPhysics_option6::G4EmDNAPhysics_option6(), G4EmDNAPhysics_option8::G4EmDNAPhysics_option8(), and G4EmDNAPhysics_stationary::G4EmDNAPhysics_stationary().

◆ ~G4EmDNAPhysics()

G4EmDNAPhysics::~G4EmDNAPhysics ( )
overridedefault

Member Function Documentation

◆ ConstructParticle()

void G4EmDNAPhysics::ConstructParticle ( )
overridevirtual

Implements G4VPhysicsConstructor.

Definition at line 88 of file G4EmDNAPhysics.cc.

◆ ConstructProcess()

void G4EmDNAPhysics::ConstructProcess ( )
overridevirtual

Implements G4VPhysicsConstructor.

Reimplemented in G4EmDNAPhysics_option2, G4EmDNAPhysics_option4, G4EmDNAPhysics_option6, and G4EmDNAPhysics_option8.

Definition at line 95 of file G4EmDNAPhysics.cc.

96{
97 // parameters
98 G4EmParameters* param = G4EmParameters::Instance();
99 const G4double emaxDNA = 1.*CLHEP::MeV;
100 const G4double emaxIonDNA = 300.*CLHEP::MeV;
101 const G4double emaxLightIonDNA = 400.*CLHEP::MeV;
102 const G4double eminBorn = 500.*CLHEP::keV;
103 const G4bool fast = param->DNAFast();
104 const G4bool st = param->DNAStationary();
105 if(verboseLevel > 1) {
106 G4cout << "### " << GetPhysicsName()
107 << " Construct Processes EmaxDNA(MeV)= "
108 << emaxDNA/CLHEP::MeV << "; useMSC: " << fast
109 << "; stationary: " << st << G4endl;
110 }
111 G4DNAGenericIonsManager* genericIonsManager
113
114 // standard physics
116 emaxIonDNA, emaxIonDNA,
117 dnaGS, fast);
118
119 // DNA physics
121 G4EmDNABuilder::ConstructDNAProtonPhysics(eminBorn, emaxIonDNA, 0, fast, st);
123
124 G4ParticleDefinition* part = genericIonsManager->GetIon("hydrogen");
125 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 0, emaxIonDNA, fast, st);
126
127 part = G4Alpha::Alpha();
128 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 2, 0, emaxLightIonDNA, fast, st);
129
130 part = genericIonsManager->GetIon("alpha+");
131 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 1, 0, emaxLightIonDNA, fast, st);
132
133 part = genericIonsManager->GetIon("helium");
134 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 0, emaxLightIonDNA, fast, st);
135}
@ dnaGS
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
static G4Alpha * Alpha()
Definition G4Alpha.cc:83
static G4DNAGenericIonsManager * Instance()
G4ParticleDefinition * GetIon(const G4String &name)
static void ConstructDNALightIonPhysics(G4ParticleDefinition *part, const G4int charge, const G4int opt, const G4double emax, const G4bool fast, const G4bool stationary, const G4Region *reg=nullptr)
static void ConstructDNAIonPhysics(const G4double emax, const G4bool stationary, const G4Region *reg=nullptr)
static void ConstructDNAProtonPhysics(const G4double e1DNA, const G4double emaxDNA, const G4int opt, const G4bool fast, const G4bool stationary, const G4Region *reg=nullptr)
static void ConstructStandardEmPhysics(const G4double emin_electron, const G4double emin_proton, const G4double emin_alpha, const G4double emin_ion, const G4EmDNAMscModelType mscType, const G4bool fast)
static void ConstructDNAElectronPhysics(const G4double emaxDNA, const G4int opt, const G4bool fast, const G4bool stationary, const G4Region *reg=nullptr)
G4bool DNAFast() const
G4bool DNAStationary() const
const G4String & GetPhysicsName() const

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