G4INCL::Clustering Class Reference

#include <G4INCLClustering.hh>


Static Public Member Functions

static ClustergetCluster (Nucleus *n, Particle *p)
static G4bool clusterCanEscape (Nucleus const *const n, Cluster const *const c)
static IClusteringModelgetClusteringModel ()
 Get the clustering model.
static void setClusteringModel (IClusteringModel *const model)
 Set the clustering model.
static void deleteClusteringModel ()

Protected Member Functions

 Clustering ()
 ~Clustering ()


Detailed Description

Cluster formation

Definition at line 57 of file G4INCLClustering.hh.


Constructor & Destructor Documentation

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

Definition at line 98 of file G4INCLClustering.hh.

00098 {}

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

Definition at line 99 of file G4INCLClustering.hh.

00099 {}


Member Function Documentation

static G4bool G4INCL::Clustering::clusterCanEscape ( Nucleus const *const   n,
Cluster const *const   c 
) [inline, static]

Determine whether cluster can escape or not.

Definition at line 77 of file G4INCLClustering.hh.

References G4INCL::IClusteringModel::clusterCanEscape(), and CLHEP::detail::n.

Referenced by G4INCL::SurfaceAvatar::getChannel().

00077                                                                                      {
00078       return theClusteringModel->clusterCanEscape(n, c);
00079     }

static void G4INCL::Clustering::deleteClusteringModel (  )  [inline, static]

Delete clustering model

Definition at line 92 of file G4INCLClustering.hh.

Referenced by G4INCL::INCL::~INCL().

00092                                         {
00093       delete theClusteringModel;
00094       theClusteringModel = 0;
00095     }

static Cluster* G4INCL::Clustering::getCluster ( Nucleus n,
Particle p 
) [inline, static]

Choose a cluster candidate to be produced. At this point we don't yet decide if it can pass through the Coulomb barrier or not.

Definition at line 64 of file G4INCLClustering.hh.

References G4INCL::IClusteringModel::getCluster(), and CLHEP::detail::n.

Referenced by G4INCL::SurfaceAvatar::getChannel().

00064                                                         {
00065 #if !defined(NDEBUG) && !defined(INCLXX_IN_GEANT4_MODE)
00066       Cluster * const c=theClusteringModel->getCluster(n,p);
00067 // assert(!c || c->getA()<=n->getA()/2);
00068       return c;
00069 #else
00070       return theClusteringModel->getCluster(n,p);
00071 #endif
00072     }

static IClusteringModel* G4INCL::Clustering::getClusteringModel (  )  [inline, static]

Get the clustering model.

Definition at line 82 of file G4INCLClustering.hh.

00082 { return theClusteringModel; }

static void G4INCL::Clustering::setClusteringModel ( IClusteringModel *const   model  )  [inline, static]

Set the clustering model.

Definition at line 85 of file G4INCLClustering.hh.

Referenced by G4INCL::INCL::INCL().

00085                                                                    {
00086       theClusteringModel = model;
00087     }


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