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

#include <G4EmDNAPhysics_option4.hh>

+ Inheritance diagram for G4EmDNAPhysics_option4:

Public Member Functions

 G4EmDNAPhysics_option4 (G4int ver=1, const G4String &name="G4EmDNAPhysics_option4")
 
 ~G4EmDNAPhysics_option4 () 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
 
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_option4.hh.

Constructor & Destructor Documentation

◆ G4EmDNAPhysics_option4()

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

Definition at line 50 of file G4EmDNAPhysics_option4.cc.

51 : G4EmDNAPhysics(ver, nam)
52{}

◆ ~G4EmDNAPhysics_option4()

G4EmDNAPhysics_option4::~G4EmDNAPhysics_option4 ( )
overridedefault

Member Function Documentation

◆ ConstructProcess()

void G4EmDNAPhysics_option4::ConstructProcess ( )
overridevirtual

Reimplemented from G4EmDNAPhysics.

Definition at line 56 of file G4EmDNAPhysics_option4.cc.

57{
58 // parameters
60 const G4double emaxDNA = 1.*CLHEP::MeV;
61 const G4double emaxIonDNA = 300.*CLHEP::MeV;
62 const G4double eminBorn = 500.*CLHEP::keV;
63 const G4bool fast = param->DNAFast();
64 const G4bool st = param->DNAStationary();
65 if(verboseLevel > 1) {
66 G4cout << "### " << GetPhysicsName()
67 << " Construct Processes EmaxDNA(MeV)= "
68 << emaxDNA/CLHEP::MeV << "; useMSC: " << fast
69 << "; stationary: " << st << G4endl;
70 }
71 G4DNAGenericIonsManager* genericIonsManager
73
74 // standard physics
76 emaxIonDNA, emaxIonDNA,
77 dnaGS, fast);
78
79 // DNA physics
81 G4EmDNABuilder::ConstructDNAProtonPhysics(eminBorn, emaxIonDNA, 4, fast, st);
83
84 G4ParticleDefinition* part = genericIonsManager->GetIon("hydrogen");
85 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 4, emaxIonDNA, fast, st);
86
87 part = G4Alpha::Alpha();
88 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 2, 4, emaxIonDNA, fast, st);
89
90 part = genericIonsManager->GetIon("alpha+");
91 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 1, 4, emaxIonDNA, fast, st);
92
93 part = genericIonsManager->GetIon("helium");
94 G4EmDNABuilder::ConstructDNALightIonPhysics(part, 0, 4, emaxIonDNA, fast, st);
95}
@ 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)
static G4EmParameters * Instance()
G4bool DNAFast() const
G4bool DNAStationary() const
const G4String & GetPhysicsName() const

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