111 throw G4HadronicException(__FILE__, __LINE__,
"G4ParticleHPLabAngularEnergy: Unknown ion case 2");
131 for(i=0; i<
nCosTh[it]; i++)
143 for(i=1; i<
nCosTh[it]; i++)
146 if(cosTh<
theData[it][i].GetLabel())
break;
173 theStore.
Merge(&theBuff1a, &theBuff2a);
174 secEnergy = theStore.
Sample();
180 G4double x, x1, x2, y1, y2, y, tmp, E;
183 for(i=0;i<
nCosTh[it-1]; i++)
189 for(i=0;i<
nCosTh[it]; i++)
219 theThVec.
Merge(&thBuff1 ,&thBuff2);
247 for(i=1; i<
nCosTh[it-1]; i++)
250 if(cosTh<
theData[it-1][i].GetLabel())
break;
277 theStore1.
Merge(&theBuff1a, &theBuff2a);
281 for(i=1; i<
nCosTh[it]; i++)
284 if(cosTh<
theData[it][i2].GetLabel())
break;
314 theStore2.
Merge(&theBuff1b, &theBuff2b);
324 E = theStore1.
GetX(i);
325 y1 = theStore1.
GetY(i);
326 y2 = theStore2.
GetY(E);
334 E = theStore2.
GetX(i);
335 y1 = theStore1.
GetY(E);
336 y2 = theStore2.
GetY(i);
341 theOne.
Merge(&theOne1, &theOne2);
343 secEnergy = theOne.
Sample();
355 G4ThreeVector tempVector(mtot*sinth*std::cos(phi), mtot*sinth*std::sin(phi), mtot*std::cos(theta) );
static constexpr double twopi
static constexpr double eV
static G4Deuteron * Deuteron()
static G4Electron * Electron()
void Init(G4int aScheme, G4int aRange)
G4InterpolationScheme GetScheme(G4int index) const
static G4Neutron * Neutron()
G4double Interpolate(G4InterpolationScheme aScheme, G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4InterpolationManager theManager
void Init(std::istream &aDataFile)
G4double currentMeanEnergy
G4ParticleHPInterpolator theInt
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass)
G4InterpolationManager * theSecondManager
G4ParticleHPVector ** theData
void SetY(G4int i, G4double x)
void SetX(G4int i, G4double e)
void SetData(G4int i, G4double x, G4double y)
const G4InterpolationManager & GetInterpolationManager() const
void SetLabel(G4double aLabel)
void SetInterpolationManager(const G4InterpolationManager &aManager)
G4double GetY(G4double x)
G4double GetX(G4int i) const
void Merge(G4ParticleHPVector *active, G4ParticleHPVector *passive)
void Init(std::istream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)
G4int GetVectorLength() const
static G4Positron * Positron()
static G4Proton * Proton()
void SetMomentum(const G4double x, const G4double y, const G4double z)
G4double GetTotalMomentum() const
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
void SetKineticEnergy(const G4double en)
static G4Triton * Triton()