Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4INCL::PauliStrict Class Reference

#include <G4INCLPauliStrict.hh>

Inheritance diagram for G4INCL::PauliStrict:
Collaboration 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

G4INCL::PauliStrict::PauliStrict ( )

Definition at line 42 of file G4INCLPauliStrict.cc.

42 {}
G4INCL::PauliStrict::~PauliStrict ( )

Definition at line 43 of file G4INCLPauliStrict.cc.

43 {}

Member Function Documentation

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  }
const char * p
Definition: xmltok.h:285
const G4int n
double G4double
Definition: G4Types.hh:76
ParticleList::const_iterator ParticleIter

Here is the call graph for this function:


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