Import Geant4 5.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:15:15 +02:00
parent 37fff30d2e
commit fbd4999cf7
4396 changed files with 56662 additions and 52446 deletions
@@ -29,27 +29,30 @@
// File name: G4eBremsstrahlungSTD
//
// Author: Laszlo Urban
//
//
// Creation date: 24.06.1996
//
// Modifications:
// Modifications:
//
// 01-10-96 new type G4OrderedTable; ComputePartialSumSigma()
// 20-03-97 new energy loss+ionisation+brems scheme, L.Urban
// 01-09-98 new method PrintInfo()
// 01-09-98 new method PrintInfo()
// 10-02-00 modifications , new e.m. structure, L.Urban
// 07-08-00 new cross section/en.loss parametrisation, LPM flag , L.Urban
// 09-08-01 new methods Store/Retrieve PhysicsTable (mma)
// 19-09-01 come back to previous process name "eBrem"
// 29-10-01 all static functions no more inlined (mma)
// 29-10-01 all static functions no more inlined (mma)
// 07-01-02 new design of em processes (V.Ivanchenko)
// 26-12-02 secondary production moved to derived classes (VI)
// 24-01-03 Make models region aware (V.Ivanchenko)
// 05-02-03 Fix compilation warnings (V.Ivanchenko)
//
//
// Class Description:
// Class Description:
//
// This class manages the bremsstrahlung for e-/e+
// it inherites from G4VContinuousDiscreteProcess via G4VEnergyLoss.
//
//
// -------------------------------------------------------------------
//
@@ -79,6 +82,19 @@ public:
const G4Material*, G4double cut)
{return cut;};
virtual G4std::vector<G4Track*>* SecondariesAlongStep(
const G4Step&,
G4double&,
G4double&,
G4double&) {return 0;};
virtual void SecondariesPostStep(
G4VEmModel*,
const G4MaterialCutsCouple*,
const G4DynamicParticle*,
G4double&,
G4double&);
void PrintInfoDefinition() const;
// Print out of the class parameters
@@ -91,7 +107,7 @@ private:
void InitialiseProcess();
// hide assignment operator
// hide assignment operator
G4eBremsstrahlungSTD & operator=(const G4eBremsstrahlungSTD &right);
G4eBremsstrahlungSTD(const G4eBremsstrahlungSTD&);
@@ -99,5 +115,22 @@ private:
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#include "G4VEmModel.hh"
inline void G4eBremsstrahlungSTD::SecondariesPostStep(
G4VEmModel* model,
const G4MaterialCutsCouple* couple,
const G4DynamicParticle* dp,
G4double& tcut,
G4double& kinEnergy)
{
G4DynamicParticle* gamma = model->SampleSecondary(couple, dp, tcut, kinEnergy);
aParticleChange.SetNumberOfSecondaries(1);
aParticleChange.AddSecondary(gamma);
kinEnergy -= gamma->GetKineticEnergy();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#endif