Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4INCL::ClusterDecay Namespace Reference

Namespace for functions that handle decay of unstable clusters. More...

Enumerations

enum  ClusterDecayType {
  StableCluster, NeutronDecay, ProtonDecay, AlphaDecay,
  TwoProtonDecay, TwoNeutronDecay, ProtonUnbound, NeutronUnbound
}
 

Functions

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

Variables

G4ThreadLocal ClusterDecayType clusterDecayMode [ParticleTable::clusterTableZSize][ParticleTable::clusterTableASize]
 Table for cluster decays. More...
 

Detailed Description

Namespace for functions that handle decay of unstable clusters.

Enumeration Type Documentation

Function Documentation

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

Carries out a cluster decay.

Parameters
ccluster that should decay
Returns
list of decay products

Definition at line 553 of file G4INCLClusterDecay.cc.

553  {
554  ParticleList decayProducts;
555  recursiveDecay(c, &decayProducts);
556 
557  // Correctly update the particle type
558  if(c->getA()==1) {
559 // assert(c->getZ()==1 || c->getZ()==0);
560  if(c->getZ()==1)
561  c->setType(Proton);
562  else
563  c->setType(Neutron);
564  c->setRealMass();
565  }
566 
567  return decayProducts;
568  }
tuple c
Definition: test.py:13

Here is the call graph for this function:

Here is the caller graph for this function:

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

True if the cluster is stable.

Definition at line 523 of file G4INCLClusterDecay.cc.

523  {
524  const G4int Z = c->getZ();
525  const G4int A = c->getA();
526  return (clusterDecayMode[Z][A]==StableCluster);
527  }
G4ThreadLocal ClusterDecayType clusterDecayMode[ParticleTable::clusterTableZSize][ParticleTable::clusterTableASize]
Table for cluster decays.
int G4int
Definition: G4Types.hh:78
double A(double temperature)
tuple c
Definition: test.py:13

Here is the call graph for this function:

Variable Documentation

G4ThreadLocal ClusterDecayType G4INCL::ClusterDecay::clusterDecayMode
Initial value:
=
{
}

Table for cluster decays.

Definition of "Stable": halflife > 1 ms

These table includes decay data for clusters that INCL presently does not produce. It can't hurt.

Unphysical nuclides (A<Z) are marked as stable, but should never be produced by INCL. If you find them in the output, something is fishy.

Definition at line 539 of file G4INCLClusterDecay.cc.