#include <G4PiData.hh>
Definition at line 35 of file G4PiData.hh.
Definition at line 36 of file G4PiData.cc.
41 for( i = 0; i < nP; i++ )
43 std::pair<G4double, G4double>
x;
46 std::pair<G4double, std::pair<G4double, G4double > > aP;
static constexpr double GeV
static constexpr double millibarn
Definition at line 55 of file G4PiData.cc.
58 if(kineticEnergy>back().
first) result =
false;
G4double G4ParticleHPJENDLHEData::G4double result
Definition at line 86 of file G4PiData.cc.
89 G4PiData::iterator it=begin();
90 while(it!=end()&&kineticEnergy>(*it).first) {it++;}
94 "G4PiData::ElasticXSection: used outside validity range");
99 x1=(*(it-1)).second.first - (*(it-1)).second.second;
101 x2=(*(it)).second.first - (*(it)).second.second;
102 result =
std::max(0., x1 + (kineticEnergy-e1)*(x2-x1)/(e2-e1));
G4double G4ParticleHPJENDLHEData::G4double result
T max(const T t1, const T t2)
brief Return the largest of the two arguments
Definition at line 64 of file G4PiData.cc.
67 G4PiData::iterator it=begin();
68 while(it!=end()&&kineticEnergy>(*it).first) {it++;}
72 "G4PiData::ReactionXSection: used outside validity range");
77 x1=(*(it-1)).second.second;
79 x2=(*(it)).second.second;
80 result =
std::max(0., x1 + (kineticEnergy-e1)*(x2-x1)/(e2-e1));
G4double G4ParticleHPJENDLHEData::G4double result
T max(const T t1, const T t2)
brief Return the largest of the two arguments
Definition at line 108 of file G4PiData.cc.
111 G4PiData::iterator it=begin();
112 while(it!=end()&&kineticEnergy>(*it).first) {it++;}
116 "G4PiData::TotalXSection: used outside validity range");
118 if(it==begin()) it++;
121 x1=(*(it-1)).second.first;
123 x2=(*(it)).second.first;
124 result =
std::max(0., x1 + (kineticEnergy-e1)*(x2-x1)/(e2-e1));
G4double G4ParticleHPJENDLHEData::G4double result
T max(const T t1, const T t2)
brief Return the largest of the two arguments
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/source/processes/hadronic/cross_sections/include/G4PiData.hh
- source/geant4.10.03.p03/source/processes/hadronic/cross_sections/src/G4PiData.cc