Geant4  10.02.p03
G4VCoulombBarrier Class Referenceabstract

#include <G4VCoulombBarrier.hh>

Inheritance diagram for G4VCoulombBarrier:
Collaboration diagram for G4VCoulombBarrier:

Public Member Functions

 G4VCoulombBarrier (G4int anA, G4int aZ)
 
virtual ~G4VCoulombBarrier ()
 
virtual G4double GetCoulombBarrier (G4int ARes, G4int ZRes, G4double U) const =0
 
G4int GetA (void) const
 
G4int GetZ (void) const
 

Private Member Functions

 G4VCoulombBarrier ()
 
 G4VCoulombBarrier (const G4VCoulombBarrier &right)
 
const G4VCoulombBarrieroperator= (const G4VCoulombBarrier &right)
 
G4bool operator== (const G4VCoulombBarrier &right) const
 
G4bool operator!= (const G4VCoulombBarrier &right) const
 

Private Attributes

G4int theA
 
G4int theZ
 

Detailed Description

Definition at line 37 of file G4VCoulombBarrier.hh.

Constructor & Destructor Documentation

◆ G4VCoulombBarrier() [1/3]

G4VCoulombBarrier::G4VCoulombBarrier ( G4int  anA,
G4int  aZ 
)

Definition at line 34 of file G4VCoulombBarrier.cc.

35 {
36  if (anA >= aZ && anA > 0) {
37  theA = anA;
38  theZ = aZ;
39  } else {
40  std::ostringstream errOs;
41  G4cout << "G4VCoulombBarrier::G4VCoulombBarrier: "
42  << "Wrong values for "
43  << "A= " << anA << " "
44  << "and Z= " << aZ << G4endl;
45  throw G4HadronicException(__FILE__, __LINE__,"FATAL Exception");
46  }
47 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

◆ ~G4VCoulombBarrier()

G4VCoulombBarrier::~G4VCoulombBarrier ( )
virtual

Definition at line 49 of file G4VCoulombBarrier.cc.

50 {}

◆ G4VCoulombBarrier() [2/3]

G4VCoulombBarrier::G4VCoulombBarrier ( )
private
Here is the caller graph for this function:

◆ G4VCoulombBarrier() [3/3]

G4VCoulombBarrier::G4VCoulombBarrier ( const G4VCoulombBarrier right)
private

Member Function Documentation

◆ GetA()

G4int G4VCoulombBarrier::GetA ( void  ) const
inline

Definition at line 47 of file G4VCoulombBarrier.hh.

47 {return theA;}
Here is the caller graph for this function:

◆ GetCoulombBarrier()

virtual G4double G4VCoulombBarrier::GetCoulombBarrier ( G4int  ARes,
G4int  ZRes,
G4double  U 
) const
pure virtual

Implemented in G4CoulombBarrier, G4GEMCoulombBarrierHE, and G4GEMCoulombBarrier.

Here is the caller graph for this function:

◆ GetZ()

G4int G4VCoulombBarrier::GetZ ( void  ) const
inline

Definition at line 48 of file G4VCoulombBarrier.hh.

48 {return theZ;}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

G4bool G4VCoulombBarrier::operator!= ( const G4VCoulombBarrier right) const
private
Here is the caller graph for this function:

◆ operator=()

const G4VCoulombBarrier& G4VCoulombBarrier::operator= ( const G4VCoulombBarrier right)
private
Here is the caller graph for this function:

◆ operator==()

G4bool G4VCoulombBarrier::operator== ( const G4VCoulombBarrier right) const
private
Here is the caller graph for this function:

Member Data Documentation

◆ theA

G4int G4VCoulombBarrier::theA
private

Definition at line 58 of file G4VCoulombBarrier.hh.

◆ theZ

G4int G4VCoulombBarrier::theZ
private

Definition at line 59 of file G4VCoulombBarrier.hh.


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