Geant4  10.02.p03
G4INCL::Pauli Namespace Reference

Functions

IPauligetBlocker ()
 
IPauligetCDPP ()
 
void setBlocker (IPauli *const pauliBlocker)
 
void setCDPP (IPauli *const cdpp)
 
G4bool isBlocked (ParticleList const &modifiedAndCreated, Nucleus const *const nucleus)
 
G4bool isCDPPBlocked (ParticleList const &created, Nucleus const *const nucleus)
 
void deleteBlockers ()
 
void initialize (Config const *const aConfig)
 Initialize the Coulomb-distortion algorithm. More...
 

Function Documentation

◆ deleteBlockers()

void G4INCL::Pauli::deleteBlockers ( )

Definition at line 87 of file G4INCLPauliBlocking.cc.

87  {
88  delete thePauliBlocker;
89  thePauliBlocker=NULL;
90  delete theCDPP;
91  theCDPP=NULL;
92  }
Here is the caller graph for this function:

◆ getBlocker()

IPauli* G4INCL::Pauli::getBlocker ( )

Definition at line 57 of file G4INCLPauliBlocking.cc.

57 { return thePauliBlocker; }

◆ getCDPP()

IPauli* G4INCL::Pauli::getCDPP ( )

Definition at line 59 of file G4INCLPauliBlocking.cc.

59 { return theCDPP; }

◆ initialize()

void G4INCL::Pauli::initialize ( Config const *const  aConfig)

Initialize the Coulomb-distortion algorithm.

Initialize the Coulomb-distortion algorithm.

Definition at line 94 of file G4INCLPauliBlocking.cc.

94  {
95  // Select the Pauli blocking algorithm:
96  PauliType pauli = aConfig->getPauliType();
97  if(pauli == StrictStatisticalPauli)
98  setBlocker(new PauliStrictStandard);
99  else if(pauli == StatisticalPauli)
100  setBlocker(new PauliStandard);
101  else if(pauli == StrictPauli)
102  setBlocker(new PauliStrict);
103  else if(pauli == GlobalPauli)
104  setBlocker(new PauliGlobal);
105  else if(pauli == NoPauli)
106  setBlocker(NULL);
107 
108  if(aConfig->getCDPP())
109  setCDPP(new CDPP);
110  else
111  setCDPP(NULL);
112 
113  }
void setBlocker(IPauli *const pauliBlocker)
void setCDPP(IPauli *const cdpp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isBlocked()

G4bool G4INCL::Pauli::isBlocked ( ParticleList const &  modifiedAndCreated,
Nucleus const *const  nucleus 
)

Definition at line 69 of file G4INCLPauliBlocking.cc.

69  {
70  G4bool isPauliBlocked = false;
71  if(thePauliBlocker != 0) {
72  isPauliBlocked = thePauliBlocker->isBlocked(modifiedAndCreated, nucleus);
73  }
74 
75  return isPauliBlocked;
76  }
bool G4bool
Definition: G4Types.hh:79

◆ isCDPPBlocked()

G4bool G4INCL::Pauli::isCDPPBlocked ( ParticleList const &  created,
Nucleus const *const  nucleus 
)

Definition at line 78 of file G4INCLPauliBlocking.cc.

78  {
79  G4bool isCDPPBlocked = false;
80  if(theCDPP != 0) {
81  isCDPPBlocked = theCDPP->isBlocked(created, nucleus);
82  }
83 
84  return isCDPPBlocked;
85  }
bool G4bool
Definition: G4Types.hh:79
G4bool isCDPPBlocked(ParticleList const &created, Nucleus const *const nucleus)
Here is the caller graph for this function:

◆ setBlocker()

void G4INCL::Pauli::setBlocker ( IPauli *const  pauliBlocker)

Definition at line 61 of file G4INCLPauliBlocking.cc.

61  {
62  thePauliBlocker = pauliBlocker;
63  }
Here is the caller graph for this function:

◆ setCDPP()

void G4INCL::Pauli::setCDPP ( IPauli *const  cdpp)

Definition at line 65 of file G4INCLPauliBlocking.cc.

65  {
66  theCDPP = cdpp;
67  }
Here is the caller graph for this function: