57#ifndef G4SPSEneDistribution_hh
58#define G4SPSEneDistribution_hh 1
201 void LinearInterpolation();
202 void LogInterpolation();
203 void ExpInterpolation();
204 void SplineInterpolation();
205 void CalculateCdgSpectrum();
206 void CalculateBbodySpectrum();
207 void CalculateCPowSpectrum();
212 void GenerateMonoEnergetic();
213 void GenerateBiasPowEnergies();
214 void GenerateGaussEnergies();
215 void GenerateBremEnergies();
216 void GenerateBbodyEnergies();
217 void GenerateCdgEnergies();
218 void GenUserHistEnergies();
219 void GenEpnHistEnergies();
220 void GenArbPointEnergies();
221 void GenerateExpEnergies(
G4bool);
222 void GenerateLinearEnergies(
G4bool);
223 void GeneratePowEnergies(
G4bool);
224 void GenerateCPowEnergies();
226 void ConvertEPNToEnergy();
251 G4bool IPDFEnergyExist =
false, IPDFArbExist =
false, Epnflag =
false;
257 std::vector<G4double>* BBHist =
nullptr;
258 std::vector<G4double>* Bbody_x =
nullptr;
259 G4bool BBhistInit =
false;
260 G4bool BBhistCalcd =
false;
264 std::vector<G4double>* CPHist =
nullptr;
265 std::vector<G4double>* CP_x =
nullptr;
266 G4bool CPhistInit =
false;
267 G4bool CPhistCalcd =
false;
272 G4bool Arb_grad_cept_flag =
false;
275 G4bool Arb_alpha_Const_flag =
false;
277 G4bool Arb_ezero_flag =
false;
279 G4bool applyEvergyWeight =
false;
288 G4int verbosityLevel;
292 std::vector<G4DataInterpolation*> SplineInt;
G4double GetProbability(G4double)
G4double GetArbEneWeight(G4double)
G4double GenerateOne(G4ParticleDefinition *)
void InputEnergySpectra(G4bool)
G4double GetWeight() const
void ArbInterpolate(const G4String &)
void SetVerbosity(G4int a)
G4PhysicsFreeVector GetUserDefinedEnergyHisto()
const G4String & GetEnergyDisType()
void SetBeamSigmaInE(G4double)
void SetBiasAlpha(G4double)
void SetEnergyDisType(const G4String &)
void EpnEnergyHisto(const G4ThreeVector &)
G4double GetEzero() const
void ArbEnergyHistoFile(const G4String &)
G4bool IfApplyEnergyWeight() const
void SetGradient(G4double)
G4double Getalpha() const
void ReSetHist(const G4String &)
void InputDifferentialSpectra(G4bool)
void SetMonoEnergy(G4double)
G4PhysicsFreeVector GetArbEnergyHisto()
void SetBiasRndm(G4SPSRandomGenerator *a)
void ApplyEnergyWeight(G4bool val)
const G4String & GetIntType()
void UserEnergyHisto(const G4ThreeVector &)
void SetInterCept(G4double)
void ArbEnergyHisto(const G4ThreeVector &)