Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MuBetheBlochModel.hh,v 1.7 2003/06/16 17:01:36 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -94,7 +96,7 @@ public:
|
||||
G4double tmin,
|
||||
G4double maxEnergy);
|
||||
|
||||
virtual G4std::vector<G4DynamicParticle*>* SampleSecondaries(
|
||||
virtual std::vector<G4DynamicParticle*>* SampleSecondaries(
|
||||
const G4MaterialCutsCouple*,
|
||||
const G4DynamicParticle*,
|
||||
G4double tmin,
|
||||
@@ -140,7 +142,7 @@ private:
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
inline G4double G4MuBetheBlochModel::MaxSecondaryEnergy(
|
||||
const G4ParticleDefinition* p,
|
||||
const G4ParticleDefinition*,
|
||||
G4double kinEnergy)
|
||||
{
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuBremsstrahlung.hh,v 1.14 2003/01/20 18:16:25 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4MuBremsstrahlung.hh,v 1.15 2003/06/16 17:01:37 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//--------------- G4MuBremsstrahlung physics process ------------------
|
||||
// by Laszlo Urban, September 1997
|
||||
@@ -148,7 +148,7 @@ class G4MuBremsstrahlung : public G4VMuEnergyLoss
|
||||
G4int TotBin;
|
||||
|
||||
|
||||
const G4std::vector<G4double>* secondaryEnergyCuts;
|
||||
const std::vector<G4double>* secondaryEnergyCuts;
|
||||
|
||||
// tables for sampling
|
||||
static G4int nzdat,ntdat,NBIN;
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuBremsstrahlung.icc,v 1.9 2003/01/17 18:54:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4MuBremsstrahlung.icc,v 1.10 2003/05/26 16:21:54 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//--------------- G4MuBremsstrahlung physics process ------------------
|
||||
// by Laszlo Urban, September 1997
|
||||
@@ -40,7 +40,7 @@
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
inline G4double G4MuBremsstrahlung::GetMeanFreePath(const G4Track& trackData,
|
||||
G4double previousStepSize,
|
||||
G4double,
|
||||
G4ForceCondition* condition)
|
||||
{
|
||||
const G4DynamicParticle* aDynamicParticle;
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MuBremsstrahlungModel.hh,v 1.7 2003/06/16 17:01:38 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -93,7 +95,7 @@ public:
|
||||
G4double tmin,
|
||||
G4double maxEnergy);
|
||||
|
||||
G4std::vector<G4DynamicParticle*>* SampleSecondaries(
|
||||
std::vector<G4DynamicParticle*>* SampleSecondaries(
|
||||
const G4MaterialCutsCouple*,
|
||||
const G4DynamicParticle*,
|
||||
G4double tmin,
|
||||
@@ -142,7 +144,7 @@ private:
|
||||
G4double ya[1001], proba[5][8][1001];
|
||||
G4double cutFixed;
|
||||
|
||||
G4std::vector<G4DataVector*> partialSumSigma;
|
||||
std::vector<G4DataVector*> partialSumSigma;
|
||||
G4bool samplingTablesAreFilled;
|
||||
|
||||
};
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MuBremsstrahlungSTD.hh,v 1.8 2003/06/16 17:01:39 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -76,7 +78,7 @@ public:
|
||||
virtual G4double MinPrimaryEnergy(const G4ParticleDefinition* p,
|
||||
const G4Material*, G4double cut);
|
||||
|
||||
virtual G4std::vector<G4Track*>* SecondariesAlongStep(
|
||||
virtual std::vector<G4Track*>* SecondariesAlongStep(
|
||||
const G4Step&,
|
||||
G4double&,
|
||||
G4double&,
|
||||
@@ -89,7 +91,7 @@ public:
|
||||
G4double&,
|
||||
G4double&);
|
||||
|
||||
void PrintInfoDefinition() const;
|
||||
void PrintInfoDefinition();
|
||||
// Print out of the class parameters
|
||||
|
||||
protected:
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuIonisation.hh,v 1.14 2003/01/17 18:54:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4MuIonisation.hh,v 1.15 2003/06/16 17:01:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// --------------- G4MuIonisation physics process ------------------------------
|
||||
// by Laszlo Urban, September 1997
|
||||
@@ -157,7 +157,7 @@ class G4MuIonisation : public G4VMuEnergyLoss
|
||||
G4double HighestKineticEnergy;
|
||||
G4int TotBin;
|
||||
|
||||
const G4std::vector<G4double>* secondaryEnergyCuts;
|
||||
const std::vector<G4double>* secondaryEnergyCuts;
|
||||
|
||||
public: // with description
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuIonisation.icc,v 1.5 2003/01/17 18:54:39 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// GEANT 4 class inlined methods file
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MuIonisationSTD.hh,v 1.14 2003/06/16 17:01:41 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -48,6 +50,9 @@
|
||||
// 24-01-03 Make models region aware (V.Ivanchenko)
|
||||
// 05-02-03 Fix compilation warnings (V.Ivanchenko)
|
||||
// 13-02-03 SubCutoff regime is assigned to a region (V.Ivanchenko)
|
||||
// 23-05-03 Add fluctuation model as a member function (V.Ivanchenko)
|
||||
// 03-06-03 Add SetIntegral method to choose fluctuation model (V.Ivanchenko)
|
||||
// 03-06-03 Fix initialisation problem for STD ionisation (V.Ivanchenko)
|
||||
//
|
||||
// Class Description:
|
||||
//
|
||||
@@ -67,13 +72,14 @@
|
||||
#include "globals.hh"
|
||||
|
||||
class G4Material;
|
||||
class G4VEmFluctuationModel;
|
||||
|
||||
class G4MuIonisationSTD : public G4VEnergyLossSTD
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
G4MuIonisationSTD(const G4String& name = "muIoni");
|
||||
G4MuIonisationSTD(const G4String& name = "MuIoni");
|
||||
|
||||
~G4MuIonisationSTD();
|
||||
|
||||
@@ -83,7 +89,7 @@ public:
|
||||
virtual G4double MinPrimaryEnergy(const G4ParticleDefinition* p,
|
||||
const G4Material*, G4double cut);
|
||||
|
||||
virtual G4std::vector<G4Track*>* SecondariesAlongStep(
|
||||
virtual std::vector<G4Track*>* SecondariesAlongStep(
|
||||
const G4Step&,
|
||||
G4double&,
|
||||
G4double&,
|
||||
@@ -98,7 +104,7 @@ public:
|
||||
|
||||
void SetSubCutoff(G4bool val);
|
||||
|
||||
void PrintInfoDefinition() const;
|
||||
void PrintInfoDefinition();
|
||||
// Print out of the class parameters
|
||||
|
||||
protected:
|
||||
@@ -120,14 +126,16 @@ private:
|
||||
|
||||
const G4ParticleDefinition* theParticle;
|
||||
const G4ParticleDefinition* theBaseParticle;
|
||||
G4VEmFluctuationModel* flucModel;
|
||||
|
||||
G4bool subCutoff;
|
||||
G4bool isInitialised;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
inline G4double G4MuIonisationSTD::MinPrimaryEnergy(const G4ParticleDefinition* p,
|
||||
inline G4double G4MuIonisationSTD::MinPrimaryEnergy(const G4ParticleDefinition*,
|
||||
const G4Material*,
|
||||
G4double cut)
|
||||
{
|
||||
@@ -152,13 +160,13 @@ inline G4double G4MuIonisationSTD::MaxSecondaryEnergy(const G4DynamicParticle* d
|
||||
|
||||
#include "G4VSubCutoffProcessor.hh"
|
||||
|
||||
inline G4std::vector<G4Track*>* G4MuIonisationSTD::SecondariesAlongStep(
|
||||
inline std::vector<G4Track*>* G4MuIonisationSTD::SecondariesAlongStep(
|
||||
const G4Step& step,
|
||||
G4double& tmax,
|
||||
G4double& eloss,
|
||||
G4double& kinEnergy)
|
||||
{
|
||||
G4std::vector<G4Track*>* newp = 0;
|
||||
std::vector<G4Track*>* newp = 0;
|
||||
if(subCutoff) {
|
||||
G4VSubCutoffProcessor* sp = SubCutoffProcessor(CurrentMaterialCutsCoupleIndex());
|
||||
if (sp) {
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuPairProduction.hh,v 1.13 2003/01/17 18:54:40 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4MuPairProduction.hh,v 1.14 2003/06/16 17:01:42 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//--------------- G4MuPairProduction physics process ------------------
|
||||
// by Laszlo Urban, May 1998
|
||||
@@ -152,8 +152,8 @@ class G4MuPairProduction : public G4VMuEnergyLoss
|
||||
G4double LowestKineticEnergy,HighestKineticEnergy;
|
||||
G4int TotBin;
|
||||
|
||||
const G4std::vector<G4double>* electronEnergyCuts;
|
||||
const G4std::vector<G4double>* positronEnergyCuts;
|
||||
const std::vector<G4double>* electronEnergyCuts;
|
||||
const std::vector<G4double>* positronEnergyCuts;
|
||||
|
||||
// tables for sampling
|
||||
static G4int nzdat,ntdat,NBIN;
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuPairProduction.icc,v 1.9 2003/01/17 18:54:40 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4MuPairProduction.icc,v 1.10 2003/05/26 16:21:54 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//--------------- G4MuPairProduction physics process ------------------
|
||||
// by Laszlo Urban, May 1998
|
||||
@@ -40,7 +40,7 @@
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
inline G4double G4MuPairProduction::GetMeanFreePath(const G4Track& trackData,
|
||||
G4double previousStepSize,
|
||||
G4double,
|
||||
G4ForceCondition* condition)
|
||||
{
|
||||
const G4DynamicParticle* aDynamicParticle;
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MuPairProductionModel.hh,v 1.9 2003/06/16 17:01:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -94,7 +96,7 @@ public:
|
||||
G4double tmin,
|
||||
G4double maxEnergy);
|
||||
|
||||
G4std::vector<G4DynamicParticle*>* SampleSecondaries(
|
||||
std::vector<G4DynamicParticle*>* SampleSecondaries(
|
||||
const G4MaterialCutsCouple*,
|
||||
const G4DynamicParticle*,
|
||||
G4double tmin,
|
||||
@@ -102,6 +104,7 @@ public:
|
||||
|
||||
virtual G4double MaxSecondaryEnergy(
|
||||
const G4DynamicParticle* dynParticle);
|
||||
|
||||
protected:
|
||||
|
||||
virtual G4double MaxSecondaryEnergy(const G4ParticleDefinition*,
|
||||
@@ -113,7 +116,6 @@ private:
|
||||
|
||||
G4double ComputeMicroscopicCrossSection(G4double tkin,
|
||||
G4double Z,
|
||||
G4double A,
|
||||
G4double cut);
|
||||
|
||||
G4double ComputeDMicroscopicCrossSection(G4double tkin,
|
||||
@@ -145,7 +147,7 @@ private:
|
||||
static G4double zdat[5],adat[5],tdat[8];
|
||||
G4double ya[1001],proba[5][8][1001];
|
||||
|
||||
G4std::vector<G4DataVector*> partialSumSigma;
|
||||
std::vector<G4DataVector*> partialSumSigma;
|
||||
G4bool samplingTablesAreFilled;
|
||||
};
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4MuPairProductionSTD.hh,v 1.9 2003/06/16 17:01:44 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -77,7 +79,7 @@ public:
|
||||
virtual G4double MinPrimaryEnergy(const G4ParticleDefinition* p,
|
||||
const G4Material*, G4double cut);
|
||||
|
||||
virtual G4std::vector<G4Track*>* SecondariesAlongStep(
|
||||
virtual std::vector<G4Track*>* SecondariesAlongStep(
|
||||
const G4Step&,
|
||||
G4double&,
|
||||
G4double&,
|
||||
@@ -92,7 +94,7 @@ public:
|
||||
|
||||
void SetSubCutoff(G4bool val);
|
||||
|
||||
void PrintInfoDefinition() const;
|
||||
void PrintInfoDefinition();
|
||||
// Print out of the class parameters
|
||||
|
||||
protected:
|
||||
@@ -123,7 +125,7 @@ inline G4double G4MuPairProductionSTD::MinPrimaryEnergy(const G4ParticleDefiniti
|
||||
const G4Material*,
|
||||
G4double cut)
|
||||
{
|
||||
return G4std::max(cut, 2.0*electron_mass_c2);
|
||||
return std::max(cut, 2.0*electron_mass_c2);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
@@ -137,13 +139,13 @@ inline G4double G4MuPairProductionSTD::MaxSecondaryEnergy(const G4DynamicParticl
|
||||
|
||||
#include "G4VSubCutoffProcessor.hh"
|
||||
|
||||
inline G4std::vector<G4Track*>* G4MuPairProductionSTD::SecondariesAlongStep(
|
||||
inline std::vector<G4Track*>* G4MuPairProductionSTD::SecondariesAlongStep(
|
||||
const G4Step& step,
|
||||
G4double& tmax,
|
||||
G4double& eloss,
|
||||
G4double& kinEnergy)
|
||||
{
|
||||
G4std::vector<G4Track*>* newp = 0;
|
||||
std::vector<G4Track*>* newp = 0;
|
||||
if(subCutoff) {
|
||||
G4VSubCutoffProcessor* sp = SubCutoffProcessor(CurrentMaterialCutsCoupleIndex());
|
||||
if (sp) {
|
||||
@@ -165,7 +167,7 @@ inline void G4MuPairProductionSTD::SecondariesPostStep(
|
||||
G4double& tcut,
|
||||
G4double& kinEnergy)
|
||||
{
|
||||
G4std::vector<G4DynamicParticle*>* newp =
|
||||
std::vector<G4DynamicParticle*>* newp =
|
||||
model->SampleSecondaries(couple, dp, tcut, kinEnergy);
|
||||
if(newp) {
|
||||
aParticleChange.SetNumberOfSecondaries(2);
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VMuEnergyLoss.hh,v 1.8 2003/01/17 18:54:40 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4VMuEnergyLoss.hh,v 1.9 2003/06/16 17:01:45 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
@@ -54,8 +54,8 @@
|
||||
#define G4VMuEnergyLoss_h 1
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include "g4std/fstream"
|
||||
#include "g4std/iomanip"
|
||||
#include <fstream>
|
||||
#include <iomanip>
|
||||
#include "globals.hh"
|
||||
#include "Randomize.hh"
|
||||
#include "G4VEnergyLoss.hh"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VMuEnergyLoss.icc,v 1.4 2003/01/17 18:54:40 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
// ---------------------------------------------------------------
|
||||
// GEANT 4 class inlined methods file
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user