Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -26,7 +26,7 @@
|
||||
#ifndef G4Radioactivation_h
|
||||
#define G4Radioactivation_h 1
|
||||
|
||||
#include "G4RadioactiveDecayBase.hh"
|
||||
#include "G4RadioactiveDecay.hh"
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
@@ -52,7 +52,7 @@ typedef std::vector<G4RadioactiveDecayRatesToDaughter> G4RadioactiveDecayRates;
|
||||
typedef std::map<G4String, G4DecayTable*> DecayTableMap;
|
||||
|
||||
|
||||
class G4Radioactivation : public G4RadioactiveDecayBase
|
||||
class G4Radioactivation : public G4RadioactiveDecay
|
||||
{
|
||||
public: // with description
|
||||
|
||||
|
||||
+10
-11
@@ -25,7 +25,7 @@
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// File: G4RadioactiveDecayBase.hh //
|
||||
// File: G4RadioactiveDecay.hh //
|
||||
// Author: D.H. Wright (SLAC) //
|
||||
// Date: 9 August 2017 //
|
||||
// Description: version the G4RadioactiveDecay process by F. Lei and //
|
||||
@@ -36,9 +36,8 @@
|
||||
// //
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef G4RadioactiveDecayBase_h
|
||||
#define G4RadioactiveDecayBase_h 1
|
||||
|
||||
#ifndef G4RadioactiveDecay_h
|
||||
#define G4RadioactiveDecay_h 1
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
@@ -55,13 +54,13 @@
|
||||
#include "G4RadioactiveDecayMode.hh"
|
||||
|
||||
class G4Fragment;
|
||||
class G4RadioactiveDecayBaseMessenger;
|
||||
class G4RadioactiveDecayMessenger;
|
||||
class G4PhotonEvaporation;
|
||||
|
||||
typedef std::map<G4String, G4DecayTable*> DecayTableMap;
|
||||
|
||||
|
||||
class G4RadioactiveDecayBase : public G4VRestDiscreteProcess
|
||||
class G4RadioactiveDecay : public G4VRestDiscreteProcess
|
||||
{
|
||||
// class description
|
||||
|
||||
@@ -75,8 +74,8 @@ class G4RadioactiveDecayBase : public G4VRestDiscreteProcess
|
||||
|
||||
public: // with description
|
||||
|
||||
G4RadioactiveDecayBase(const G4String& processName="RadioactiveDecayBase");
|
||||
~G4RadioactiveDecayBase();
|
||||
G4RadioactiveDecay(const G4String& processName="RadioactiveDecay");
|
||||
~G4RadioactiveDecay();
|
||||
|
||||
virtual void ProcessDescription(std::ostream& outFile) const;
|
||||
|
||||
@@ -181,7 +180,7 @@ class G4RadioactiveDecayBase : public G4VRestDiscreteProcess
|
||||
// ParticleChange for decay process
|
||||
G4ParticleChangeForRadDecay fParticleChangeForRadDecay;
|
||||
|
||||
G4RadioactiveDecayBaseMessenger* theRadioactiveDecayBaseMessenger;
|
||||
G4RadioactiveDecayMessenger* theRadioactiveDecayMessenger;
|
||||
G4PhotonEvaporation* photonEvaporation;
|
||||
|
||||
std::vector<G4String> ValidVolumes;
|
||||
@@ -199,8 +198,8 @@ class G4RadioactiveDecayBase : public G4VRestDiscreteProcess
|
||||
|
||||
void StreamInfo(std::ostream& os, const G4String& endline);
|
||||
|
||||
G4RadioactiveDecayBase(const G4RadioactiveDecayBase &right);
|
||||
G4RadioactiveDecayBase& operator=(const G4RadioactiveDecayBase &right);
|
||||
G4RadioactiveDecay(const G4RadioactiveDecay& right);
|
||||
G4RadioactiveDecay& operator=(const G4RadioactiveDecay& right);
|
||||
|
||||
G4NucleusLimits theNucleusLimits;
|
||||
|
||||
+9
-9
@@ -23,12 +23,12 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
#ifndef G4RadioactiveDecayBaseMessenger_h
|
||||
#define G4RadioactiveDecayBaseMessenger_h 1
|
||||
#ifndef G4RadioactiveDecayMessenger_h
|
||||
#define G4RadioactiveDecayMessenger_h 1
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// File: G4RadioactiveDecayBaseMessenger.hh //
|
||||
// File: G4RadioactiveDecayMessenger.hh //
|
||||
// Author: D.H. Wright (SLAC) //
|
||||
// Date: 29 August 2017 //
|
||||
// Description: messenger class for the non-biased version of //
|
||||
@@ -49,21 +49,21 @@
|
||||
#include "G4UIcmdWithoutParameter.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
#include "G4RadioactiveDecayBase.hh"
|
||||
#include "G4RadioactiveDecay.hh"
|
||||
#include "G4UIcmdWithNucleusLimits.hh"
|
||||
|
||||
class G4RadioactiveDecayBase;
|
||||
class G4RadioactiveDecay;
|
||||
|
||||
class G4RadioactiveDecayBaseMessenger: public G4UImessenger
|
||||
class G4RadioactiveDecayMessenger: public G4UImessenger
|
||||
{
|
||||
public: //with description
|
||||
G4RadioactiveDecayBaseMessenger(G4RadioactiveDecayBase* theRadioactiveDecayContainer);
|
||||
~G4RadioactiveDecayBaseMessenger();
|
||||
G4RadioactiveDecayMessenger(G4RadioactiveDecay* theRadioactiveDecayContainer);
|
||||
~G4RadioactiveDecayMessenger();
|
||||
|
||||
void SetNewValue (G4UIcommand *command, G4String newValues);
|
||||
|
||||
private:
|
||||
G4RadioactiveDecayBase* theRadioactiveDecayContainer;
|
||||
G4RadioactiveDecay* theRadioactiveDecayContainer;
|
||||
|
||||
G4UIdirectory* rdmDirectory;
|
||||
G4UIcmdWithNucleusLimits* nucleuslimitsCmd;
|
||||
+8
-5
@@ -63,11 +63,14 @@
|
||||
#include "globals.hh"
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
enum G4RadioactiveDecayMode
|
||||
{RDM_ERROR=-1, IT=0, BetaMinus=1, BetaPlus=2, KshellEC=3, LshellEC=4,
|
||||
MshellEC=5, NshellEC=6, Alpha=7, Proton=8, Neutron=9, SpFission=10,
|
||||
BDProton=11, BDNeutron=12, Beta2Minus=13, Beta2Plus=14, Proton2=15,
|
||||
Neutron2=16, Triton=17};
|
||||
enum G4RadioactiveDecayMode {
|
||||
RDM_ERROR=-1, IT=0, BetaMinus=1, BetaPlus=2,
|
||||
KshellEC=3, LshellEC=4, MshellEC=5, NshellEC=6,
|
||||
Alpha=7, Proton=8, Neutron=9, SpFission=10,
|
||||
BDProton=11, BDNeutron=12, Beta2Minus=13, Beta2Plus=14,
|
||||
Proton2=15, Neutron2=16, Triton=17,
|
||||
G4RadioactiveDecayModeSize // Note: the value G4RadioactiveDecayModeSize must remain the last one!
|
||||
};
|
||||
|
||||
std::istream &operator >> (std::istream &s, G4RadioactiveDecayMode &q);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user