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

#include <G4VCoulombBarrier.hh>

+ Inheritance 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
 

Detailed Description

Definition at line 37 of file G4VCoulombBarrier.hh.

Constructor & Destructor Documentation

◆ G4VCoulombBarrier()

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}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout

Referenced by G4VCoulombBarrier().

◆ ~G4VCoulombBarrier()

G4VCoulombBarrier::~G4VCoulombBarrier ( )
virtual

Definition at line 49 of file G4VCoulombBarrier.cc.

50{}

Member Function Documentation

◆ GetA()

G4int G4VCoulombBarrier::GetA ( void  ) const
inline

◆ GetCoulombBarrier()

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

◆ GetZ()

G4int G4VCoulombBarrier::GetZ ( void  ) const
inline

Definition at line 48 of file G4VCoulombBarrier.hh.

48{return theZ;}

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