#include <G4INCLPauliBlocking.hh>
Static Public Member Functions | |
static G4bool | isBlocked (ParticleList const p, Nucleus const *const n) |
Check Pauli blocking. | |
static G4bool | isCDPPBlocked (ParticleList const p, Nucleus const *const n) |
Check CDPP blocking. | |
static IPauli const * | getBlocker () |
static IPauli const * | getCDPP () |
static void | setBlocker (IPauli const *const) |
static void | setCDPP (IPauli const *const) |
static void | deleteBlockers () |
Protected Member Functions | |
Pauli () | |
~Pauli () |
Definition at line 50 of file G4INCLPauliBlocking.hh.
G4INCL::Pauli::Pauli | ( | ) | [inline, protected] |
G4INCL::Pauli::~Pauli | ( | ) | [inline, protected] |
static void G4INCL::Pauli::deleteBlockers | ( | ) | [inline, static] |
Delete blockers
Definition at line 95 of file G4INCLPauliBlocking.hh.
Referenced by G4INCL::INCL::~INCL().
00095 { 00096 delete thePauliBlocker; 00097 thePauliBlocker=NULL; 00098 delete theCDPP; 00099 theCDPP=NULL; 00100 }
static IPauli const* G4INCL::Pauli::getBlocker | ( | ) | [inline, static] |
static IPauli const* G4INCL::Pauli::getCDPP | ( | ) | [inline, static] |
G4bool G4INCL::Pauli::isBlocked | ( | ParticleList const | p, | |
Nucleus const *const | n | |||
) | [static] |
Check Pauli blocking.
Note: This is a "pure" function: it doesn't retain or modify any state at all and thus only depends on its arguments.
p | list of modified and created particles | |
n | the nucleus |
Definition at line 54 of file G4INCLPauliBlocking.cc.
References G4INCL::IPauli::isBlocked().
Referenced by G4INCL::InteractionAvatar::postInteraction().
00054 { 00055 G4bool isPauliBlocked = false; 00056 if(thePauliBlocker != 0) { 00057 isPauliBlocked = thePauliBlocker->isBlocked(modifiedAndCreated, nucleus); 00058 } 00059 00060 return isPauliBlocked; 00061 }
G4bool G4INCL::Pauli::isCDPPBlocked | ( | ParticleList const | p, | |
Nucleus const *const | n | |||
) | [static] |
Check CDPP blocking.
Note: This is a "pure" function: it doesn't retain or modify any state at all and thus only depends on its arguments.
p | list of created particles | |
n | the nucleus |
Definition at line 63 of file G4INCLPauliBlocking.cc.
References G4INCL::IPauli::isBlocked().
Referenced by G4INCL::InteractionAvatar::postInteraction(), and G4INCL::DecayAvatar::postInteraction().
00063 { 00064 G4bool isCDPPBlocked = false; 00065 if(theCDPP != 0) { 00066 isCDPPBlocked = theCDPP->isBlocked(created, nucleus); 00067 } 00068 00069 return isCDPPBlocked; 00070 }
void G4INCL::Pauli::setBlocker | ( | IPauli const * | const | ) | [static] |
Set the Pauli blocker algorithm.
Definition at line 46 of file G4INCLPauliBlocking.cc.
Referenced by G4INCL::INCL::INCL().
void G4INCL::Pauli::setCDPP | ( | IPauli const * | const | ) | [static] |
Set the CDPP blocker algorithm.
Definition at line 50 of file G4INCLPauliBlocking.cc.
Referenced by G4INCL::INCL::INCL().