G4CameronShellPlusPairingCorrections Class Reference

#include <G4CameronShellPlusPairingCorrections.hh>


Public Types

 TableSize = 200
enum  { TableSize = 200 }

Public Member Functions

 ~G4CameronShellPlusPairingCorrections ()
G4double GetShellPlusPairingZ (const G4int Z) const
G4double GetShellPlusPairingN (const G4int N) const

Static Public Member Functions

static G4CameronShellPlusPairingCorrectionsGetInstance ()


Detailed Description

Definition at line 41 of file G4CameronShellPlusPairingCorrections.hh.


Member Enumeration Documentation

anonymous enum

Enumerator:
TableSize 

Definition at line 79 of file G4CameronShellPlusPairingCorrections.hh.

00079 { TableSize = 200 };


Constructor & Destructor Documentation

G4CameronShellPlusPairingCorrections::~G4CameronShellPlusPairingCorrections (  ) 

Definition at line 93 of file G4CameronShellPlusPairingCorrections.cc.

00094 {;}


Member Function Documentation

G4CameronShellPlusPairingCorrections * G4CameronShellPlusPairingCorrections::GetInstance (  )  [static]

Definition at line 96 of file G4CameronShellPlusPairingCorrections.cc.

00097 {
00098   if (!theInstance)  { 
00099     static G4CameronShellPlusPairingCorrections theCorrections;
00100     theInstance = &theCorrections; 
00101   }
00102   return theInstance;
00103 }

G4double G4CameronShellPlusPairingCorrections::GetShellPlusPairingN ( const G4int  N  )  const [inline]

Definition at line 67 of file G4CameronShellPlusPairingCorrections.hh.

References G4cerr, and G4endl.

00068   {
00069     if (N <= TableSize && N > 0) return SPNTable[N-1]*CLHEP::MeV;
00070     else {
00071 #ifdef verbose
00072       G4cerr << "G4CameronShellPlusPairingCorrections: out of table for N = " << N << G4endl;
00073 #endif
00074       return 0.0;
00075     }
00076   }

G4double G4CameronShellPlusPairingCorrections::GetShellPlusPairingZ ( const G4int  Z  )  const [inline]

Definition at line 56 of file G4CameronShellPlusPairingCorrections.hh.

References G4cerr, and G4endl.

00057   {
00058     if (Z <= TableSize && Z > 1) return SPZTable[Z-1]*CLHEP::MeV;
00059     else {
00060 #ifdef verbose
00061       G4cerr << "G4CameronShellPlusPairingCorrections: out of table for Z = " << Z << G4endl;
00062 #endif
00063       return 0.0;
00064     }
00065   }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:35 2013 for Geant4 by  doxygen 1.4.7