32#ifndef G4ParticleHPContAngularPar_h
33#define G4ParticleHPContAngularPar_h 1
122 if( std::getenv(
"G4PHPTEST") )
123 G4cout <<
this <<
" G4ParticleHPContAngularPar::GetEnergy "
130 fCache.Get()->thePrimary = aPrimary;
135 fCache.Get()->theTarget = aTarget;
140 fCache.Get()->theTargetCode = aTargetCode;
158 if(
fCache.Get()->currentMeanEnergy<-1)
165 result =
fCache.Get()->currentMeanEnergy;
167 fCache.Get()->currentMeanEnergy = -2;
207 fCache.Get()->fresh =
true;
G4GLOB_DLL std::ostream G4cout
void Init(G4int aScheme, G4int aRange)
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass, G4int angularRep, G4int interpol)
void PrepareTableInterpolation()
std::set< G4double > theEnergiesTransformed
G4Cache< toBeCached * > fCache
G4InterpolationManager theManager
G4ParticleHPList * GetAngDataList() const
G4int GetNEnergies() const
void Init(std::istream &aDataFile, G4ParticleDefinition *projectile)
std::map< G4double, G4int > GetDiscreteEnergiesOwn() const
G4ParticleDefinition * theProjectile
void SetPrimary(G4ReactionProduct *aPrimary)
std::set< G4double > theDiscreteEnergies
G4ParticleHPInterpolator theInt
void SetTarget(G4ReactionProduct *aTarget)
void SetInterpolation(G4int theInterpolation)
G4int GetNDiscreteEnergies() const
G4double GetEnergy() const
G4ParticleHPContAngularPar(G4ParticleHPContAngularPar &val)
~G4ParticleHPContAngularPar()
G4double MeanEnergyOfThisInteraction()
std::set< G4double > GetEnergiesTransformed() const
void SetTargetCode(G4double aTargetCode)
G4double GetMinEner() const
std::map< G4double, G4int > theDiscreteEnergiesOwn
G4ParticleHPContAngularPar()
void BuildByInterpolation(G4double anEnergy, G4InterpolationScheme aScheme, G4ParticleHPContAngularPar &store1, G4ParticleHPContAngularPar &store2)
G4double GetMaxEner() const
G4int GetNEnergiesTransformed() const
G4ParticleHPList * theAngular
void SetLabel(G4double aLabel)
void SetValue(G4int i, G4double y)
G4double GetValue(G4int i)
G4double remaining_energy
G4double currentMeanEnergy
G4ReactionProduct * theTarget
G4ReactionProduct * thePrimary