Geant4 9.6.0
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) const
 
- Public Member Functions inherited from G4INCL::IPauli
 IPauli ()
 
virtual ~IPauli ()
 
virtual G4bool isBlocked (ParticleList const, Nucleus const *const) const =0
 

Detailed Description

Definition at line 45 of file G4INCLPauliStrict.hh.

Constructor & Destructor Documentation

◆ PauliStrict()

G4INCL::PauliStrict::PauliStrict ( )

Definition at line 43 of file G4INCLPauliStrict.cc.

43{}

◆ ~PauliStrict()

G4INCL::PauliStrict::~PauliStrict ( )

Definition at line 44 of file G4INCLPauliStrict.cc.

44{}

Member Function Documentation

◆ isBlocked()

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

Implements G4INCL::IPauli.

Definition at line 46 of file G4INCLPauliStrict.cc.

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

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