60 char* dirName = getenv(
"G4PhysListDocDir");
65 outFile.open(pathName);
66 outFile <<
"<html>\n";
67 outFile <<
"<head>\n";
69 outFile <<
"<title>Description of G4HadronElasticProcess</title>\n";
70 outFile <<
"</head>\n";
71 outFile <<
"<body>\n";
73 outFile <<
"G4HadronElasticProcess handles the elastic scattering of\n"
74 <<
"hadrons by invoking one or more hadronic models and one or\n"
75 <<
"more hadronic cross sections.\n";
77 outFile <<
"</body>\n";
78 outFile <<
"</html>\n";
118 ed <<
" PostStepDoIt failed on element selection" <<
G4endl;
119 G4Exception(
"G4HadronElasticProcess::PostStepDoIt",
"had003",
131 ed <<
"Target element "<< elm->
GetName()<<
" Z= "
134 DumpState(track,
"ChooseHadronicInteraction",ed);
135 ed <<
" No HadronicInteraction found out" <<
G4endl;
136 G4Exception(
"G4HadronElasticProcess::PostStepDoIt",
"had005",
149 G4cout <<
"G4HadronElasticProcess::PostStepDoIt for "
151 <<
" in " << material->
GetName()
166 ed <<
"Target element "<< elm->
GetName()<<
" Z= "
170 ed <<
" ApplyYourself failed" <<
G4endl;
171 G4Exception(
"G4HadronElasticProcess::PostStepDoIt",
"had006",
190 <<
" dir= " << outdir
197 if(efinal < 0.0) { efinal = 0.0; }
198 if(edep < 0.0) { edep = 0.0; }
212 outdir.rotate(phi, it);
213 outdir.rotateUz(indir);
235 pdir.rotate(phi, it);
236 pdir.rotateUz(indir);
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
CLHEP::Hep3Vector G4ThreeVector
const G4DynamicParticle * GetDynamicParticle() const
const G4String & GetName() 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
const G4String & GetModelName() const
#define G4HadronicDeprecate(name)
void ClearNumberOfInteractionLengthLeft()
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
void SetWeight(G4double aValue)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
void ProposeWeight(G4double finalWeight)
void DumpState(const G4Track &, const G4String &, G4ExceptionDescription &)
G4ProcessVector * GetAtRestProcessVector(G4ProcessVectorTypeIndex typ=typeGPIL) const
G4double GetKineticEnergy() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
G4GLOB_DLL std::ostream G4cout
G4ParticleChange * theTotalResult
void ProposeNonIonizingEnergyDeposit(G4double anEnergyPart)
const G4ThreeVector & GetMomentumDirection() const
G4HadronicInteraction * ChooseHadronicInteraction(G4double kineticEnergy, G4Material *aMaterial, G4Element *anElement)
G4CrossSectionDataStore * GetCrossSectionDataStore()
static G4Neutron * Neutron()
G4double GetGlobalTime() const
const G4String & GetProcessName() 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()
const G4ThreeVector & GetMomentumChange() const
void SetNumberOfSecondaries(G4int totSecondaries)
G4DynamicParticle * GetParticle()
void ProposeEnergy(G4double finalEnergy)
void AddSecondary(G4Track *aSecondary)
G4double GetWeight() const
virtual void Description() const
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)
void Report(std::ostream &aS)
G4int GetNumberOfSecondaries() const
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)=0
G4double GetLocalEnergyDeposit() const
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
virtual void SetLowestEnergyNeutron(G4double)