Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4XDeltaDeltaTable Class Reference

#include <G4XDeltaDeltaTable.hh>

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

Detailed Description

Definition at line 39 of file G4XDeltaDeltaTable.hh.

Constructor & Destructor Documentation

G4XDeltaDeltaTable::G4XDeltaDeltaTable ( )

Definition at line 82 of file G4XDeltaDeltaTable.cc.

82  : size(121)
83 { }
G4XDeltaDeltaTable::~G4XDeltaDeltaTable ( )

Definition at line 86 of file G4XDeltaDeltaTable.cc.

87 { }

Member Function Documentation

G4PhysicsVector * G4XDeltaDeltaTable::CrossSectionTable ( ) const
virtual

Implements G4VXResonanceTable.

Definition at line 90 of file G4XDeltaDeltaTable.cc.

91 {
92  G4PhysicsFreeVector*sigma = new G4PhysicsFreeVector(size);
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 }
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 G4XDeltaDeltaTable::operator!= ( const G4XDeltaDeltaTable right) const
G4bool G4XDeltaDeltaTable::operator== ( const G4XDeltaDeltaTable right) const

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