Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
 
 G4DNAPTBAugerModel (G4DNAPTBAugerModel &)=delete
 
G4DNAPTBAugerModeloperator= (const G4DNAPTBAugerModel &right)=delete
 
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() [1/2]

G4DNAPTBAugerModel::G4DNAPTBAugerModel ( const G4String & modelName)

G4DNAPTBAugerModel Constructor.

Parameters
modelName

Definition at line 41 of file G4DNAPTBAugerModel.cc.

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

◆ ~G4DNAPTBAugerModel()

G4DNAPTBAugerModel::~G4DNAPTBAugerModel ( )
virtual

~G4DNAPTBAugerModel Destructor

Definition at line 49 of file G4DNAPTBAugerModel.cc.

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

◆ G4DNAPTBAugerModel() [2/2]

G4DNAPTBAugerModel::G4DNAPTBAugerModel ( G4DNAPTBAugerModel & )
delete

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 67 of file G4DNAPTBAugerModel.cc.

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

◆ Initialise()

void G4DNAPTBAugerModel::Initialise ( )
virtual

Initialise Set the verbose value.

Definition at line 54 of file G4DNAPTBAugerModel.cc.

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

◆ operator=()

G4DNAPTBAugerModel & G4DNAPTBAugerModel::operator= ( const G4DNAPTBAugerModel & right)
delete

◆ SetCutForAugerElectrons()

void G4DNAPTBAugerModel::SetCutForAugerElectrons ( G4double cut)

SetCutForAugerElectrons Set the cut for the auger electrons production.

Parameters
cut

Definition at line 183 of file G4DNAPTBAugerModel.cc.

184{
185 minElectronEnergy = cut;
186}

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