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 56 of file G4INCLClusterDecay.hh.


Constructor & Destructor Documentation

G4INCL::ClusterDecay::ClusterDecay (  )  [inline, protected]

Definition at line 73 of file G4INCLClusterDecay.hh.

00073 {}

G4INCL::ClusterDecay::~ClusterDecay (  )  [inline, protected]

Definition at line 74 of file G4INCLClusterDecay.hh.

00074 {}


Member Function Documentation

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

Carries out a cluster decay.

Parameters:
c cluster that should decay
Returns:
list of decay products

Definition at line 53 of file G4INCLClusterDecay.cc.

References G4INCL::Particle::getA(), G4INCL::Particle::getZ(), G4INCL::Neutron, G4INCL::Proton, G4INCL::Particle::setTableMass(), and G4INCL::Particle::setType().

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

00053                                                     {
00054     ParticleList decayProducts;
00055     recursiveDecay(c, &decayProducts);
00056 
00057     // Correctly update the particle type
00058     if(c->getA()==1) {
00059 // assert(c->getZ()==1 || c->getZ()==0);
00060       if(c->getZ()==1)
00061         c->setType(Proton);
00062       else
00063         c->setType(Neutron);
00064       c->setTableMass();
00065     }
00066 
00067     return decayProducts;
00068   }

static G4bool G4INCL::ClusterDecay::isStable ( Cluster const *const   c  )  [inline, static]

True if the cluster is stable.

Definition at line 59 of file G4INCLClusterDecay.hh.

References G4INCL::ParticleTable::clusterDecayMode, G4INCL::Particle::getA(), G4INCL::Particle::getZ(), and G4INCL::ParticleTable::StableCluster.

00059                                                     {
00060       const G4int Z = c->getZ();
00061       const G4int A = c->getA();
00062       return (ParticleTable::clusterDecayMode[Z][A]==ParticleTable::StableCluster);
00063     }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:54:06 2013 for Geant4 by  doxygen 1.4.7