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

#include <G4INCLClusterDecay.hh>

Static Public Member Functions

static G4bool isStable (Cluster const *const c)
 True if the cluster is stable.
 
static ParticleList decay (Cluster *const c)
 Carries out a cluster decay.
 

Protected Member Functions

 ClusterDecay ()
 
 ~ClusterDecay ()
 

Detailed Description

Pauli blocking

Definition at line 58 of file G4INCLClusterDecay.hh.

Constructor & Destructor Documentation

◆ ClusterDecay()

G4INCL::ClusterDecay::ClusterDecay ( )
inlineprotected

Definition at line 75 of file G4INCLClusterDecay.hh.

75{}

◆ ~ClusterDecay()

G4INCL::ClusterDecay::~ClusterDecay ( )
inlineprotected

Definition at line 76 of file G4INCLClusterDecay.hh.

76{}

Member Function Documentation

◆ decay()

ParticleList G4INCL::ClusterDecay::decay ( Cluster *const  c)
static

Carries out a cluster decay.

Parameters
ccluster that should decay
Returns
list of decay products

Definition at line 55 of file G4INCLClusterDecay.cc.

55 {
56 ParticleList decayProducts;
57 recursiveDecay(c, &decayProducts);
58
59 // Correctly update the particle type
60 if(c->getA()==1) {
61// assert(c->getZ()==1 || c->getZ()==0);
62 if(c->getZ()==1)
63 c->setType(Proton);
64 else
65 c->setType(Neutron);
66 c->setTableMass();
67 }
68
69 return decayProducts;
70 }
std::list< G4INCL::Particle * > ParticleList

Referenced by G4INCL::Nucleus::decayMe(), and G4INCL::Nucleus::decayOutgoingClusters().

◆ isStable()

static G4bool G4INCL::ClusterDecay::isStable ( Cluster const *const  c)
inlinestatic

True if the cluster is stable.

Definition at line 61 of file G4INCLClusterDecay.hh.

61 {
62 const G4int Z = c->getZ();
63 const G4int A = c->getA();
65 }
int G4int
Definition: G4Types.hh:66
static const ClusterDecayType clusterDecayMode[clusterTableZSize][clusterTableASize]

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