Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::Pauli Class Reference

#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 constgetBlocker ()
 
static IPauli constgetCDPP ()
 
static void setBlocker (IPauli const *const)
 
static void setCDPP (IPauli const *const)
 
static void deleteBlockers ()
 

Protected Member Functions

 Pauli ()
 
 ~Pauli ()
 

Detailed Description

Pauli blocking

Definition at line 52 of file G4INCLPauliBlocking.hh.

Constructor & Destructor Documentation

◆ Pauli()

G4INCL::Pauli::Pauli ( )
inlineprotected

Definition at line 105 of file G4INCLPauliBlocking.hh.

105{}

◆ ~Pauli()

G4INCL::Pauli::~Pauli ( )
inlineprotected

Definition at line 106 of file G4INCLPauliBlocking.hh.

106{}

Member Function Documentation

◆ deleteBlockers()

static void G4INCL::Pauli::deleteBlockers ( )
inlinestatic

Delete blockers

Definition at line 97 of file G4INCLPauliBlocking.hh.

97 {
98 delete thePauliBlocker;
99 thePauliBlocker=NULL;
100 delete theCDPP;
101 theCDPP=NULL;
102 }

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

◆ getBlocker()

static IPauli const * G4INCL::Pauli::getBlocker ( )
inlinestatic

Get the Pauli blocker algorithm.

Definition at line 77 of file G4INCLPauliBlocking.hh.

77{ return thePauliBlocker; }

◆ getCDPP()

static IPauli const * G4INCL::Pauli::getCDPP ( )
inlinestatic

Get the CDPP blocker algorithm.

Definition at line 82 of file G4INCLPauliBlocking.hh.

82{ return theCDPP; }

◆ isBlocked()

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.

Parameters
plist of modified and created particles
nthe nucleus

Definition at line 56 of file G4INCLPauliBlocking.cc.

56 {
57 G4bool isPauliBlocked = false;
58 if(thePauliBlocker != 0) {
59 isPauliBlocked = thePauliBlocker->isBlocked(modifiedAndCreated, nucleus);
60 }
61
62 return isPauliBlocked;
63 }
bool G4bool
Definition: G4Types.hh:67
virtual G4bool isBlocked(ParticleList const, Nucleus const *const) const =0

Referenced by G4INCL::InteractionAvatar::postInteraction().

◆ isCDPPBlocked()

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.

Parameters
plist of created particles
nthe nucleus

Definition at line 65 of file G4INCLPauliBlocking.cc.

65 {
66 G4bool isCDPPBlocked = false;
67 if(theCDPP != 0) {
68 isCDPPBlocked = theCDPP->isBlocked(created, nucleus);
69 }
70
71 return isCDPPBlocked;
72 }
static G4bool isCDPPBlocked(ParticleList const p, Nucleus const *const n)
Check CDPP blocking.

Referenced by isCDPPBlocked(), G4INCL::DecayAvatar::postInteraction(), and G4INCL::InteractionAvatar::postInteraction().

◆ setBlocker()

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

Set the Pauli blocker algorithm.

Definition at line 48 of file G4INCLPauliBlocking.cc.

48 {
49 thePauliBlocker = pauliBlocker;
50 }

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

◆ setCDPP()

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

Set the CDPP blocker algorithm.

Definition at line 52 of file G4INCLPauliBlocking.cc.

52 {
53 theCDPP = cdpp;
54 }

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


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