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: G4PolarizedAnnihilationModel.hh 96114 2016-03-16 18:51:33Z gcosmo $
// $Id: G4PolarizedAnnihilationModel.hh 109176 2018-04-03 06:53:39Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -71,12 +71,11 @@ public:
virtual ~G4PolarizedAnnihilationModel();
virtual void Initialise(const G4ParticleDefinition*,
const G4DataVector&) override;
virtual G4double ComputeCrossSectionPerElectron(
const G4ParticleDefinition*,
G4double kinEnergy,
G4double cut,
G4double emax) override;
const G4DataVector&) final;
virtual G4double
ComputeCrossSectionPerElectron(G4double kinEnergy) final;
void ComputeAsymmetriesPerElectron(G4double gammaEnergy,
G4double & valueX,
G4double & valueA,
@@ -86,7 +85,7 @@ public:
const G4MaterialCutsCouple*,
const G4DynamicParticle*,
G4double tmin,
G4double maxEnergy) override;
G4double maxEnergy) final;
// polarized routines
inline void SetTargetPolarization(const G4ThreeVector & pTarget);
@@ -95,11 +94,12 @@ public:
inline const G4ThreeVector & GetBeamPolarization() const;
inline const G4ThreeVector & GetFinalGamma1Polarization() const;
inline const G4ThreeVector & GetFinalGamma2Polarization() const;
private:
// hide assignment operator
G4PolarizedAnnihilationModel &
operator=(const G4PolarizedAnnihilationModel &right) = delete;
operator=(const G4PolarizedAnnihilationModel &right) = delete;
G4PolarizedAnnihilationModel(const G4PolarizedAnnihilationModel&) = delete;
G4PolarizedAnnihilationCrossSection * crossSectionCalculator;
@@ -113,7 +113,6 @@ private:
G4int verboseLevel;
G4ParticleChangeForGamma* gParticleChange;
G4bool gIsInitialised;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4PolarizedGammaConversion.hh 96114 2016-03-16 18:51:33Z gcosmo $
// $Id: G4PolarizedGammaConversion.hh 109176 2018-04-03 06:53:39Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -89,15 +89,6 @@ private:
G4bool isInitialised;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
inline G4bool G4PolarizedGammaConversion::IsApplicable(const G4ParticleDefinition& p)
{
return (&p == G4Gamma::Gamma());
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4PolarizedPhotoElectricEffect.hh 96114 2016-03-16 18:51:33Z gcosmo $
// $Id: G4PolarizedPhotoElectricEffect.hh 109176 2018-04-03 06:53:39Z gcosmo $
//
//
//------------------ G4PolarizedPhotoElectricEffect physics process ------------------
@@ -63,24 +63,16 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifdef NOIONIZATIONAS
#define G4PolarizedPhotoElectricEffect_h 1
#endif
#ifndef G4PolarizedPhotoElectricEffect_h
#define G4PolarizedPhotoElectricEffect_h 1
#include "globals.hh"
#include "G4VEmProcess.hh"
#include "G4Gamma.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class G4ParticleDefinition;
class G4VEmModel;
class G4MaterialCutsCouple;
class G4DynamicParticle;
class G4PolarizedPhotoElectricEffect : public G4VEmProcess
@@ -88,7 +80,7 @@ class G4PolarizedPhotoElectricEffect : public G4VEmProcess
public: // with description
explicit G4PolarizedPhotoElectricEffect(const G4String& processName ="pol-phot",
G4ProcessType type = fElectromagnetic);
G4ProcessType type = fElectromagnetic);
virtual ~G4PolarizedPhotoElectricEffect();
@@ -107,16 +99,5 @@ private:
G4bool isInitialised;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
inline
G4bool G4PolarizedPhotoElectricEffect::IsApplicable(const G4ParticleDefinition& p)
{
return (&p == G4Gamma::Gamma());
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4StokesVector.hh 108502 2018-02-15 15:41:45Z gcosmo $
// $Id: G4StokesVector.hh 108422 2018-02-13 11:17:20Z gcosmo $
//
// GEANT4 Class header file
//
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4ePolarizedIonisation.hh 96114 2016-03-16 18:51:33Z gcosmo $
// $Id: G4ePolarizedIonisation.hh 109176 2018-04-03 06:53:39Z gcosmo $
// -------------------------------------------------------------------
//
// GEANT4 Class header file
@@ -97,10 +97,6 @@ protected:
virtual void BuildPhysicsTable(const G4ParticleDefinition&) override;
protected:
const G4ParticleDefinition* DefineBaseParticle(const G4ParticleDefinition* p);
private:
void CleanTables();
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4eplusPolarizedAnnihilation.hh 96114 2016-03-16 18:51:33Z gcosmo $
// $Id: G4eplusPolarizedAnnihilation.hh 109176 2018-04-03 06:53:39Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -106,7 +106,7 @@ private:
G4PolarizedAnnihilationModel* emModel;
G4ThreeVector theTargetPolarization;
G4PhysicsTable* theAsymmetryTable; // table for cross section assym.
G4PhysicsTable* theAsymmetryTable; // table for cross section assym.
G4PhysicsTable* theTransverseAsymmetryTable; // table for transverse cross section assym.
};