#include <G4CrossSectionBuffer.hh>
Definition at line 36 of file G4CrossSectionBuffer.hh.
Definition at line 64 of file G4CrossSectionBuffer.hh.
70 if(theData.size()==1)
return theData[theData.size()-1].second;
72 for(
size_t i=0; i<theData.size(); i++)
74 if(theData[i].
first>sqrts)
78 x1 = theData[i].first;
79 y1 = theData[i].second;
80 x2 = theData[i+1].first;
81 y2 = theData[i+1].second;
83 else if(theData.size()-1==i)
85 x1 = theData[theData.size()-2].first;
86 y1 = theData[theData.size()-2].second;
87 x2 = theData[theData.size()-1].first;
88 y2 = theData[theData.size()-1].second;
92 x1 = theData[i-1].first;
93 y1 = theData[i-1].second;
94 x2 = theData[i].first;
95 y2 = theData[i].second;
103 if(result<0) result = 0;
G4double G4ParticleHPJENDLHEData::G4double result
static constexpr double millibarn
const G4LorentzVector & Get4Momentum() const
Definition at line 43 of file G4CrossSectionBuffer.hh.
48 if(aB == theB) result =
true;
52 if(aB == theA) result =
true;
G4double G4ParticleHPJENDLHEData::G4double result
void G4CrossSectionBuffer::Print |
( |
| ) |
|
|
inline |
Definition at line 108 of file G4CrossSectionBuffer.hh.
110 for(
size_t i=0;i<theData.size(); i++)
static constexpr double millibarn
G4GLOB_DLL std::ostream G4cerr
The documentation for this class was generated from the following file: