Import Geant4 10.5.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2018-06-29 10:58:11 +02:00
parent fe81a77428
commit 6aa23be517
1581 changed files with 124288 additions and 83758 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4VEmAngularDistribution.cc 92921 2015-09-21 15:06:51Z gcosmo $
// $Id: G4VEmAngularDistribution.cc 110416 2018-05-23 06:45:42Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -50,13 +50,19 @@
#include "G4VEmAngularDistribution.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
G4VEmAngularDistribution::G4VEmAngularDistribution(const G4String& name)
: fLocalDirection(0.0,0.0,1.0),fName(name)
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
G4VEmAngularDistribution::~G4VEmAngularDistribution()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
G4ThreeVector& G4VEmAngularDistribution::SampleDirectionForShell(
const G4DynamicParticle* dp,
G4double finalTotalEnergy,
@@ -66,4 +72,17 @@ G4ThreeVector& G4VEmAngularDistribution::SampleDirectionForShell(
return SampleDirection(dp, finalTotalEnergy, Z, mat);
}
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
void G4VEmAngularDistribution::SamplePairDirections(const G4DynamicParticle* dp,
G4double, G4double,
G4ThreeVector& dirElectron,
G4ThreeVector& dirPositron,
G4int, const G4Material*)
{
dirElectron = dp->GetMomentumDirection();
dirPositron = dp->GetMomentumDirection();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....