#include <G4VelocityTable.hh>
Definition at line 51 of file G4VelocityTable.hh.
G4double G4VelocityTable::GetMaxTOfVelocityTable |
( |
| ) |
|
|
static |
G4double G4VelocityTable::GetMinTOfVelocityTable |
( |
| ) |
|
|
static |
G4int G4VelocityTable::GetNbinOfVelocityTable |
( |
| ) |
|
|
static |
Definition at line 169 of file G4VelocityTable.cc.
179 G4Exception(
"G4VelocityTable::SetVelocityTableProperties",
181 "Can modify only in PreInit or Idle state : Method ignored.");
185 if (nbin > 100 ) theInstance->NbinT = nbin;
186 if ((t_min < t_max)&&(t_min>0.)) {
187 theInstance->minT = t_min;
188 theInstance->maxT = t_max;
190 theInstance->PrepareVelocityTable();
static G4StateManager * GetStateManager()
G4ApplicationState GetCurrentState() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition at line 124 of file G4VelocityTable.cc.
131 if( theEnergy == lastEnergy ) {
133 }
else if( theEnergy < lastEnergy
134 && theEnergy >= binVector[lastBin]) {
135 lastEnergy = theEnergy;
136 lastValue = Interpolation();
138 }
else if( theEnergy <= edgeMin ) {
140 lastEnergy = edgeMin;
141 lastValue = dataVector[0];
143 }
else if( theEnergy >= edgeMax ){
144 lastBin = numberOfNodes-1;
145 lastEnergy = edgeMax;
146 lastValue = dataVector[lastBin];
149 lastBin = FindBinLocation(theEnergy);
150 lastEnergy = theEnergy;
151 lastValue = Interpolation();
The documentation for this class was generated from the following files: