52 fDiffraction(nullptr), fDiffractionRatio(nullptr)
64 outFile <<
"G4HadronElasticProcess handles the elastic scattering of \n"
65 <<
"hadrons by invoking the following hadronic model(s) and \n"
66 <<
"hadronic cross section(s).\n";
105 ed <<
" PostStepDoIt failed on element selection" <<
G4endl;
106 G4Exception(
"G4HadronElasticProcess::PostStepDoIt",
"had003",
137 ed <<
"Target element "<< elm->
GetName()<<
" Z= "
141 ed <<
" ApplyYourself failed" <<
G4endl;
142 G4Exception(
"G4HadronElasticProcess::PostStepDoIt",
"had006",
146 result =
CheckResult(theProj, *targNucleus, result);
169 ed <<
"Target element "<< elm->
GetName()<<
" Z= "
172 DumpState(track,
"ChooseHadronicInteraction",ed);
173 ed <<
" No HadronicInteraction found out" <<
G4endl;
174 G4Exception(
"G4HadronElasticProcess::PostStepDoIt",
"had005",
184 G4cout <<
"G4HadronElasticProcess::PostStepDoIt for "
186 <<
" in " << material->
GetName()
200 ed <<
"Target element "<< elm->
GetName()<<
" Z= "
204 ed <<
" ApplyYourself failed" <<
G4endl;
205 G4Exception(
"G4HadronElasticProcess::PostStepDoIt",
"had006",
224 <<
" dir= " << outdir
231 if(efinal < 0.0) { efinal = 0.0; }
232 if(edep < 0.0) { edep = 0.0; }
G4double GetKineticEnergy() const
G4ParticleChange * theTotalResult
void SetTrafoToLab(const G4LorentzRotation &aT)
G4Nucleus * GetTargetNucleusPointer()
void SetDiffraction(G4HadronicInteraction *, G4VCrossSectionRatio *)
G4LorentzRotation & GetTrafoToLab()
std::ostringstream G4ExceptionDescription
const G4ThreeVector & GetMomentumChange() const
void SetWeight(G4double aValue)
const G4String & GetName() const
static constexpr double keV
G4HadSecondary * GetSecondary(size_t i)
void ProposeWeight(G4double finalWeight)
const G4ThreeVector & GetMomentumDirection() const
const G4String & GetParticleName() const
const G4TouchableHandle & GetTouchableHandle() const
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
virtual void SetLowestEnergyNeutron(G4double)
Hep3Vector & rotateUz(const Hep3Vector &)
void PreparePhysicsTable(const G4ParticleDefinition &) override
virtual void ProcessDescription(std::ostream &outFile) const
const std::vector< G4double > * GetEnergyCutsVector(size_t pcIdx) const
void AddSecondary(G4Track *aSecondary)
void ProposeNonIonizingEnergyDeposit(G4double anEnergyPart)
void SetMomentumDirection(const G4ThreeVector &aDirection)
G4double GetWeight() const
const G4String & GetName() const
G4ParticleDefinition * GetDefinition() const
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
virtual G4double ComputeRatio(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)=0
virtual void Initialize(const G4Track &)
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)=0
G4double GetGlobalTime() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
const G4ThreeVector & GetPosition() const
G4HadFinalState * CheckResult(const G4HadProjectile &thePro, const G4Nucleus &targetNucleus, G4HadFinalState *result)
static constexpr double eV
void ProposeEnergy(G4double finalEnergy)
G4Material * GetMaterial() const
void FillResult(G4HadFinalState *aR, const G4Track &aT)
void SetRecoilEnergyThreshold(G4double val)
Hep3Vector & rotate(double, const Hep3Vector &)
virtual G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)
G4int GetNumberOfSecondaries() const
G4double G4ParticleHPJENDLHEData::G4double result
static constexpr double twopi
G4double GetLocalEnergyDeposit() const
static G4ProductionCutsTable * GetProductionCutsTable()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void DumpState(const G4Track &, const G4String &, G4ExceptionDescription &)
void CheckEnergyMomentumConservation(const G4Track &, const G4Nucleus &)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4CrossSectionDataStore * GetCrossSectionDataStore()
virtual ~G4HadronElasticProcess()
G4HadronicInteraction * fDiffraction
static G4Neutron * Neutron()
G4ProcessVector * GetAtRestProcessVector(G4ProcessVectorTypeIndex typ=typeGPIL) const
G4ProcessManager * GetProcessManager() const
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
G4DynamicParticle * GetParticle()
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
void ClearNumberOfInteractionLengthLeft()
G4VCrossSectionRatio * fDiffractionRatio
#define G4HadronicDeprecate(name)
void Report(std::ostream &aS)
virtual void SetLowestEnergy(G4double)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
G4double GetEnergyChange() const
G4HadronElasticProcess(const G4String &procName="hadElastic")
G4TrackStatus GetTrackStatus() const
const G4ThreeVector & GetMomentumDirection() const
void ProposeTrackStatus(G4TrackStatus status)
const G4DynamicParticle * GetDynamicParticle() const
G4HadronicInteraction * ChooseHadronicInteraction(const G4HadProjectile &aHadProjectile, G4Nucleus &aTargetNucleus, const G4Material *aMaterial, const G4Element *anElement)
const G4Element * SampleZandA(const G4DynamicParticle *, const G4Material *, G4Nucleus &target)
const G4String & GetModelName() const
void SetNumberOfSecondaries(G4int totSecondaries)