#include <G4XDeltaDeltaTable.hh>
Inheritance diagram for G4XDeltaDeltaTable:
Public Member Functions | |
G4XDeltaDeltaTable () | |
~G4XDeltaDeltaTable () | |
virtual G4PhysicsVector * | CrossSectionTable () const |
G4bool | operator== (const G4XDeltaDeltaTable &right) const |
G4bool | operator!= (const G4XDeltaDeltaTable &right) const |
Definition at line 39 of file G4XDeltaDeltaTable.hh.
G4XDeltaDeltaTable::G4XDeltaDeltaTable | ( | ) |
G4XDeltaDeltaTable::~G4XDeltaDeltaTable | ( | ) |
G4PhysicsVector * G4XDeltaDeltaTable::CrossSectionTable | ( | ) | const [virtual] |
Implements G4VXResonanceTable.
Definition at line 90 of file G4XDeltaDeltaTable.cc.
References G4PhysicsFreeVector::PutValue().
00091 { 00092 G4PhysicsFreeVector*sigma = new G4PhysicsFreeVector(size); 00093 00094 G4int i; 00095 for (i=0; i<size; i++) 00096 { 00097 G4double value = 0.5*sigmaDD1232[i] * millibarn; 00098 G4double energy = energyTable[i] * GeV; 00099 sigma->PutValue(i,energy,value); 00100 } 00101 return sigma; 00102 }
G4bool G4XDeltaDeltaTable::operator!= | ( | const G4XDeltaDeltaTable & | right | ) | const |
G4bool G4XDeltaDeltaTable::operator== | ( | const G4XDeltaDeltaTable & | right | ) | const |