Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4NuclearDecayChannel.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26#ifndef G4NuclearDecayChannel_h
27#define G4NuclearDecayChannel_h 1
28
29#include "globals.hh"
30#include "G4VDecayChannel.hh"
31#include "G4Ions.hh"
32#include "G4IonTable.hh"
33#include "G4DynamicParticle.hh"
34#include "G4ParticleTable.hh"
37
39
40////////////////////////////////////////////////////////////////////////////////
41//
43{
44 // class description
45 //
46 // G4NuclearDecayChannel is a derived class from G4GeneralPhaseSpaceDecay,
47 // itself a derived class from G4VDecayChannel. It provides the required
48 // decay channels for all nuclear decay modes and through the DecayIt()
49 // member function returns the decay products.
50 //
51 // class description - end
52
53public: // with description
54
56 G4GeneralPhaseSpaceDecay(Verbose) {;}
57 // default constructor
58 //
60 const G4ParticleDefinition* theParentNucleus,
61 G4double theBR, G4double theQtransition, G4int A,
62 G4int Z, G4double theDaughterExcitation);
63 // constructor decay channel with one decay product
64 //
66 const G4ParticleDefinition* theParentNucleus,
67 G4double theBR, G4double theQtransition, G4int A,
68 G4int Z, G4double theDaughterExcitation,
69 const G4String theDaughterName1);
70 // constructor decay channel with two decay products
71 //
73 const G4ParticleDefinition* theParentNucleus,
74 G4double theBR, G4double /* theFFN */,
75 G4bool /* betaS */, CLHEP::RandGeneral* randBeta,
76 G4double theQtransition, G4int A, G4int Z,
77 G4double theDaughterExcitation,
78 const G4String theDaughterName1,
79 const G4String theDaughterName2);
80 // constructor decay channel with three decay product
81 //
82
84
85 // destructor
86 //
87 G4DecayProducts* DecayIt(G4double theParentMass);
88 // Returns the decay products
89 //
91 // Set the half-life threshold for isomer production
92 //
93 void SetICM(G4bool icm) {applyICM = icm;}
94 // Enable/disable ICM
95 //
96 void SetARM (G4bool arm) {applyARM = arm;}
97 // Enable/disable ARM
98 //
100 // Returns the decay mode
101 //
103 // Returns the excitaion energy of the daughter nuclide
104 //
106 // Returns the daughter nuclide.
107 //
108private:
109 G4NuclearDecayChannel(const G4String& theName, const G4String& theParentName,
110 G4double theBR, G4int theNumberOfDaughters,
111 const G4String theDaughterName1,
112 const G4String theDaughterName2,
113 const G4String theDaughterName3,
114 const G4String theDaughterName4);
115
116 G4NuclearDecayChannel(const G4String& theParentName,
117 G4double theBR, G4int theNumberOfDaughters,
118 const G4String& theDaughterName1,
119 const G4String& theDaughterName2 = "",
120 const G4String& theDaughterName3 = "");
121
122 G4NuclearDecayChannel(const G4String& theParentName,
123 G4double theParentMass, G4double theBR,
124 G4int theNumberOfDaughters,
125 const G4String& theDaughterName1,
126 const G4String& theDaughterName2 = "",
127 const G4String& theDaughterName3 = "");
128
129 void FillDaughterNucleus(G4int index, G4int A, G4int Z,
130 G4double theDaughterExcitation);
131
132 G4DecayProducts* BetaDecayIt();
133 // to replace the ThreeBodyDecayIt() to generate the correct beta spectrum
134
135protected:
137 static const G4double pTolerance;
149};
150#endif
151
152
G4RadioactiveDecayMode
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
bool G4bool
Definition: G4Types.hh:67
G4ParticleDefinition * daughterNucleus
G4RadioactiveDecayMode decayMode
G4NuclearDecayChannel(const G4RadioactiveDecayMode &, G4int Verbose)
G4RadioactiveDecayMode GetDecayMode()
CLHEP::RandGeneral * RandomEnergy
G4ParticleDefinition * GetDaughterNucleus()
G4DynamicParticle * dynamicDaughter
void SetHLThreshold(G4double hl)
static const G4double levelTolerance
G4DecayProducts * DecayIt(G4double theParentMass)
static const G4double pTolerance