82 G4double kineticEnergy = track.GetKineticEnergy();
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",
178 size_t idx = track.GetMaterialCutsCouple()->GetIndex();
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) {
276 track.GetPosition());
G4double G4ParticleHPJENDLHEData::G4double result
virtual G4double ComputeRatio(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)=0
const std::vector< G4double > * GetEnergyCutsVector(size_t pcIdx) const
std::ostringstream G4ExceptionDescription
G4HadSecondary * GetSecondary(size_t i)
G4double GetKineticEnergy() const
const G4String & GetName() const
const G4ThreeVector & GetMomentumChange() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
void SetMomentumDirection(const G4ThreeVector &aDirection)
G4double GetEnergyChange() const
G4ParticleDefinition * GetDefinition() const
void CheckEnergyMomentumConservation(const G4Track &, const G4Nucleus &)
const G4String & GetModelName() const
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
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()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
virtual void Initialize(const G4Track &)
static G4ProductionCutsTable * GetProductionCutsTable()
G4Nucleus * GetTargetNucleusPointer()
G4ProcessManager * GetProcessManager() const
void SetNumberOfSecondaries(G4int totSecondaries)
G4DynamicParticle * GetParticle()
void ProposeEnergy(G4double finalEnergy)
void AddSecondary(G4Track *aSecondary)
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
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
G4HadFinalState * CheckResult(const G4HadProjectile &thePro, const G4Nucleus &targetNucleus, G4HadFinalState *result)