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

#include <G4BEGammaDeexcitation.hh>

Public Member Functions

 G4BEGammaDeexcitation ()
 
virtual ~G4BEGammaDeexcitation ()
 
void setVerboseLevel (G4int verbose)
 
void setNucleusA (G4int inputA)
 
void setNucleusZ (G4int inputZ)
 
void setExcitationEnergy (G4double inputE)
 
G4DynamicParticleemit ()
 

Detailed Description

Definition at line 36 of file G4BEGammaDeexcitation.hh.

Constructor & Destructor Documentation

◆ G4BEGammaDeexcitation()

G4BEGammaDeexcitation::G4BEGammaDeexcitation ( )

Definition at line 44 of file G4BEGammaDeexcitation.cc.

45{
46}

◆ ~G4BEGammaDeexcitation()

G4BEGammaDeexcitation::~G4BEGammaDeexcitation ( )
virtual

Definition at line 49 of file G4BEGammaDeexcitation.cc.

50{
51}

Member Function Documentation

◆ emit()

G4DynamicParticle * G4BEGammaDeexcitation::emit ( )

Definition at line 84 of file G4BEGammaDeexcitation.cc.

85{
86 // Isotropic distribution assumed to gammas
87 G4double u, v, w;
88 G4DynamicParticle * pParticle = new G4DynamicParticle;
89 pParticle -> SetDefinition( G4Gamma::Gamma() );
90 pParticle -> SetKineticEnergy( sampleKineticEnergy() );
91 isotropicCosines( u, v, w );
92 pParticle -> SetMomentumDirection( u, v, w );
93 return pParticle;
94}
double G4double
Definition: G4Types.hh:64
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86

Referenced by G4BertiniEvaporation::BreakItUp().

◆ setExcitationEnergy()

void G4BEGammaDeexcitation::setExcitationEnergy ( G4double  inputE)

Definition at line 72 of file G4BEGammaDeexcitation.cc.

73{
74 excitationEnergy = energy;
75}

Referenced by G4BertiniEvaporation::BreakItUp().

◆ setNucleusA()

void G4BEGammaDeexcitation::setNucleusA ( G4int  inputA)

Definition at line 60 of file G4BEGammaDeexcitation.cc.

61{
62 nucleusA = a;
63}

Referenced by G4BertiniEvaporation::BreakItUp().

◆ setNucleusZ()

void G4BEGammaDeexcitation::setNucleusZ ( G4int  inputZ)

Definition at line 66 of file G4BEGammaDeexcitation.cc.

67{
68 nucleusZ = z;
69}

Referenced by G4BertiniEvaporation::BreakItUp().

◆ setVerboseLevel()

void G4BEGammaDeexcitation::setVerboseLevel ( G4int  verbose)

Definition at line 54 of file G4BEGammaDeexcitation.cc.

55{
56 verboseLevel = level ;
57}

Referenced by G4BertiniEvaporation::BreakItUp().


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