Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -0,0 +1,132 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
#ifndef G4PomeronCrossSection_h
#define G4PomeronCrossSection_h 1
//
// $Id: G4PomeronCrossSection.hh 96952 2016-05-18 12:21:34Z gcosmo $
//
#include "G4Proton.hh"
#include "G4Neutron.hh"
#include "G4PionPlus.hh"
#include "G4PionMinus.hh"
#include "G4PionZero.hh"
#include "G4KaonPlus.hh"
#include "G4KaonMinus.hh"
#include "G4KaonZero.hh"
#include "G4KaonZeroShort.hh"
#include "G4KaonZeroLong.hh"
#include "G4Gamma.hh"
class G4PomeronCrossSection
{
public:
G4PomeronCrossSection(const G4ParticleDefinition * );
G4PomeronCrossSection(const G4Proton * );
G4PomeronCrossSection(const G4Neutron * );
G4PomeronCrossSection(const G4PionPlus * );
G4PomeronCrossSection(const G4PionMinus * );
G4PomeronCrossSection(const G4PionZero * );
G4PomeronCrossSection(const G4KaonPlus * );
G4PomeronCrossSection(const G4KaonMinus * );
G4PomeronCrossSection(const G4KaonZero * );
G4PomeronCrossSection(const G4KaonZeroLong * );
G4PomeronCrossSection(const G4KaonZeroShort * );
G4PomeronCrossSection(const G4Gamma * );
~G4PomeronCrossSection();
// s = (center of mass energy)**2
G4double GetTotalCrossSection(const G4double s);
G4double GetDiffractiveCrossSection(const G4double s);
G4double GetElasticCrossSection(const G4double s);
G4double GetInelasticCrossSection(const G4double s);
G4double GetTotalProbability(const G4double s,
const G4double impactsquare);
G4double GetDiffractiveProbability(const G4double s,
const G4double impactsquare);
G4double GetNondiffractiveProbability(const G4double s,
const G4double impactsquare);
G4double GetElasticProbability(const G4double s,
const G4double impactsquare);
G4double GetInelasticProbability(const G4double s,
const G4double impactsquare);
G4double GetCutPomeronProbability(const G4double s,
const G4double impactsquare, const G4int nPomerons);
void Setgamma(const G4double agam); // temporary only! GF.
G4double SoftEikonal(G4double s, G4double impactsquare);
G4double HardEikonal(G4double s, G4double impactsquare);
void Pomeron_S(G4double apomeron_S){ pomeron_S = apomeron_S;}
void Pomeron_Gamma(G4double apomeron_Gamma){ pomeron_Gamma = apomeron_Gamma;}
void Pomeron_C(G4double apomeron_C){ pomeron_C = apomeron_C;}
void Pomeron_Rsquare(G4double apomeron_Rsquare){ pomeron_Rsquare = apomeron_Rsquare;}
void Pomeron_Alpha(G4double apomeron_Alpha){ pomeron_Alpha = apomeron_Alpha;}
void Pomeron_Alphaprime(G4double apomeron_Alphaprime){ pomeron_Alphaprime = apomeron_Alphaprime;}
void Pomeron_Gamma_Hard(G4double apomeron_Gamma_Hard){ pomeron_Gamma_Hard = apomeron_Gamma_Hard;}
void Pomeron_Alpha_Hard(G4double apomeron_Alpha_Hard){ pomeron_Alpha_Hard = apomeron_Alpha_Hard;}
private:
G4double PowerSoft(const G4double s);
G4double PowerHard(const G4double s);
G4double LambdaSoft(const G4double s);
G4double LambdaHard(const G4double s);
G4double Zsoft(const G4double s);
G4double Zhard(const G4double s);
G4PomeronCrossSection();
void InitForNucleon();
void InitForPion();
void InitForKaon();
void InitForGamma();
G4double Expand(G4double z);
inline G4double Z(const G4double Scms);
inline G4double SigP(const G4double Scms);
inline G4double Power(const G4double Scms);
inline G4double Lambda(const G4double s);
inline G4double Eikonal(const G4double s,const G4double impactsquare);
G4double pomeron_Alpha;
G4double pomeron_Alpha_Hard;
G4double pomeron_Alphaprime;
G4double pomeron_C;
G4double pomeron_Gamma;
G4double pomeron_Gamma_Hard;
G4double pomeron_Rsquare;
G4double pomeron_S;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4QGSDiffractiveExcitation.hh 93511 2015-10-23 13:43:49Z gcosmo $
// $Id: G4QGSDiffractiveExcitation.hh 94750 2015-12-07 08:24:29Z gcosmo $
#ifndef G4QGSDiffractiveExcitation_h
#define G4QGSDiffractiveExcitation_h 1
@@ -53,7 +53,7 @@ class G4QGSDiffractiveExcitation
public:
G4QGSDiffractiveExcitation(); // Uzhi
G4QGSDiffractiveExcitation();
virtual ~G4QGSDiffractiveExcitation();
virtual G4bool ExciteParticipants (G4VSplitableHadron *aPartner, G4VSplitableHadron * bPartner) const;
@@ -68,23 +68,15 @@ private:
G4QGSDiffractiveExcitation(const G4QGSDiffractiveExcitation &right);
// G4double ChooseX(G4double Xmin, G4double Xmax) const; // Uzhi
G4double ChooseP(G4double Pmin, G4double Pmax) const; // Uzhi
G4double ChooseP(G4double Pmin, G4double Pmax) const;
// G4ThreeVector GaussianPt(G4double widthSquare, G4double maxPtSquare) const;
G4ThreeVector GaussianPt(G4double AveragePt2, G4double maxPtSquare) const; // Uzhi
G4ThreeVector GaussianPt(G4double AveragePt2, G4double maxPtSquare) const;
const G4QGSDiffractiveExcitation & operator=(const G4QGSDiffractiveExcitation &right);
int operator==(const G4QGSDiffractiveExcitation &right) const;
int operator!=(const G4QGSDiffractiveExcitation &right) const;
private:
// Model Parameters:
/* // Uzhi
const G4double widthOfPtSquare; // width^2 of pt for string excitation
const G4double minExtraMass; // minimum excitation mass
const G4double minmass; // mean pion transverse mass; used for Xmin
*/ // Uzhi
};
#endif
@@ -64,6 +64,7 @@ private:
void InitParameters();
void DiffractiveSplitUp();
void SoftSplitUp();
G4ThreeVector GaussianPt(G4double widthSquare, G4double maxPtSquare);
void GetValenceQuarkFlavors(const G4ParticleDefinition * aPart,
G4Parton *& Parton1, G4Parton *& Parton2);
@@ -76,7 +77,12 @@ private:
std::deque<G4Parton *> Color;
std::deque<G4Parton *> AntiColor;
//std::deque<G4Parton *>::iterator iP; // Uzhi
//std::deque<G4Parton *>::iterator iAP; // Uzhi
unsigned int iP; // Uzhi 5.06.2015
unsigned int iAP; // Uzhi 5.06.2015
private:
// associated classes
G4MesonSplitter theMesonSplitter;
G4BaryonSplitter theBaryonSplitter;
@@ -95,16 +101,29 @@ private:
inline G4Parton* G4QGSMSplitableHadron::GetNextParton()
{
if(Color.size()==0) return 0;
G4Parton * result = Color.back();
Color.pop_back();
//Uzhi G4Parton * result = Color.back();
//Uzhi Color.pop_back();
/*
G4Parton * result = *iP;
iP++; if( iP == Color.end()) iP=Color.begin();
*/
G4Parton * result = Color.operator[](iP);
iP++; if(iP == Color.size()) iP=0;
return result;
}
inline G4Parton* G4QGSMSplitableHadron::GetNextAntiParton()
{
if(AntiColor.size() == 0) return 0;
G4Parton * result = AntiColor.front();
AntiColor.pop_front();
//Uzhi G4Parton * result = AntiColor.front();
//Uzhi AntiColor.pop_front();
/*
G4Parton * result = *iAP;
iAP++; if( iAP == AntiColor.end()) iAP=AntiColor.begin();
*/
G4Parton * result = AntiColor.operator[](iAP);
iAP++; if(iAP == AntiColor.size()) iAP=0;
return result;
}
@@ -58,6 +58,11 @@ template<class ParticipantType>
void G4QGSModel<ParticipantType>::Init(const G4Nucleus & aNucleus, const G4DynamicParticle & aProjectile)
{
// clean-up and consistency with design, HPW Feb 1999
/*
G4cout<<"QGSM Init A Z "<<aNucleus.GetA_asInt()<<" "<<aNucleus.GetZ_asInt()<<G4endl;
G4cout<<"Projectile "<<aProjectile.GetDefinition()->GetParticleName()<<" "<<aProjectile.GetDefinition()->GetBaryonNumber()<<G4endl;
G4cout<<" "<<aProjectile.Get4Momentum()<<G4endl;
*/
theParticipants.Init(aNucleus.GetA_asInt(),aNucleus.GetZ_asInt());
theCurrentVelocity.setX(0);
theCurrentVelocity.setY(0);
@@ -65,66 +70,62 @@ void G4QGSModel<ParticipantType>::Init(const G4Nucleus & aNucleus, const G4Dynam
// this is an approximation, neglecting the motion of nucleons in the nucleus & p,n mass differences. @@@
// G4double vz_old = aProjectile.Get4Momentum().pz()/
// (aProjectile.Get4Momentum().e() + G4Proton::Proton()->GetPDGMass());
/* //Uzhi 15.05.2015
G4double nCons = 1;
if(std::abs(aProjectile.GetDefinition()->GetBaryonNumber()) !=0)
{
nCons = std::abs(aProjectile.GetDefinition()->GetBaryonNumber());
}
G4double pz_per_projectile = aProjectile.Get4Momentum().pz()/nCons;
// G4double e_per_projectile = aProjectile.Get4Momentum().vect()*aProjectile.Get4Momentum().vect();
// e_per_projectile /=nCons*nCons;
// e_per_projectile += G4Proton::Proton()->GetPDGMass()*G4Proton::Proton()->GetPDGMass();
G4double e_per_projectile = aProjectile.Get4Momentum()*aProjectile.Get4Momentum();
e_per_projectile += aProjectile.Get4Momentum().vect()*aProjectile.Get4Momentum().vect();
e_per_projectile /=nCons*nCons;
e_per_projectile = std::sqrt(e_per_projectile);
e_per_projectile += G4Proton::Proton()->GetPDGMass();
G4double vz = pz_per_projectile/e_per_projectile;
//--DEBUG-- G4cout << "IncomingMomentum - vz "<<aProjectile.Get4Momentum()<< ", " << vz <<G4endl;
*/
// Transformation to hN/NN CMS system ---------------------------------
//Uzhi 15.05.2015 G4double pz_per_projectile = aProjectile.Get4Momentum().pz()/nCons;
//Uzhi 15.05.2015 G4double EperHN=aProjectile.Get4Momentum().e()/nCons + G4Proton::Proton()->GetPDGMass();
G4double vz = 0.; //pz_per_projectile/EperHN;
theCurrentVelocity.setZ(vz);
theParticipants.DoLorentzBoost(-theCurrentVelocity);
theParticipants.DoLorentzBoost(-theCurrentVelocity); // Lorentz boost of the target nucleus
G4LorentzVector Mom = aProjectile.Get4Momentum();
Mom.boost(-theCurrentVelocity);
Mom.boost(-theCurrentVelocity); // Lorentz boost of the projectile
// End of the transformation ------------------------------------------
G4ReactionProduct theProjectile;
theProjectile.SetDefinition(aProjectile.GetDefinition());
theProjectile.SetTotalEnergy(Mom.e());
theProjectile.SetMomentum(Mom.vect());
//--DEBUG-- G4cout << "PreInteractionMomentum "<<Mom<<G4endl;
theParticipants.BuildInteractions(theProjectile);
theParticipants.GetWoundedNucleus()->DoLorentzBoost(theCurrentVelocity);
theParticipants.GetWoundedNucleus()->DoLorentzBoost(theCurrentVelocity); // Backward transformation
}
template<class ParticipantType>
G4ExcitedStringVector * G4QGSModel<ParticipantType>::GetStrings()
{
//G4cout<<"G4ExcitedStringVector * G4QGSModel<ParticipantType>::GetStrings()"<<G4endl;
// clean-up and consistancy with design, HPW Feb 1999
// also fixing a memory leak, removing unnecessary caching, and
// streamlining of logic
G4PartonPair* aPair;
G4ExcitedStringVector* theStrings = new G4ExcitedStringVector;
G4ExcitedString * aString;
while( (aPair = theParticipants.GetNextPartonPair()) ) /* Loop checking, 26.10.2015, A.Ribon */
while( (aPair = theParticipants.GetNextPartonPair()) ) /* Loop checking, 07.08.2015, A.Ribon */
{
//G4cout<<"aPair->GetCollisionType() "<<aPair->GetCollisionType()<<G4endl;
if (aPair->GetCollisionType() == G4PartonPair::DIFFRACTIVE)
{
aString = theDiffractiveStringBuilder.BuildString(aPair);
// G4cout << "diffractive "<<aString->Get4Momentum()<<G4endl;
//G4cout << "diffractive "<<aString->Get4Momentum()<<G4endl;
}
else
{
aString = theSoftStringBuilder.BuildString(aPair);
// G4cout << "soft "<<aString->Get4Momentum()<<G4endl;
//G4cout << "soft "<<aString->Get4Momentum()<<G4endl;
}
//--DEBUG-- G4cout << " QGSModel.icc::GetStrings() theCurrentVelocity " << theCurrentVelocity << G4endl;
aString->Boost(theCurrentVelocity);
theStrings->push_back(aString);
delete aPair;
}
//--DEBUG-- G4cout << G4endl;
// for(G4int i=0; i<theStrings->size(); i++)
// {
// G4cout << "String = "<<theStrings->operator[](i)->Get4Momentum()<<G4endl;
// }
return theStrings;
}
@@ -37,6 +37,7 @@
#include "G4QGSMSplitableHadron.hh"
#include "G4V3DNucleus.hh"
#include "G4VSplitableHadron.hh" // Uzhi
class G4QGSParticipants : public G4VParticipants
{
@@ -51,6 +52,7 @@ public:
virtual void DoLorentzBoost(G4ThreeVector aBoost)
{
theCurrentVelocity = -aBoost; // Uzhi 17 Apr. 2015
if(theNucleus) theNucleus->DoLorentzBoost(aBoost);
theBoost = aBoost;
}
@@ -59,11 +61,95 @@ public:
void BuildInteractions(const G4ReactionProduct &thePrimary);
void StartPartonPairLoop();
//Uzhi Start copy from FTFmodel
private:
//Uzhi G4V3DNucleus* GetWoundedNucleus() const;
G4V3DNucleus* GetTargetNucleus() const;
G4V3DNucleus* GetProjectileNucleus() const;
void PrepareInitialState( const G4ReactionProduct& thePrimary );
void GetList( const G4ReactionProduct& thePrimary );
void StoreInvolvedNucleon();
void ReggeonCascade();
G4bool PutOnMassShell();
//Uzhi G4bool ExciteParticipants();
//Uzhi G4ExcitedStringVector* BuildStrings();
void GetResiduals();
//Uzhi G4bool AdjustNucleons( G4VSplitableHadron* SelectedAntiBaryon,
//Uzhi G4Nucleon* ProjectileNucleon,
//Uzhi G4VSplitableHadron* SelectedTargetNucleon,
//Uzhi G4Nucleon* TargetNucleon,
//Uzhi G4bool Annihilation );
G4ThreeVector GaussianPt( G4double AveragePt2, G4double maxPtSquare ) const;
G4bool ComputeNucleusProperties( G4V3DNucleus* nucleus, G4LorentzVector& nucleusMomentum,
G4LorentzVector& residualMomentum, G4double& sumMasses,
G4double& residualExcitationEnergy, G4double& residualMass,
G4int& residualMassNumber, G4int& residualCharge );
// Utility method used by PutOnMassShell.
G4bool GenerateDeltaIsobar( const G4double sqrtS, const G4int numberOfInvolvedNucleons,
G4Nucleon* involvedNucleons[], G4double& sumMasses );
// Utility method used by PutOnMassShell.
G4bool SamplingNucleonKinematics( G4double averagePt2, const G4double maxPt2,
G4double dCor, G4V3DNucleus* nucleus,
const G4LorentzVector& pResidual,
const G4double residualMass, const G4int residualMassNumber,
const G4int numberOfInvolvedNucleons,
G4Nucleon* involvedNucleons[], G4double& mass2 );
// Utility method used by PutOnMassShell.
G4bool CheckKinematics( const G4double sValue, const G4double sqrtS,
const G4double projectileMass2, const G4double targetMass2,
const G4double nucleusY, const G4bool isProjectileNucleus,
const G4int numberOfInvolvedNucleons, G4Nucleon* involvedNucleons[],
G4double& targetWminus, G4double& projectileWplus, G4bool& success );
// Utility method used by PutOnMassShell.
G4bool FinalizeKinematics( const G4double w, const G4bool isProjectileNucleus,
const G4LorentzRotation& boostFromCmsToLab,
const G4double residualMass, const G4int residualMassNumber,
const G4int numberOfInvolvedNucleons,
G4Nucleon* involvedNucleons[],
G4LorentzVector& residual4Momentum );
// Utility method used by PutOnMassShell.
//Uzhi End copy from FTFmodel
void CreateStrings();
//Uzhi Start copy from FTFparameters
private:
// 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 parameters of nuclear destruction
G4double GetCofNuclearDestruction();
G4double GetR2ofNuclearDestruction();
G4double GetExcitationEnergyPerWoundedNucleon();
G4double GetDofNuclearDestruction();
G4double GetPt2ofNuclearDestruction();
G4double GetMaxPt2ofNuclearDestruction();
//Uzhi End copy from FTFparameters
protected:
virtual G4VSplitableHadron* SelectInteractions(const G4ReactionProduct &thePrimary);
void SplitHadrons();
void PerformSoftCollisions();
void PerformDiffractiveCollisions();
G4bool DeterminePartonMomenta();
protected:
struct DeleteInteractionContent {void operator()(G4InteractionContent*aC){delete aC;}};
@@ -79,7 +165,7 @@ protected:
G4bool IsSingleDiffractive();
G4ThreeVector theBoost;
G4double SampleX(G4double anXmin, G4int nSea, G4int theTotalSea, G4double aBeta);
protected:
// model parameters HPW
enum { SOFT, DIFFRACTIVE };
@@ -88,6 +174,60 @@ protected:
const G4double QGSMThreshold;
const G4double theNucleonRadius;
// cash theCurrentVelocity for lorentztrafo HPW
G4ThreeVector theCurrentVelocity; // Uzhi 17 Apr. 2015
G4QGSMSplitableHadron* theProjectileSplitable; // Uzhi 21.05.2015
private:
//Uzhi Start copy from FTFmodel
G4ReactionProduct theProjectile;
// G4QGSMSplitableHadron* theProjectileSplitable;
G4double alpha;
G4double beta;
G4double sigmaPt;
//Uzhi G4FTFParticipants theParticipants;
G4Nucleon* TheInvolvedNucleonsOfTarget[250];
G4int NumberOfInvolvedNucleonsOfTarget;
G4Nucleon* TheInvolvedNucleonsOfProjectile[250];
G4int NumberOfInvolvedNucleonsOfProjectile;
//Uzhi G4FTFParameters* theParameters;
//Uzhi G4DiffractiveExcitation* theExcitation;
//Uzhi G4ElasticHNScattering* theElastic;
//Uzhi G4FTFAnnihilation* theAnnihilation;
//Uzhi std::vector< G4VSplitableHadron* > theAdditionalString;
//Uzhi G4double LowEnergyLimit;
//Uzhi G4bool HighEnergyInter;
G4LorentzVector ProjectileResidual4Momentum;
G4int ProjectileResidualMassNumber;
G4int ProjectileResidualCharge;
G4double ProjectileResidualExcitationEnergy;
G4LorentzVector TargetResidual4Momentum;
G4int TargetResidualMassNumber;
G4int TargetResidualCharge;
G4double TargetResidualExcitationEnergy;
//Uzhi End copy from FTFmodel
//Uzhi Start copy from FTFparameters
private:
// 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
//Uzhi End copy from FTFparameters
};
@@ -113,13 +253,102 @@ inline G4PartonPair* G4QGSParticipants::GetNextPartonPair()
inline void G4QGSParticipants::SplitHadrons()
{
//G4cout<<"----------------------------------- SplitHadrons -------------"<<G4endl;
//G4cout<<"theInteractions.size() "<<theInteractions.size()<<G4endl;
unsigned int i;
for(i = 0; i < theInteractions.size(); i++)
{
//G4cout<<i<<" "<<theInteractions[i]->GetProjectile()<<" "<<theInteractions[i]->GetProjectileNucleon()<<" "
// <<theInteractions[i]->GetTarget()<<" "<<theInteractions[i]->GetTargetNucleon()<<G4endl;
//G4cout<<i<<" "<<theInteractions[i]->GetProjectile()->GetDefinition()->GetParticleName()<<G4endl;
//G4cout<<i<<" "<<theInteractions[i]->GetTarget()->GetDefinition()->GetParticleName()<<G4endl;
}
for(i = 0; i < theInteractions.size(); i++)
{
//G4cout<<i<<" "<<theInteractions[i]->GetNumberOfSoftCollisions()<<" "
// <<theInteractions[i]->GetNumberOfHardCollisions()<<" "
// <<theInteractions[i]->GetNumberOfDiffractiveCollisions()<<G4endl;
}
//G4cout<<"******************************** SplitHadrons ************"<<G4endl;
for(i = 0; i < theInteractions.size(); i++)
{
//G4cout<<"Interaction # "<<i<<" QGSPartic"<<G4endl;
theInteractions[i]->SplitHadrons();
}
}
//--------------------------------------
//Uzhi Copy from FTF Model.hh
/*
inline G4V3DNucleus* G4QGSParticipants::GetWoundedNucleus() const {
return theNucleus;
}
*/
inline G4V3DNucleus* G4QGSParticipants::GetTargetNucleus() const {
return theNucleus;
}
inline G4V3DNucleus* G4QGSParticipants::GetProjectileNucleus() const {
return 0;
}
//Uzhi Start copy from FTFparameters
// Set parameters of nuclear destruction
inline void G4QGSParticipants::SetCofNuclearDestruction( const G4double aValue ) {
CofNuclearDestruction = aValue;
}
inline void G4QGSParticipants::SetR2ofNuclearDestruction( const G4double aValue ) {
R2ofNuclearDestruction = aValue;
}
inline void G4QGSParticipants::SetExcitationEnergyPerWoundedNucleon( const G4double aValue ) {
ExcitationEnergyPerWoundedNucleon = aValue;
}
inline void G4QGSParticipants::SetDofNuclearDestruction( const G4double aValue ) {
DofNuclearDestruction = aValue;
}
inline void G4QGSParticipants::SetPt2ofNuclearDestruction( const G4double aValue ) {
Pt2ofNuclearDestruction = aValue;
}
inline void G4QGSParticipants::SetMaxPt2ofNuclearDestruction( const G4double aValue ) {
MaxPt2ofNuclearDestruction = aValue;
}
// Get parameters of nuclear destruction
inline G4double G4QGSParticipants::GetCofNuclearDestruction() {
return CofNuclearDestruction;
}
inline G4double G4QGSParticipants::GetR2ofNuclearDestruction() {
return R2ofNuclearDestruction;
}
inline G4double G4QGSParticipants::GetExcitationEnergyPerWoundedNucleon() {
return ExcitationEnergyPerWoundedNucleon;
}
inline G4double G4QGSParticipants::GetDofNuclearDestruction() {
return DofNuclearDestruction;
}
inline G4double G4QGSParticipants::GetPt2ofNuclearDestruction() {
return Pt2ofNuclearDestruction;
}
inline G4double G4QGSParticipants::GetMaxPt2ofNuclearDestruction() {
return MaxPt2ofNuclearDestruction;
}
//Uzhi End copy from FTFparameters
#endif