59 toBeCached() =
default;
83 theManager.
Init(theInterpolation, nEnergies);
95 G4double result = std::max(fCache.
Get().currentMeanEnergy, 0.0);
96 fCache.
Get().currentMeanEnergy = -2.0;
111 fCache.
Get().fresh =
true;
112 fCache.
Get().currentMeanEnergy = -2.0;
113 fCache.
Get().remaining_energy = 0.0;
114 fCache.
Get().theTargetCode = -1.0;
115 fCache.
Get().theTarget =
nullptr;
116 fCache.
Get().thePrimary =
nullptr;
131 G4int nDiscreteEnergies{0};
133 G4int nAngularParameters{0};
146 G4bool adjustResult{
true};
150 std::set<G4double> theEnergiesTransformed;
151 std::set<G4double> theDiscreteEnergies;
152 std::map<G4double, G4int> theDiscreteEnergiesOwn;
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass, G4int angularRep, G4int interpol)
void PrepareTableInterpolation()
void Init(std::istream &aDataFile, const G4ParticleDefinition *projectile)
G4ParticleHPList * GetAngDataList() const
G4int GetNEnergies() const
std::map< G4double, G4int > GetDiscreteEnergiesOwn() const
void SetPrimary(G4ReactionProduct *aPrimary)
void SetTarget(G4ReactionProduct *aTarget)
void SetInterpolation(G4int theInterpolation)
G4ParticleHPContAngularPar & operator=(const G4ParticleHPContAngularPar &right)=delete
G4int GetNDiscreteEnergies() const
G4double GetEnergy() const
~G4ParticleHPContAngularPar()
G4double MeanEnergyOfThisInteraction()
std::set< G4double > GetEnergiesTransformed() const
G4ParticleHPContAngularPar(const G4ParticleDefinition *p=nullptr)
void SetTargetCode(G4double aTargetCode)
G4double GetMinEner() const
void BuildByInterpolation(G4double anEnergy, G4InterpolationScheme aScheme, G4ParticleHPContAngularPar &store1, G4ParticleHPContAngularPar &store2)
G4double GetMaxEner() const
G4int GetNEnergiesTransformed() const