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

#include <G4EmDNAPhysics_option2.hh>

+ Inheritance diagram for G4EmDNAPhysics_option2:

Public Member Functions

 G4EmDNAPhysics_option2 (G4int ver=1, const G4String &name="G4EmDNAPhysics_option2")
 
 ~G4EmDNAPhysics_option2 () 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 36 of file G4EmDNAPhysics_option2.hh.

Constructor & Destructor Documentation

◆ G4EmDNAPhysics_option2()

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

Definition at line 50 of file G4EmDNAPhysics_option2.cc.

51 : G4EmDNAPhysics(ver, nam)
52{
54 param->SetDNAFast(true);
55}
G4EmDNAPhysics(G4int ver=1, const G4String &name="G4EmDNAPhysics")
static G4EmParameters * Instance()
void SetDNAFast(G4bool val)

◆ ~G4EmDNAPhysics_option2()

G4EmDNAPhysics_option2::~G4EmDNAPhysics_option2 ( )
overridedefault

Member Function Documentation

◆ ConstructProcess()

void G4EmDNAPhysics_option2::ConstructProcess ( )
overridevirtual

Reimplemented from G4EmDNAPhysics.

Definition at line 59 of file G4EmDNAPhysics_option2.cc.

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