Geant4 11.1.1
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 ()
 
virtual void ConstructParticle ()=0
 
virtual void ConstructProcess ()=0
 
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);
60 param->SetDefaults();
61 param->SetMinEnergy(10*CLHEP::eV);
62 param->SetMaxEnergy(300*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);
78 param->ActivateDNA();
79 param->SetDNAFast(false);
80 param->SetDNAStationary(false);
81
83}
@ bElectromagnetic
@ 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 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()
void SetVerboseLevel(G4int value)

◆ ~G4EmDNAPhysics()

G4EmDNAPhysics::~G4EmDNAPhysics ( )
overridedefault

Member Function Documentation

◆ ConstructParticle()

void G4EmDNAPhysics::ConstructParticle ( )
overridevirtual

Implements G4VPhysicsConstructor.

Definition at line 87 of file G4EmDNAPhysics.cc.

88{
90}
static void ConstructDNAParticles()

◆ ConstructProcess()

void G4EmDNAPhysics::ConstructProcess ( )
overridevirtual

Implements G4VPhysicsConstructor.

Reimplemented in G4EmDNAPhysics_option2, G4EmDNAPhysics_option4, G4EmDNAPhysics_option6, and G4EmDNAPhysics_option8.

Definition at line 94 of file G4EmDNAPhysics.cc.

95{
96 // parameters
98 const G4double emaxDNA = 1.*CLHEP::MeV;
99 const G4double emaxIonDNA = 300.*CLHEP::MeV;
100 const G4double eminBorn = 500.*CLHEP::keV;
101 const G4bool fast = param->DNAFast();
102 const G4bool st = param->DNAStationary();
103 if(verboseLevel > 1) {
104 G4cout << "### " << GetPhysicsName()
105 << " Construct Processes EmaxDNA(MeV)= "
106 << emaxDNA/CLHEP::MeV << "; useMSC: " << fast
107 << "; stationary: " << st << G4endl;
108 }
109 G4DNAGenericIonsManager* genericIonsManager
111
112 // standard physics
114 emaxIonDNA, emaxIonDNA,
115 dnaGS, fast);
116
117 // DNA physics
119 G4EmDNABuilder::ConstructDNAProtonPhysics(eminBorn, emaxIonDNA, 0, fast, st);
121
122 G4ParticleDefinition* part = genericIonsManager->GetIon("hydrogen");
123 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 0, emaxIonDNA, fast, st);
124
125 part = G4Alpha::Alpha();
126 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 2, 0, emaxIonDNA, fast, st);
127
128 part = genericIonsManager->GetIon("alpha+");
129 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 1, 0, emaxIonDNA, fast, st);
130
131 part = genericIonsManager->GetIon("helium");
132 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 0, emaxIonDNA, fast, st);
133}
@ dnaGS
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
static G4Alpha * Alpha()
Definition: G4Alpha.cc:88
static G4DNAGenericIonsManager * Instance(void)
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: