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

#include <G4XDeltaDeltaTable.hh>

+ Inheritance diagram for G4XDeltaDeltaTable:

Public Member Functions

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

Detailed Description

Definition at line 39 of file G4XDeltaDeltaTable.hh.

Constructor & Destructor Documentation

◆ G4XDeltaDeltaTable()

G4XDeltaDeltaTable::G4XDeltaDeltaTable ( )

Definition at line 82 of file G4XDeltaDeltaTable.cc.

82 : size(121)
83{ }

◆ ~G4XDeltaDeltaTable()

G4XDeltaDeltaTable::~G4XDeltaDeltaTable ( )

Definition at line 86 of file G4XDeltaDeltaTable.cc.

87{ }

Member Function Documentation

◆ CrossSectionTable()

G4PhysicsVector * G4XDeltaDeltaTable::CrossSectionTable ( ) const
virtual

Implements G4VXResonanceTable.

Definition at line 90 of file G4XDeltaDeltaTable.cc.

91{
93
94 G4int i;
95 for (i=0; i<size; i++)
96 {
97 G4double value = 0.5*sigmaDD1232[i] * millibarn;
98 G4double energy = energyTable[i] * GeV;
99 sigma->PutValue(i,energy,value);
100 }
101 return sigma;
102}
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
void PutValue(std::size_t index, G4double energy, G4double dValue)
G4double energy(const ThreeVector &p, const G4double m)

◆ operator!=()

G4bool G4XDeltaDeltaTable::operator!= ( const G4XDeltaDeltaTable right) const

◆ operator==()

G4bool G4XDeltaDeltaTable::operator== ( const G4XDeltaDeltaTable right) const

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