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

#include <G4XNDeltaTable.hh>

+ Inheritance diagram for G4XNDeltaTable:

Public Member Functions

 G4XNDeltaTable ()
 
virtual ~G4XNDeltaTable ()
 
virtual G4PhysicsVectorCrossSectionTable () const
 
G4bool operator== (const G4XNDeltaTable &right) const
 
G4bool operator!= (const G4XNDeltaTable &right) const
 
- Public Member Functions inherited from G4VXResonanceTable
 G4VXResonanceTable ()
 
virtual ~G4VXResonanceTable ()
 

Detailed Description

Definition at line 42 of file G4XNDeltaTable.hh.

Constructor & Destructor Documentation

◆ G4XNDeltaTable()

G4XNDeltaTable::G4XNDeltaTable ( )

Definition at line 61 of file G4XNDeltaTable.cc.

61 : size(121)
62{ }

◆ ~G4XNDeltaTable()

G4XNDeltaTable::~G4XNDeltaTable ( )
virtual

Definition at line 65 of file G4XNDeltaTable.cc.

66{ }

Member Function Documentation

◆ CrossSectionTable()

G4PhysicsVector * G4XNDeltaTable::CrossSectionTable ( ) const
virtual

Implements G4VXResonanceTable.

Definition at line 69 of file G4XNDeltaTable.cc.

70{
72
73 G4int i;
74 for (i=0; i<size; i++)
75 {
76 G4double value = 0.5*sigmaND1232[i] * millibarn;
77 G4double energy = energyTable[i] * GeV;
78 sigma->PutValue(i,energy,value);
79 }
80 return sigma;
81}
double G4double
Definition G4Types.hh:83
int G4int
Definition G4Types.hh:85
void PutValue(const std::size_t index, const G4double e, const G4double value)
G4double energy(const ThreeVector &p, const G4double m)

◆ operator!=()

G4bool G4XNDeltaTable::operator!= ( const G4XNDeltaTable & right) const

◆ operator==()

G4bool G4XNDeltaTable::operator== ( const G4XNDeltaTable & right) const

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