Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Protected Member Functions
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. More...
 
static void setClusteringModel (IClusteringModel *const model)
 Set the clustering model. More...
 
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 ( )
inlineprotected

Definition at line 98 of file G4INCLClustering.hh.

98 {}
G4INCL::Clustering::~Clustering ( )
inlineprotected

Definition at line 99 of file G4INCLClustering.hh.

99 {}

Member Function Documentation

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

Determine whether cluster can escape or not.

Definition at line 77 of file G4INCLClustering.hh.

References G4INCL::IClusteringModel::clusterCanEscape().

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

77  {
78  return theClusteringModel->clusterCanEscape(n, c);
79  }
virtual G4bool clusterCanEscape(Nucleus const *const, Cluster const *const)=0
const G4int n
static void G4INCL::Clustering::deleteClusteringModel ( )
inlinestatic

Delete clustering model

Definition at line 92 of file G4INCLClustering.hh.

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

92  {
93  delete theClusteringModel;
94  theClusteringModel = 0;
95  }
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 64 of file G4INCLClustering.hh.

References test::c, and G4INCL::IClusteringModel::getCluster().

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

64  {
65 #if !defined(NDEBUG) && !defined(INCLXX_IN_GEANT4_MODE)
66  Cluster * const c=theClusteringModel->getCluster(n,p);
67 // assert(!c || c->getA()<=n->getA()/2);
68  return c;
69 #else
70  return theClusteringModel->getCluster(n,p);
71 #endif
72  }
virtual Cluster * getCluster(Nucleus *, Particle *)=0
const char * p
Definition: xmltok.h:285
const G4int n
static IClusteringModel* G4INCL::Clustering::getClusteringModel ( )
inlinestatic

Get the clustering model.

Definition at line 82 of file G4INCLClustering.hh.

82 { return theClusteringModel; }
static void G4INCL::Clustering::setClusteringModel ( IClusteringModel *const  model)
inlinestatic

Set the clustering model.

Definition at line 85 of file G4INCLClustering.hh.

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

85  {
86  theClusteringModel = model;
87  }
const XML_Char XML_Content * model

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