Import Geant4 9.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:15:05 +02:00
parent b79225fb37
commit 74cad5e589
3877 changed files with 234205 additions and 167127 deletions
@@ -26,8 +26,8 @@
#ifndef G4FTFParameters_h
#define G4FTFParameters_h 1
//
// $Id: G4FTFParameters.hh,v 1.2 2008/06/13 12:49:23 vuzhinsk Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4FTFParameters.hh,v 1.7 2009/10/25 10:50:54 vuzhinsk Exp $
// GEANT4 tag $Name: geant4-09-03 $
//
#include "G4Proton.hh"
class G4FTFParameters
@@ -59,18 +59,37 @@ class G4FTFParameters
void SetAvaragePt2ofElasticScattering(const G4double aPt2);
// --------- Set parameters of excitations ---------------------------
void SetProjMinDiffMass(const G4double aValue); // Uzhi 19.04.08
void SetMagQuarkExchange(const G4double aValue);
void SetSlopeQuarkExchange(const G4double aValue);
void SetDeltaProbAtQuarkExchange(const G4double aValue);
void SetProjMinDiffMass(const G4double aValue);
void SetProjMinNonDiffMass(const G4double aValue);
void SetProbabilityOfProjDiff(const G4double aValue);
void SetTarMinDiffMass(const G4double aValue); // Uzhi 19.04.08
void SetTarMinDiffMass(const G4double aValue);
void SetTarMinNonDiffMass(const G4double aValue);
void SetProbabilityOfTarDiff(const G4double aValue);
void SetAveragePt2(const G4double aValue);
// Perevod mass*GeV Pt2*GeV*GeV
// --------- Set parameters of a string kink --------------------------------
void SetPt2Kink(const G4double aValue);
void SetQuarkProbabilitiesAtGluonSplitUp(const G4double Puubar,
const G4double Pddbar,
const G4double Pssbar );
// --------- Set parameters of nuclear destruction--------------------
void SetCofNuclearDestruction(const G4double aValue);
void SetR2ofNuclearDestruction(const G4double aValue);
void SetExcitationEnergyPerWoundedNucleon(const G4double aValue);
void SetDofNuclearDestruction(const G4double aValue);
void SetPt2ofNuclearDestruction(const G4double aValue);
void SetMaxPt2ofNuclearDestruction(const G4double aValue);
//--------------------------------------------------------------------
// --------- Get geometrical parameteres -----------------------------
G4double GetTotalCrossSection();
G4double GetElasticCrossSection();
@@ -86,16 +105,34 @@ class G4FTFParameters
G4double GetAvaragePt2ofElasticScattering();
// --------- Get parameters of excitations ---------------------------
G4double GetProjMinDiffMass(); // Uzhi 19.04.08
G4double GetMagQuarkExchange();
G4double GetSlopeQuarkExchange();
G4double GetDeltaProbAtQuarkExchange();
G4double GetProjMinDiffMass();
G4double GetProjMinNonDiffMass();
G4double GetProbabilityOfProjDiff();
G4double GetTarMinDiffMass(); // Uzhi 19.04.08
G4double GetTarMinDiffMass();
G4double GetTarMinNonDiffMass();
G4double GetProbabilityOfTarDiff();
G4double GetAveragePt2();
// --------- Get parameters of a string kink --------------------------------
G4double GetPt2Kink();
std::vector<G4double> GetQuarkProbabilitiesAtGluonSplitUp();
// --------- Get parameters of nuclear destruction---------------------
G4double GetCofNuclearDestruction();
G4double GetR2ofNuclearDestruction();
G4double GetExcitationEnergyPerWoundedNucleon();
G4double GetDofNuclearDestruction();
G4double GetPt2ofNuclearDestruction();
G4double GetMaxPt2ofNuclearDestruction();
// private:
G4FTFParameters();
@@ -114,7 +151,11 @@ class G4FTFParameters
G4double FTFGamma0;
// --------- Parameters of excitations -------------------------------
G4double ProjMinDiffMass; // Uzhi 19.04.08
G4double MagQuarkExchange;
G4double SlopeQuarkExchange;
G4double DeltaProbAtQuarkExchange;
G4double ProjMinDiffMass;
G4double ProjMinNonDiffMass;
G4double ProbabilityOfProjDiff;
@@ -123,6 +164,21 @@ class G4FTFParameters
G4double ProbabilityOfTarDiff;
G4double AveragePt2;
// ---------- Parameters of kink -------------------------------------
G4double Pt2kink;
std::vector<G4double> QuarkProbabilitiesAtGluonSplitUp;
// --------- Parameters of nuclear destruction------------------------
G4double CofNuclearDestruction; // Cnd of nuclear destruction
G4double R2ofNuclearDestruction; // R2nd
G4double ExcitationEnergyPerWoundedNucleon;
G4double DofNuclearDestruction; // D for momentum sampling
G4double Pt2ofNuclearDestruction; // Pt2
G4double MaxPt2ofNuclearDestruction; // Max Pt2
};
// --------------------------------------------------------------------
@@ -161,19 +217,24 @@ inline void G4FTFParameters::SetGamma0(const G4double Gamma0)
// --------- Set parameters of elastic scattering ---------------------
inline void G4FTFParameters::SetAvaragePt2ofElasticScattering(const G4double aPt2)
{
//G4cout<<"Pt2 El "<<aPt2<<" "<<std::sqrt(aPt2)<<G4endl;
//G4int Uzhi; G4cin>>Uzhi;
AvaragePt2ofElasticScattering = aPt2;}
// --------- Set parameters of excitations ----------------------------
inline void G4FTFParameters::SetProjMinDiffMass(const G4double aValue) // Uzhi 19.04.08
inline void G4FTFParameters::SetMagQuarkExchange(const G4double aValue)
{MagQuarkExchange = aValue;}
inline void G4FTFParameters::SetSlopeQuarkExchange(const G4double aValue)
{SlopeQuarkExchange = aValue;}
inline void G4FTFParameters::SetDeltaProbAtQuarkExchange(const G4double aValue)
{DeltaProbAtQuarkExchange = aValue;}
inline void G4FTFParameters::SetProjMinDiffMass(const G4double aValue)
{ProjMinDiffMass = aValue*GeV;}
inline void G4FTFParameters::SetProjMinNonDiffMass(const G4double aValue)
{ProjMinNonDiffMass = aValue*GeV;}
inline void G4FTFParameters::SetProbabilityOfProjDiff(const G4double aValue)
{ProbabilityOfProjDiff = aValue;}
inline void G4FTFParameters::SetTarMinDiffMass(const G4double aValue) // Uzhi 19.04.08
inline void G4FTFParameters::SetTarMinDiffMass(const G4double aValue)
{TarMinDiffMass = aValue*GeV;}
inline void G4FTFParameters::SetTarMinNonDiffMass(const G4double aValue)
{TarMinNonDiffMass = aValue*GeV;}
@@ -183,6 +244,36 @@ inline void G4FTFParameters::SetProbabilityOfTarDiff(const G4double aValue)
inline void G4FTFParameters::SetAveragePt2(const G4double aValue)
{AveragePt2 = aValue*GeV*GeV;}
// --------- Set parameters of a string kink --------------------------------
inline void G4FTFParameters::SetPt2Kink(const G4double aValue)
{Pt2kink = aValue;}
inline void G4FTFParameters::SetQuarkProbabilitiesAtGluonSplitUp(
const G4double Puubar,
const G4double Pddbar,
const G4double Pssbar )
{
QuarkProbabilitiesAtGluonSplitUp.push_back(Puubar);
QuarkProbabilitiesAtGluonSplitUp.push_back(Puubar+Pddbar);
QuarkProbabilitiesAtGluonSplitUp.push_back(Puubar+Pddbar+Pssbar);
}
// --------- Set parameters of nuclear destruction--------------------
inline void G4FTFParameters::SetCofNuclearDestruction(const G4double aValue)
{CofNuclearDestruction = aValue;}
inline void G4FTFParameters::SetR2ofNuclearDestruction(const G4double aValue)
{R2ofNuclearDestruction = aValue;}
inline void G4FTFParameters::SetExcitationEnergyPerWoundedNucleon(const G4double aValue)
{ExcitationEnergyPerWoundedNucleon = aValue;}
inline void G4FTFParameters::SetDofNuclearDestruction(const G4double aValue)
{DofNuclearDestruction = aValue;}
inline void G4FTFParameters::SetPt2ofNuclearDestruction(const G4double aValue)
{Pt2ofNuclearDestruction =aValue;}
inline void G4FTFParameters::SetMaxPt2ofNuclearDestruction(const G4double aValue)
{MaxPt2ofNuclearDestruction = aValue;}
// --------- Get geometrical parameteres ------------------------------
inline G4double G4FTFParameters::GetTotalCrossSection() {return FTFXtotal;}
inline G4double G4FTFParameters::GetElasticCrossSection() {return FTFXelastic;}
@@ -210,6 +301,12 @@ inline G4double G4FTFParameters::GetAvaragePt2ofElasticScattering()
{return AvaragePt2ofElasticScattering;}
// --------- Get parameters of excitations ---------------------------
inline G4double G4FTFParameters::GetMagQuarkExchange() {return MagQuarkExchange;}
inline G4double G4FTFParameters::GetSlopeQuarkExchange() {return SlopeQuarkExchange;}
inline G4double G4FTFParameters::GetDeltaProbAtQuarkExchange()
{return DeltaProbAtQuarkExchange;}
inline G4double G4FTFParameters::GetProjMinDiffMass() {return ProjMinDiffMass;}
inline G4double G4FTFParameters::GetProjMinNonDiffMass() {return ProjMinNonDiffMass;}
inline G4double G4FTFParameters::GetProbabilityOfProjDiff() {return ProbabilityOfProjDiff;}
@@ -220,4 +317,23 @@ inline G4double G4FTFParameters::GetProbabilityOfTarDiff() {return Probabilit
inline G4double G4FTFParameters::GetAveragePt2() {return AveragePt2;}
// --------- Get parameters of a string kink --------------------------
inline G4double G4FTFParameters::GetPt2Kink() {return Pt2kink;}
inline std::vector<G4double>
G4FTFParameters::GetQuarkProbabilitiesAtGluonSplitUp()
{return QuarkProbabilitiesAtGluonSplitUp;}
// --------- Get parameters of nuclear destruction---------------------
inline G4double G4FTFParameters::GetCofNuclearDestruction(){return CofNuclearDestruction;}
inline G4double G4FTFParameters::GetR2ofNuclearDestruction(){return R2ofNuclearDestruction;}
inline G4double G4FTFParameters::GetExcitationEnergyPerWoundedNucleon()
{return ExcitationEnergyPerWoundedNucleon;}
inline G4double G4FTFParameters::GetDofNuclearDestruction()
{return DofNuclearDestruction;}
inline G4double G4FTFParameters::GetPt2ofNuclearDestruction(){return Pt2ofNuclearDestruction;}
inline G4double G4FTFParameters::GetMaxPt2ofNuclearDestruction()
{return MaxPt2ofNuclearDestruction;}
#endif