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

#include <G4EmDNAPhysics_option6.hh>

+ Inheritance diagram for G4EmDNAPhysics_option6:

Public Member Functions

 G4EmDNAPhysics_option6 (G4int ver=1, const G4String &name="G4EmDNAPhysics_option6")
 
 ~G4EmDNAPhysics_option6 () override=default
 
void ConstructProcess () override
 
- Public Member Functions inherited from G4EmDNAPhysics
 G4EmDNAPhysics (G4int ver=1, const G4String &name="G4EmDNAPhysics")
 
 ~G4EmDNAPhysics () override=default
 
void ConstructParticle () 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 47 of file G4EmDNAPhysics_option6.hh.

Constructor & Destructor Documentation

◆ G4EmDNAPhysics_option6()

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

Definition at line 60 of file G4EmDNAPhysics_option6.cc.

61 : G4EmDNAPhysics(ver, nam)
62{
64 param->SetDNAFast(true);
65}
G4EmDNAPhysics(G4int ver=1, const G4String &name="G4EmDNAPhysics")
static G4EmParameters * Instance()
void SetDNAFast(G4bool val)

◆ ~G4EmDNAPhysics_option6()

G4EmDNAPhysics_option6::~G4EmDNAPhysics_option6 ( )
overridedefault

Member Function Documentation

◆ ConstructProcess()

void G4EmDNAPhysics_option6::ConstructProcess ( )
overridevirtual

Reimplemented from G4EmDNAPhysics.

Definition at line 69 of file G4EmDNAPhysics_option6.cc.

70{
71 // parameters
73 const G4double emaxDNA = 1.*CLHEP::MeV;
74 const G4double emaxIonDNA = 300.*CLHEP::MeV;
75 const G4double eminBorn = 500.*CLHEP::keV;
76 const G4bool fast = param->DNAFast();
77 const G4bool st = param->DNAStationary();
78 if(verboseLevel > 1) {
79 G4cout << "### " << GetPhysicsName()
80 << " Construct Processes EmaxDNA(MeV)= "
81 << emaxDNA/CLHEP::MeV << "; useMSC: " << fast
82 << "; stationary: " << st << G4endl;
83 }
84 G4DNAGenericIonsManager* genericIonsManager
86
87 // standard physics
89 emaxIonDNA, emaxIonDNA,
90 dnaUrban, fast);
91
92 // DNA physics
94 G4EmDNABuilder::ConstructDNAProtonPhysics(eminBorn, emaxIonDNA, 6, fast, st);
96
97 G4ParticleDefinition* part = genericIonsManager->GetIon("hydrogen");
98 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 6, emaxIonDNA, fast, st);
99
100 part = G4Alpha::Alpha();
101 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 2, 6, emaxIonDNA, fast, st);
102
103 part = genericIonsManager->GetIon("alpha+");
104 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 1, 6, emaxIonDNA, fast, st);
105
106 part = genericIonsManager->GetIon("helium");
107 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 6, emaxIonDNA, fast, st);
108}
@ dnaUrban
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: