#include <G4ParticleHPHash.hh>
Definition at line 35 of file G4ParticleHPHash.hh.
G4ParticleHPHash::G4ParticleHPHash |
( |
| ) |
|
|
inline |
G4ParticleHPHash::~G4ParticleHPHash |
( |
| ) |
|
|
inline |
Definition at line 49 of file G4ParticleHPHash.hh.
51 theIndex = aHash.theIndex;
52 theData = aHash.theData;
53 prepared = aHash.prepared;
54 if(aHash.theUpper != 0)
void G4ParticleHPHash::Clear |
( |
| ) |
|
|
inline |
Definition at line 110 of file G4ParticleHPHash.hh.
113 if(theData.size() == 0)
return 0;
114 if(theData[0].GetX()>e)
return 0;
122 for(i=lower; i<theData.size(); i++)
124 if(theData[i].GetX()>e)
126 result = theIndex[i-1];
130 if(result == -1) result = theIndex[theIndex.size()-1];
G4double G4ParticleHPJENDLHEData::G4double result
G4int GetMinIndex(G4double e) const
Definition at line 64 of file G4ParticleHPHash.hh.
68 theIndex = aHash.theIndex;
69 theData = aHash.theData;
70 if(aHash.theUpper != 0)
G4bool G4ParticleHPHash::Prepared |
( |
| ) |
const |
|
inline |
Definition at line 96 of file G4ParticleHPHash.hh.
101 theData.push_back(aPoint);
102 theIndex.push_back(index);
103 if(0 == theData.size()%10 && 0!=theData.size())
106 theUpper->
SetData(theData.size()-1,
x, y);
void SetData(G4double e, G4double x)
void SetData(G4int index, G4double x, G4double y)
The documentation for this class was generated from the following file:
- source/geant4.10.03.p03/source/processes/hadronic/models/particle_hp/include/G4ParticleHPHash.hh