#include <CCalDataSet.hh>
Definition at line 34 of file CCalDataSet.hh.
double CCalDataSet::getCrossSection |
( |
double |
anEnergy | ) |
|
|
inline |
Definition at line 44 of file CCalDataSet.hh.
47 if(anEnergy < theData[0].
first)
55 if(anEnergy > theData[theData.size()-1].second)
59 x1 = theData[n-1].first;
60 y1 = theData[n-1].second;
61 x2 = theData[n-2].first;
62 y2 = theData[n-2].second;
68 for(i=0; i<theData.size(); i++)
70 if(theData[i].first>anEnergy)
break;
72 x1 = theData[i-1].first;
73 y1 = theData[i-1].second;
74 x2 = theData[i].first;
75 y2 = theData[i].second;
G4double G4ParticleHPJENDLHEData::G4double result
G4double Interpolate(G4InterpolationScheme aScheme, G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
static constexpr double barn
void CCalDataSet::insert |
( |
double |
anEnergy, |
|
|
double |
aXsection |
|
) |
| |
|
inline |
Definition at line 38 of file CCalDataSet.hh.
40 pair<double, double> aPoint(anEnergy, aXsection);
41 theData.push_back(aPoint);
The documentation for this class was generated from the following file:
- source/geant4.10.03.p03/examples/advanced/composite_calorimeter/include/CCalDataSet.hh