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

#include <G4CameronShellPlusPairingCorrections.hh>

Public Types

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

anonymous enum

Constructor & Destructor Documentation

◆ ~G4CameronShellPlusPairingCorrections()

G4CameronShellPlusPairingCorrections::~G4CameronShellPlusPairingCorrections ( )

Definition at line 93 of file G4CameronShellPlusPairingCorrections.cc.

94{;}

Member Function Documentation

◆ GetInstance()

G4CameronShellPlusPairingCorrections * G4CameronShellPlusPairingCorrections::GetInstance ( )
static

Definition at line 96 of file G4CameronShellPlusPairingCorrections.cc.

97{
98 if (!theInstance) {
99 static G4CameronShellPlusPairingCorrections theCorrections;
100 theInstance = &theCorrections;
101 }
102 return theInstance;
103}

◆ GetShellPlusPairingN()

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

Definition at line 67 of file G4CameronShellPlusPairingCorrections.hh.

68 {
69 if (N <= TableSize && N > 0) return SPNTable[N-1]*CLHEP::MeV;
70 else {
71#ifdef verbose
72 G4cerr << "G4CameronShellPlusPairingCorrections: out of table for N = " << N << G4endl;
73#endif
74 return 0.0;
75 }
76 }
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cerr

◆ GetShellPlusPairingZ()

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

Definition at line 56 of file G4CameronShellPlusPairingCorrections.hh.

57 {
58 if (Z <= TableSize && Z > 1) return SPZTable[Z-1]*CLHEP::MeV;
59 else {
60#ifdef verbose
61 G4cerr << "G4CameronShellPlusPairingCorrections: out of table for Z = " << Z << G4endl;
62#endif
63 return 0.0;
64 }
65 }

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