52 fDiffraction(0), fDiffractionRatio(0)
55 lowestEnergy = 1.*
keV;
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; }
236 if(efinal <= lowestEnergy) {
297 isInitialised =
true;
320 fDiffractionRatio = xsr;
G4double G4ParticleHPJENDLHEData::G4double result
virtual G4double ComputeRatio(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)=0
const std::vector< G4double > * GetEnergyCutsVector(size_t pcIdx) const
G4HadronElasticProcess(const G4String &procName="hadElastic")
std::ostringstream G4ExceptionDescription
G4HadSecondary * GetSecondary(size_t i)
G4double GetKineticEnergy() const
G4LorentzRotation & GetTrafoToLab()
const G4DynamicParticle * GetDynamicParticle() const
const G4String & GetName() const
const G4ThreeVector & GetMomentumChange() const
const G4ThreeVector & GetPosition() const
G4TrackStatus GetTrackStatus() const
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
void SetTouchableHandle(const G4TouchableHandle &apValue)
virtual void SetLowestEnergy(G4double)
virtual ~G4HadronElasticProcess()
void SetMomentumDirection(const G4ThreeVector &aDirection)
G4double GetEnergyChange() const
G4ParticleDefinition * GetDefinition() const
void CheckEnergyMomentumConservation(const G4Track &, const G4Nucleus &)
const G4String & GetModelName() const
void SetDiffraction(G4HadronicInteraction *, G4VCrossSectionRatio *)
#define G4HadronicDeprecate(name)
void ClearNumberOfInteractionLengthLeft()
const G4String & GetParticleName() const
void SetWeight(G4double aValue)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
void ProposeWeight(G4double finalWeight)
void DumpState(const G4Track &, const G4String &, G4ExceptionDescription &)
void SetTrafoToLab(const G4LorentzRotation &aT)
G4ProcessVector * GetAtRestProcessVector(G4ProcessVectorTypeIndex typ=typeGPIL) const
G4double GetKineticEnergy() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void FillResult(G4HadFinalState *aR, const G4Track &aT)
G4GLOB_DLL std::ostream G4cout
G4ParticleChange * theTotalResult
void ProposeNonIonizingEnergyDeposit(G4double anEnergyPart)
const G4ThreeVector & GetMomentumDirection() const
Hep3Vector & rotateUz(const Hep3Vector &)
G4CrossSectionDataStore * GetCrossSectionDataStore()
static constexpr double eV
static G4Neutron * Neutron()
G4double GetGlobalTime() const
const G4TouchableHandle & GetTouchableHandle() const
G4Material * GetMaterial() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
virtual void Initialize(const G4Track &)
static G4ProductionCutsTable * GetProductionCutsTable()
const G4ThreeVector & GetMomentumDirection() const
G4Nucleus * GetTargetNucleusPointer()
G4ProcessManager * GetProcessManager() const
void SetNumberOfSecondaries(G4int totSecondaries)
G4DynamicParticle * GetParticle()
void ProposeEnergy(G4double finalEnergy)
void AddSecondary(G4Track *aSecondary)
virtual void ProcessDescription(std::ostream &outFile) const
G4double GetWeight() const
G4HadronicInteraction * ChooseHadronicInteraction(const G4HadProjectile &aHadProjectile, G4Nucleus &aTargetNucleus, G4Material *aMaterial, G4Element *anElement)
void SetRecoilEnergyThreshold(G4double val)
void ProposeMomentumDirection(G4double Px, G4double Py, G4double Pz)
G4Element * SampleZandA(const G4DynamicParticle *, const G4Material *, G4Nucleus &target)
void ProposeTrackStatus(G4TrackStatus status)
const G4String & GetName() const
virtual G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)
static constexpr double keV
Hep3Vector & rotate(double, const Hep3Vector &)
void Report(std::ostream &aS)
static constexpr double twopi
G4int GetNumberOfSecondaries() const
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)=0
G4double GetLocalEnergyDeposit() const
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
virtual void SetLowestEnergyNeutron(G4double)
G4HadFinalState * CheckResult(const G4HadProjectile &thePro, const G4Nucleus &targetNucleus, G4HadFinalState *result)