47#ifndef G4HadronicProcess_h
48#define G4HadronicProcess_h 1
97 const G4Step& aStep)
override;
123 {
return &targetNucleus; }
140 aMaterial,anElement);
145 {
return &targetNucleus; }
153 {
return aScaleFactor; }
157 { useIntegralXS = val; }
164 { epCheckLevels.first = relativeLevel;
165 epCheckLevels.second = absoluteLevel;
166 levelsSetByProcess =
true;
170 {
return epCheckLevels; }
174 {
return theCrossSectionDataStore;}
182 {
return theInteraction; }
186 {
return theLastCrossSection; }
201 void InitialiseLocal();
203 G4double XBiasSurvivalProbability();
211 void GetEnergyMomentumCheckEnvvars();
235 bool G4HadronicProcess_debug_flag;
247 std::pair<G4double, G4double> epCheckLevels;
248 G4bool levelsSetByProcess;
250 std::vector<G4VLeadingParticleBiasing*> theBias;
252 G4double theInitialNumberOfInteractionLength;
std::ostringstream G4ExceptionDescription
G4HadronicInteraction * GetHadronicInteraction(const G4HadProjectile &aHadProjectile, G4Nucleus &aTargetNucleus, const G4Material *aMaterial, const G4Element *anElement) const
void FillResult(G4HadFinalState *aR, const G4Track &aT)
const G4Nucleus * GetTargetNucleus() const
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) override
void ProcessDescription(std::ostream &outFile) const override
void BiasCrossSectionByFactor(G4double aScale)
G4Nucleus * GetTargetNucleusPointer()
G4HadFinalState * CheckResult(const G4HadProjectile &thePro, const G4Nucleus &targetNucleus, G4HadFinalState *result)
void SetEpReportLevel(G4int level)
G4double GetMeanFreePath(const G4Track &aTrack, G4double, G4ForceCondition *) override
G4HadronicInteraction * GetHadronicInteraction() const
G4ParticleChange * theTotalResult
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4double GetElementCrossSection(const G4DynamicParticle *part, const G4Element *elm, const G4Material *mat=nullptr)
std::vector< G4HadronicInteraction * > & GetHadronicInteractionList()
void PreparePhysicsTable(const G4ParticleDefinition &) override
G4HadronicInteraction * ChooseHadronicInteraction(const G4HadProjectile &aHadProjectile, G4Nucleus &aTargetNucleus, const G4Material *aMaterial, const G4Element *anElement)
std::pair< G4double, G4double > GetEnergyMomentumCheckLevels() const
~G4HadronicProcess() override
G4double GetLastCrossSection()
void BuildPhysicsTable(const G4ParticleDefinition &) override
void CheckEnergyMomentumConservation(const G4Track &, const G4Nucleus &)
G4CrossSectionDataStore * GetCrossSectionDataStore()
G4HadronicInteraction * GetHadronicModel(const G4String &)
G4double GetMicroscopicCrossSection(const G4DynamicParticle *part, const G4Element *elm, const G4Material *mat=nullptr)
void DumpState(const G4Track &, const G4String &, G4ExceptionDescription &)
void DumpPhysicsTable(const G4ParticleDefinition &p)
G4double CrossSectionFactor() const
void MultiplyCrossSectionBy(G4double factor)
void SetIntegral(G4bool val)
void RegisterMe(G4HadronicInteraction *a)
const G4Isotope * GetTargetIsotope()
void SetEnergyMomentumCheckLevels(G4double relativeLevel, G4double absoluteLevel)
const G4Isotope * GetIsotope()