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

The G4DNAPTBAugerModel class Implement the PTB Auger model. More...

#include <G4DNAPTBAugerModel.hh>

Public Member Functions

 G4DNAPTBAugerModel (const G4String &modelName)
 G4DNAPTBAugerModel Constructor.
 
virtual ~G4DNAPTBAugerModel ()
 ~G4DNAPTBAugerModel Destructor
 
virtual void Initialise ()
 Initialise Set the verbose value.
 
void SetCutForAugerElectrons (G4double cut)
 SetCutForAugerElectrons Set the cut for the auger electrons production.
 
void ComputeAugerEffect (std::vector< G4DynamicParticle * > *fvect, const G4String &materialNameIni, G4double bindingEnergy)
 ComputeAugerEffect Main method to be called by the ionisation model.
 

Detailed Description

The G4DNAPTBAugerModel class Implement the PTB Auger model.

Definition at line 60 of file G4DNAPTBAugerModel.hh.

Constructor & Destructor Documentation

◆ G4DNAPTBAugerModel()

G4DNAPTBAugerModel::G4DNAPTBAugerModel ( const G4String modelName)

G4DNAPTBAugerModel Constructor.

Parameters
modelName

Definition at line 41 of file G4DNAPTBAugerModel.cc.

41 : modelName(modelAugerName)
42{
43 // To inform the user that the Auger model is enabled
44 G4cout << modelName <<" is constructed" << G4endl;
45}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ ~G4DNAPTBAugerModel()

G4DNAPTBAugerModel::~G4DNAPTBAugerModel ( )
virtual

~G4DNAPTBAugerModel Destructor

Definition at line 47 of file G4DNAPTBAugerModel.cc.

48{
49 if( verboseLevel>0 ) G4cout << modelName <<" is deleted" << G4endl;
50}

Member Function Documentation

◆ ComputeAugerEffect()

void G4DNAPTBAugerModel::ComputeAugerEffect ( std::vector< G4DynamicParticle * > *  fvect,
const G4String materialNameIni,
G4double  bindingEnergy 
)

ComputeAugerEffect Main method to be called by the ionisation model.

Parameters
fvect
materialNameIni
bindingEnergy

Definition at line 65 of file G4DNAPTBAugerModel.cc.

66{
67 // Rename material if modified NIST material
68 // This is needed when material is obtained from G4MaterialCutsCouple
69 G4String materialName = materialNameIni;
70 if(materialName.find("_MODIFIED")){
71 materialName = materialName.substr(0,materialName.size()-9);
72 }
73
74 // check if there is a k-shell ionisation and find the ionised atom
75 G4int atomId(0);
76
77 atomId = DetermineIonisedAtom(atomId, materialName, bindingEnergy);
78
79 if(atomId!=0)
80 {
81 G4double kineticEnergy = CalculAugerEnergyFor(atomId);
82
83 if(kineticEnergy<0)
84 {
85 G4cerr<<"**************************"<<G4endl;
86 G4cerr<<"FatalError. Auger kineticEnergy: "<<kineticEnergy<<G4endl;
87 exit(EXIT_FAILURE);
88 }
89
90 if(atomId==1 || atomId==2 || atomId==3)
91 {
92 GenerateAugerWithRandomDirection(fvect, kineticEnergy);
93 }
94 else if(atomId==4)
95 {
96 GenerateAugerWithRandomDirection(fvect, kineticEnergy);
97 GenerateAugerWithRandomDirection(fvect, kineticEnergy);
98 }
99 }
100}
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
G4GLOB_DLL std::ostream G4cerr

Referenced by G4DNAPTBIonisationModel::SampleSecondaries().

◆ Initialise()

void G4DNAPTBAugerModel::Initialise ( )
virtual

Initialise Set the verbose value.

Definition at line 52 of file G4DNAPTBAugerModel.cc.

53{
54 verboseLevel = 0;
55
56 if( verboseLevel>0 )
57 {
58 G4cout << "PTB Auger model is initialised " << G4endl;
59 }
60
61}

Referenced by G4DNAPTBIonisationModel::Initialise().

◆ SetCutForAugerElectrons()

void G4DNAPTBAugerModel::SetCutForAugerElectrons ( G4double  cut)

SetCutForAugerElectrons Set the cut for the auger electrons production.

Parameters
cut

Definition at line 181 of file G4DNAPTBAugerModel.cc.

182{
183 minElectronEnergy = cut;
184}

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