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

#include <G4INCLPauliStrict.hh>

+ Inheritance diagram for G4INCL::PauliStrict:

Public Member Functions

 PauliStrict ()
 
 ~PauliStrict ()
 
G4bool isBlocked (ParticleList const &, Nucleus const *const)
 
- Public Member Functions inherited from G4INCL::IPauli
 IPauli ()
 
virtual ~IPauli ()
 

Detailed Description

Definition at line 44 of file G4INCLPauliStrict.hh.

Constructor & Destructor Documentation

◆ PauliStrict()

G4INCL::PauliStrict::PauliStrict ( )

Definition at line 42 of file G4INCLPauliStrict.cc.

42{}

◆ ~PauliStrict()

G4INCL::PauliStrict::~PauliStrict ( )

Definition at line 43 of file G4INCLPauliStrict.cc.

43{}

Member Function Documentation

◆ isBlocked()

G4bool G4INCL::PauliStrict::isBlocked ( ParticleList const & pL,
Nucleus const * const n )
virtual

Implements G4INCL::IPauli.

Definition at line 45 of file G4INCLPauliStrict.cc.

45 {
46 for(ParticleIter p=pL.begin(), e=pL.end(); p!=e; ++p) {
47 if(!(*p)->isNucleon()) continue;
48 const G4double pmod2 = (*p)->getMomentum().mag2();
49 const G4double pFermi = n->getPotential()->getFermiMomentum(*p);
50 if(pmod2<pFermi*pFermi) return true;
51 }
52 return false;
53
54 }
double G4double
Definition G4Types.hh:83
ParticleList::const_iterator ParticleIter

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