Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4XNDeltaTable Class Reference

#include <G4XNDeltaTable.hh>

Inheritance diagram for G4XNDeltaTable:
Collaboration 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 ( )

Definition at line 61 of file G4XNDeltaTable.cc.

61  : size(121)
62 { }
G4XNDeltaTable::~G4XNDeltaTable ( )
virtual

Definition at line 65 of file G4XNDeltaTable.cc.

66 { }

Member Function Documentation

G4PhysicsVector * G4XNDeltaTable::CrossSectionTable ( ) const
virtual

Implements G4VXResonanceTable.

Definition at line 69 of file G4XNDeltaTable.cc.

70 {
71  G4PhysicsFreeVector* sigma = new G4PhysicsFreeVector(size);
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 }
void PutValue(size_t index, G4double energy, G4double dataValue)
int G4int
Definition: G4Types.hh:78
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4double energy(const ThreeVector &p, const G4double m)
static constexpr double GeV
Definition: G4SIunits.hh:217
double G4double
Definition: G4Types.hh:76
static constexpr double millibarn
Definition: G4SIunits.hh:106

Here is the call graph for this function:

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

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