Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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 59 of file G4INCLClustering.hh.

Constructor & Destructor Documentation

◆ Clustering()

G4INCL::Clustering::Clustering ( )
inlineprotected

Definition at line 100 of file G4INCLClustering.hh.

100{}

◆ ~Clustering()

G4INCL::Clustering::~Clustering ( )
inlineprotected

Definition at line 101 of file G4INCLClustering.hh.

101{}

Member Function Documentation

◆ clusterCanEscape()

static G4bool G4INCL::Clustering::clusterCanEscape ( Nucleus const *const  n,
Cluster const *const  c 
)
inlinestatic

Determine whether cluster can escape or not.

Definition at line 79 of file G4INCLClustering.hh.

79 {
80 return theClusteringModel->clusterCanEscape(n, c);
81 }
virtual G4bool clusterCanEscape(Nucleus const *const, Cluster const *const)=0

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

◆ deleteClusteringModel()

static void G4INCL::Clustering::deleteClusteringModel ( )
inlinestatic

Delete clustering model

Definition at line 94 of file G4INCLClustering.hh.

94 {
95 delete theClusteringModel;
96 theClusteringModel = 0;
97 }

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

◆ getCluster()

static Cluster * G4INCL::Clustering::getCluster ( Nucleus n,
Particle p 
)
inlinestatic

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 66 of file G4INCLClustering.hh.

66 {
67#if !defined(NDEBUG) && !defined(INCLXX_IN_GEANT4_MODE)
68 Cluster * const c=theClusteringModel->getCluster(n,p);
69// assert(!c || c->getA()<=n->getA()/2);
70 return c;
71#else
72 return theClusteringModel->getCluster(n,p);
73#endif
74 }
virtual Cluster * getCluster(Nucleus *, Particle *)=0

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

◆ getClusteringModel()

static IClusteringModel * G4INCL::Clustering::getClusteringModel ( )
inlinestatic

Get the clustering model.

Definition at line 84 of file G4INCLClustering.hh.

84{ return theClusteringModel; }

◆ setClusteringModel()

static void G4INCL::Clustering::setClusteringModel ( IClusteringModel *const  model)
inlinestatic

Set the clustering model.

Definition at line 87 of file G4INCLClustering.hh.

87 {
88 theClusteringModel = model;
89 }

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


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