Import Geant4 10.6.0 source tree
This commit is contained in:
-3
@@ -48,15 +48,12 @@ class G4ExcitedStringDecay: public G4VStringFragmentation
|
||||
G4bool operator!=(const G4ExcitedStringDecay &right) const;
|
||||
|
||||
public:
|
||||
|
||||
virtual G4KineticTrackVector * FragmentStrings(const G4ExcitedStringVector * theStrings);
|
||||
|
||||
private:
|
||||
G4KineticTrackVector * FragmentString(const G4ExcitedString &theString);
|
||||
G4bool EnergyAndMomentumCorrector(G4KineticTrackVector* Output, G4LorentzVector& TotalCollisionMom);
|
||||
|
||||
G4VLongitudinalStringDecay * theStringDecay;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
+13
-12
@@ -48,8 +48,7 @@ class G4ExcitedString;
|
||||
|
||||
class G4FragmentingString
|
||||
{
|
||||
public:
|
||||
|
||||
public:
|
||||
G4FragmentingString(const G4FragmentingString &right);
|
||||
G4FragmentingString(const G4ExcitedString &excited);
|
||||
G4FragmentingString(const G4FragmentingString &old,
|
||||
@@ -64,7 +63,6 @@ class G4FragmentingString
|
||||
G4bool operator==(const G4FragmentingString &right) const;
|
||||
|
||||
G4bool operator!=(const G4FragmentingString &right) const;
|
||||
|
||||
|
||||
G4LorentzVector Get4Momentum() const;
|
||||
|
||||
@@ -92,7 +90,7 @@ class G4FragmentingString
|
||||
|
||||
G4bool DecayIsQuark();
|
||||
G4bool StableIsQuark();
|
||||
G4bool FourQuarkString(void) const;
|
||||
G4bool IsAFourQuarkString(void) const;
|
||||
|
||||
G4LorentzVector GetPstring();
|
||||
G4LorentzVector GetPleft();
|
||||
@@ -105,7 +103,6 @@ class G4FragmentingString
|
||||
void Boost(G4ThreeVector& Velocity);
|
||||
|
||||
private:
|
||||
|
||||
G4ParticleDefinition *LeftParton, *RightParton;
|
||||
G4ThreeVector Ptleft,Ptright; // Pt (px,py) for partons (pz ignored!)
|
||||
G4double Pplus, Pminus; // p-, p+ of string, Plus ass. to Left!
|
||||
@@ -144,15 +141,15 @@ G4ParticleDefinition * G4FragmentingString::GetDecayParton() const
|
||||
|
||||
inline
|
||||
G4ParticleDefinition* G4FragmentingString::GetLeftParton(void) const
|
||||
{
|
||||
{
|
||||
return LeftParton;
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
G4ParticleDefinition* G4FragmentingString::GetRightParton(void) const
|
||||
{
|
||||
{
|
||||
return RightParton;
|
||||
}
|
||||
}
|
||||
|
||||
//+++++++++++++++++++++++++++
|
||||
inline
|
||||
@@ -207,11 +204,15 @@ G4LorentzRotation G4FragmentingString::TransformToAlignedCms()
|
||||
|
||||
inline
|
||||
void G4FragmentingString::SetPleft(G4LorentzVector a4momentum)
|
||||
{ Pleft = a4momentum;}
|
||||
{
|
||||
Pleft = a4momentum;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4FragmentingString::SetPright(G4LorentzVector a4momentum)
|
||||
{ Pright = a4momentum;}
|
||||
{
|
||||
Pright = a4momentum;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
+3
-3
@@ -45,7 +45,6 @@
|
||||
class G4HadronBuilder
|
||||
{
|
||||
public:
|
||||
|
||||
G4ParticleDefinition * Build(G4ParticleDefinition * black, G4ParticleDefinition * white);
|
||||
G4ParticleDefinition * BuildLowSpin(G4ParticleDefinition * black, G4ParticleDefinition * white);
|
||||
G4ParticleDefinition * BuildHighSpin(G4ParticleDefinition * black, G4ParticleDefinition * white);
|
||||
@@ -53,10 +52,10 @@ class G4HadronBuilder
|
||||
// ctor
|
||||
G4HadronBuilder(G4double mesonMix, G4double barionMix,
|
||||
std::vector<double> scalarMesonMix,
|
||||
std::vector<double> vectorMesonMix);
|
||||
std::vector<double> vectorMesonMix,
|
||||
G4double Eta_cProb, G4double Eta_bProb);
|
||||
|
||||
private:
|
||||
|
||||
G4HadronBuilder(); // no default ctor
|
||||
|
||||
enum Spin { SpinZero=1, SpinHalf=2, SpinOne=3, SpinThreeHalf=4 };
|
||||
@@ -70,6 +69,7 @@ class G4HadronBuilder
|
||||
std::vector<double> scalarMesonMixings;
|
||||
std::vector<double> vectorMesonMixings;
|
||||
|
||||
G4double ProbEta_c, ProbEta_b;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
+43
-73
@@ -39,104 +39,74 @@
|
||||
//**************************************************************************************************************
|
||||
|
||||
class G4LundStringFragmentation: public G4VLongitudinalStringDecay
|
||||
{
|
||||
public:
|
||||
|
||||
{
|
||||
public:
|
||||
G4LundStringFragmentation();
|
||||
virtual ~G4LundStringFragmentation();
|
||||
|
||||
virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString);
|
||||
|
||||
private:
|
||||
private:
|
||||
// not implemented to protect/forbid use
|
||||
G4LundStringFragmentation(const G4LundStringFragmentation &right);
|
||||
const G4LundStringFragmentation & operator=(const G4LundStringFragmentation &right);
|
||||
G4bool operator==(const G4LundStringFragmentation &right) const;
|
||||
G4bool operator!=(const G4LundStringFragmentation &right) const;
|
||||
|
||||
private:
|
||||
void SetMinMasses();
|
||||
void SetMinimalStringMass(const G4FragmentingString * const string);
|
||||
void SetMinimalStringMass2(const G4double aValue);
|
||||
private:
|
||||
virtual G4bool StopFragmenting(const G4FragmentingString * const string);
|
||||
virtual G4bool IsItFragmentable(const G4FragmentingString * const string);
|
||||
|
||||
virtual G4bool StopFragmenting(const G4FragmentingString * const string);
|
||||
virtual G4bool IsFragmentable(const G4FragmentingString * const string);
|
||||
virtual G4bool SplitLast(G4FragmentingString * string,
|
||||
G4KineticTrackVector * LeftVector,
|
||||
G4KineticTrackVector * RightVector);
|
||||
|
||||
virtual G4bool SplitLast(G4FragmentingString * string,
|
||||
G4KineticTrackVector * LeftVector,
|
||||
G4KineticTrackVector * RightVector);
|
||||
virtual void Sample4Momentum(G4LorentzVector* Mom, G4double Mass,
|
||||
G4LorentzVector* AntiMom, G4double AntiMass,
|
||||
G4double InitialMass);
|
||||
|
||||
virtual void Sample4Momentum(G4LorentzVector* Mom, G4double Mass,
|
||||
G4LorentzVector* AntiMom, G4double AntiMass,
|
||||
G4double InitialMass);
|
||||
virtual G4KineticTrack * Splitup(G4FragmentingString *string,
|
||||
G4FragmentingString *&newString);
|
||||
|
||||
virtual G4KineticTrack * Splitup(G4FragmentingString *string,
|
||||
G4FragmentingString *&newString);
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString);
|
||||
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString);
|
||||
virtual G4double GetLightConeZ(G4double zmin, G4double zmax,
|
||||
G4int PartonEncoding,
|
||||
G4ParticleDefinition* pHadron,
|
||||
G4double Px, G4double Py);
|
||||
|
||||
virtual G4double GetLightConeZ(G4double zmin, G4double zmax,
|
||||
G4int PartonEncoding,
|
||||
G4ParticleDefinition* pHadron,
|
||||
G4double Px, G4double Py);
|
||||
G4double lambda(G4double s, G4double m1_Sqr, G4double m2_Sqr);
|
||||
|
||||
G4double lambda(G4double s, G4double m1_Sqr, G4double m2_Sqr);
|
||||
// virtual G4ParticleDefinition * QuarkSplitup(G4ParticleDefinition* decay,
|
||||
// G4ParticleDefinition *&created);
|
||||
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
|
||||
private:
|
||||
private:
|
||||
G4bool Loop_toFragmentString(const G4ExcitedString & theStringInCMS,
|
||||
G4KineticTrackVector * & LeftVector,
|
||||
G4KineticTrackVector * & RightVector);
|
||||
|
||||
G4bool Loop_toFragmentString(const G4ExcitedString & theStringInCMS,
|
||||
G4KineticTrackVector * & LeftVector,
|
||||
G4KineticTrackVector * & RightVector);
|
||||
G4bool Diquark_AntiDiquark_belowThreshold_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
|
||||
G4bool Diquark_AntiDiquark_belowThreshold_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
G4bool Diquark_AntiDiquark_aboveThreshold_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
|
||||
G4bool Diquark_AntiDiquark_aboveThreshold_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
G4bool Quark_AntiQuark_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
|
||||
G4bool Quark_AntiQuark_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
|
||||
G4bool Quark_Diquark_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron );
|
||||
|
||||
G4int SampleState(void);
|
||||
|
||||
private:
|
||||
// ------ For estimation of a minimal string mass ---------------
|
||||
G4double Mass_of_light_quark;
|
||||
G4double Mass_of_heavy_quark;
|
||||
G4double Mass_of_string_junction;
|
||||
|
||||
G4double minMassQQbarStr[3][3];
|
||||
G4double minMassQDiQStr[3][3][3];
|
||||
|
||||
// ------ An estimated minimal string mass ----------------------
|
||||
G4double MinimalStringMass;
|
||||
G4double MinimalStringMass2;
|
||||
|
||||
G4int Meson[3][3][6];
|
||||
G4double MesonWeight[3][3][6];
|
||||
|
||||
G4int Baryon[3][3][3][4];
|
||||
G4double BaryonWeight[3][3][3][4];
|
||||
|
||||
G4double Prob_QQbar[3];
|
||||
|
||||
// ------ To improve the code structure
|
||||
G4ParticleDefinition * FS_LeftHadron[35], * FS_RightHadron[35];
|
||||
G4double FS_Weight[35];
|
||||
G4int NumberOf_FS;
|
||||
G4bool Quark_Diquark_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron );
|
||||
|
||||
G4int SampleState(void);
|
||||
};
|
||||
|
||||
//**************************************************************************************************************
|
||||
|
||||
+39
-26
@@ -51,12 +51,8 @@ class G4QGSMFragmentation:public G4VLongitudinalStringDecay
|
||||
G4bool operator!=(const G4QGSMFragmentation &right) const;
|
||||
|
||||
private:
|
||||
void SetMinMasses();
|
||||
void SetMinimalStringMass(const G4FragmentingString * const string);
|
||||
void SetMinimalStringMass2(const G4double aValue);
|
||||
|
||||
virtual G4bool StopFragmenting(const G4FragmentingString * const string);
|
||||
virtual G4bool IsFragmentable(const G4FragmentingString * const string);
|
||||
virtual G4bool IsItFragmentable(const G4FragmentingString * const string);
|
||||
|
||||
virtual G4bool SplitLast(G4FragmentingString * string,
|
||||
G4KineticTrackVector * LeftVector,
|
||||
@@ -68,6 +64,13 @@ class G4QGSMFragmentation:public G4VLongitudinalStringDecay
|
||||
virtual G4KineticTrack * Splitup(G4FragmentingString *string,
|
||||
G4FragmentingString *&newString);
|
||||
|
||||
// The hadron can be producet at QuarkSplitup or DiQuarkSplitup
|
||||
// virtual G4ParticleDefinition * QuarkSplitup(G4ParticleDefinition* decay,
|
||||
// G4ParticleDefinition *&created);
|
||||
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString);
|
||||
@@ -75,32 +78,42 @@ class G4QGSMFragmentation:public G4VLongitudinalStringDecay
|
||||
virtual G4double GetLightConeZ(G4double zmin, G4double zmax, G4int PartonEncoding,
|
||||
G4ParticleDefinition* pHadron, G4double Px, G4double Py);
|
||||
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
private:
|
||||
// model parameters
|
||||
G4double arho;
|
||||
G4double aphi;
|
||||
G4double aJPs; // alpha_J/Psi
|
||||
G4double aUps; // alpha_Y
|
||||
G4double an;
|
||||
G4double ala;
|
||||
|
||||
G4double alaC;
|
||||
G4double alaB;
|
||||
G4double aXi;
|
||||
G4double aXiC;
|
||||
G4double aXiB;
|
||||
G4double aXiCC;
|
||||
G4double aXiCB;
|
||||
G4double aXiBB;
|
||||
|
||||
G4double aksi;
|
||||
G4double alft;
|
||||
|
||||
G4double FFq2q[5][5][2];
|
||||
G4double FFq2qq[5][15][2];
|
||||
G4double FFqq2q[15][5][2];
|
||||
G4double FFqq2qq[15][5][2];
|
||||
|
||||
private:
|
||||
// ------ For estimation of a minimal string mass ---------------
|
||||
G4double Mass_of_light_quark;
|
||||
G4double Mass_of_heavy_quark;
|
||||
G4double Mass_of_string_junction;
|
||||
|
||||
G4double minMassQQbarStr[3][3];
|
||||
G4double minMassQDiQStr[3][3][3];
|
||||
|
||||
// ------ An estimated minimal string mass ----------------------
|
||||
G4double MinimalStringMass;
|
||||
G4double MinimalStringMass2;
|
||||
|
||||
// model parameters
|
||||
const G4double arho;
|
||||
const G4double aphi;
|
||||
const G4double an;
|
||||
const G4double ala;
|
||||
const G4double aksi;
|
||||
const G4double alft;
|
||||
void SetFFq2q();
|
||||
void SetFFq2qq();
|
||||
void SetFFqq2qq();
|
||||
void SetFFqq2q();
|
||||
|
||||
G4int IndexDiQ[5][5];
|
||||
};
|
||||
|
||||
// Class G4QGSMFragmentation
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
-68
@@ -1,68 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * 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. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// Maxim Komogorov
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
//
|
||||
// History: first implementation, Maxim Komogorov, 10-Oct-1998
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#ifndef G4VKinkyStringDecay_h
|
||||
#define G4VKinkyStringDecay_h 1
|
||||
|
||||
#include "G4VLongitudinalStringDecay.hh"
|
||||
|
||||
//*****************************************************************************************
|
||||
|
||||
class G4VKinkyStringDecay
|
||||
{
|
||||
public:
|
||||
G4VKinkyStringDecay(G4VLongitudinalStringDecay* theModal);
|
||||
virtual ~G4VKinkyStringDecay() {};
|
||||
|
||||
public:
|
||||
G4KineticTrackVector* FragmentString(const G4ExcitedString& String);
|
||||
virtual G4double GetLightConeGluonZ(G4double zmin, G4double zmax);
|
||||
void SetLongitudinalStringDecay(G4VLongitudinalStringDecay*);
|
||||
|
||||
private:
|
||||
G4VLongitudinalStringDecay* theLongitudinalStringDecay;
|
||||
|
||||
};
|
||||
|
||||
//*****************************************************************************************
|
||||
|
||||
inline void G4VKinkyStringDecay::SetLongitudinalStringDecay(G4VLongitudinalStringDecay* theModal)
|
||||
{
|
||||
theLongitudinalStringDecay = theModal;
|
||||
}
|
||||
|
||||
//*****************************************************************************************
|
||||
|
||||
#endif
|
||||
|
||||
+99
-44
@@ -24,20 +24,19 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// Maxim Komogorov
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
//
|
||||
// History: first implementation, Maxim Komogorov, 1-Jul-1998
|
||||
// -----------------------------------------------------------------------------
|
||||
#ifndef G4VLongitudinalStringDecay_h
|
||||
#define G4VLongitudinalStringDecay_h 1
|
||||
|
||||
#include "G4VStringFragmentation.hh"
|
||||
#include "G4DynamicParticle.hh"
|
||||
#include "G4KineticTrack.hh"
|
||||
#include "G4KineticTrackVector.hh"
|
||||
#include "G4HadronBuilder.hh"
|
||||
#include <vector>
|
||||
|
||||
class G4FragmentingString;
|
||||
//**************************************************************************************
|
||||
@@ -58,14 +57,22 @@ class G4VLongitudinalStringDecay
|
||||
public:
|
||||
virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString)=0;
|
||||
|
||||
protected:
|
||||
void AddNewParticles();
|
||||
void EraseNewParticles();
|
||||
//struct DeleteString { void operator()(G4ExcitedString* aS){delete aS;} };
|
||||
|
||||
// To set minimal mass of a string. The string with mass above the minimal mass can fragment.
|
||||
void SetMinMasses();
|
||||
void SetMinimalStringMass(const G4FragmentingString * const string);
|
||||
void SetMinimalStringMass2(const G4double aValue);
|
||||
|
||||
protected:
|
||||
// For changing Mass Cut used for selection of very small mass strings
|
||||
virtual void SetMassCut(G4double aValue);
|
||||
G4double GetMassCut();
|
||||
|
||||
// For handling a string with very low mass
|
||||
G4KineticTrackVector * LightFragmentationTest(const G4ExcitedString * const theString);
|
||||
G4KineticTrackVector * ProduceOneHadron(const G4ExcitedString * const theString);
|
||||
|
||||
// To store created quarks or 2 last hadrons
|
||||
typedef std::pair<G4ParticleDefinition*, G4ParticleDefinition*> pDefPair;
|
||||
@@ -74,52 +81,52 @@ class G4VLongitudinalStringDecay
|
||||
typedef G4ParticleDefinition * (G4HadronBuilder::*Pcreate)
|
||||
(G4ParticleDefinition*, G4ParticleDefinition*);
|
||||
|
||||
// Used by LightFragmentationTest for estimation of lowest possible mass of
|
||||
// given quark system
|
||||
G4double FragmentationMass(const G4FragmentingString * const string,
|
||||
// Used by ProduceOneHadron method for estimation of lowest possible mass of
|
||||
// given quark system -- string.
|
||||
G4double PossibleHadronMass(const G4FragmentingString * const string,
|
||||
Pcreate build=0, pDefPair * pdefs=0);
|
||||
|
||||
G4ParticleDefinition* FindParticle(G4int Encoding);
|
||||
|
||||
virtual void Sample4Momentum(G4LorentzVector* Mom, G4double Mass,
|
||||
G4LorentzVector* AntiMom, G4double AntiMass,
|
||||
G4double InitialMass)=0;
|
||||
|
||||
// For decision on continue or stop string fragmentation
|
||||
virtual G4bool StopFragmenting(const G4FragmentingString * const string)=0;
|
||||
virtual G4bool IsFragmentable(const G4FragmentingString * const string)=0;
|
||||
virtual G4bool IsItFragmentable(const G4FragmentingString * const string)=0;
|
||||
|
||||
// If a string can not fragment, make last break into 2 hadrons
|
||||
virtual G4bool SplitLast(G4FragmentingString * string,
|
||||
G4KineticTrackVector * LeftVector,
|
||||
G4KineticTrackVector * RightVector)=0;
|
||||
|
||||
// If a string fragments, do the following
|
||||
virtual void Sample4Momentum(G4LorentzVector* Mom, G4double Mass,
|
||||
G4LorentzVector* AntiMom, G4double AntiMass,
|
||||
G4double InitialMass)=0;
|
||||
|
||||
// To make a copy of a string
|
||||
// If a string can fragment, do the following:
|
||||
|
||||
// Make a copy of a string
|
||||
G4ExcitedString *CopyExcited(const G4ExcitedString& string);
|
||||
|
||||
G4ParticleDefinition * QuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
// Produce a hadron at Splitup of the string
|
||||
virtual G4KineticTrack * Splitup(G4FragmentingString *string,
|
||||
G4FragmentingString *&newString)=0;
|
||||
|
||||
// The hadron can be producet at QuarkSplitup or DiQuarkSplitup
|
||||
virtual G4ParticleDefinition * QuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created)=0;
|
||||
|
||||
|
||||
// All of them are going through quak-antiquark pair creation
|
||||
pDefPair CreatePartonPair(G4int NeedParticle, G4bool AllowDiquarks=true);
|
||||
|
||||
public:
|
||||
// used by G4VKinkyStringDecy..
|
||||
// For a pair it is needed:
|
||||
G4int SampleQuarkFlavor(void);
|
||||
G4ThreeVector SampleQuarkPt(G4double ptMax=-1.); // -1. no limit on maxpt.
|
||||
|
||||
protected:
|
||||
|
||||
// For determination of kinematical properties of created hadron
|
||||
// virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
// G4FragmentingString * string )=0;
|
||||
virtual G4KineticTrack * Splitup(G4FragmentingString *string,
|
||||
G4FragmentingString *&newString)=0;
|
||||
|
||||
// For determination of kinematical properties of the created hadron
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString )=0;
|
||||
@@ -139,9 +146,6 @@ class G4VLongitudinalStringDecay
|
||||
G4bool theGivenSpin, G4int theSpin);
|
||||
|
||||
public:
|
||||
|
||||
G4KineticTrackVector* DecayResonans (G4KineticTrackVector* aHadrons);
|
||||
|
||||
void SetSigmaTransverseMomentum(G4double aQT);
|
||||
void SetStrangenessSuppression(G4double aValue);
|
||||
void SetDiquarkSuppression(G4double aValue);
|
||||
@@ -155,29 +159,33 @@ class G4VLongitudinalStringDecay
|
||||
|
||||
void SetStringTensionParameter(G4double aValue);
|
||||
|
||||
// G4LorentzVector RestMomentum;
|
||||
void SetProbCCbar(G4double aValue);
|
||||
void SetProbEta_c(G4double aValue);
|
||||
void SetProbBBbar(G4double aValue);
|
||||
void SetProbEta_b(G4double aValue);
|
||||
|
||||
//private:
|
||||
protected:
|
||||
G4double GetDiquarkSuppress() {return DiquarkSuppress;};
|
||||
G4double GetDiquarkBreakProb() {return DiquarkBreakProb;};
|
||||
G4double GetStrangeSuppress() {return StrangeSuppress;};
|
||||
G4double GetClusterMass() {return ClusterMass;};
|
||||
G4int GetClusterLoopInterrupt() {return ClusterLoopInterrupt;};
|
||||
|
||||
G4double GetProbCCbar(){return ProbCCbar;};
|
||||
G4double GetProbEta_c(){return ProbEta_c;};
|
||||
G4double GetProbBBbar(){return ProbBBbar;};
|
||||
G4double GetProbEta_b(){return ProbEta_b;};
|
||||
|
||||
G4double GetStringTensionParameter() {return Kappa;};
|
||||
|
||||
//private:
|
||||
|
||||
protected:
|
||||
G4double MassCut;
|
||||
G4double ClusterMass;
|
||||
G4double SigmaQT; // sigma_q_t is quark transverse momentum distribution parameter
|
||||
G4double DiquarkSuppress; // is Diquark suppression parameter
|
||||
G4double DiquarkBreakProb; // is Diquark breaking probability
|
||||
G4double SmoothParam; // model parameter
|
||||
G4double SigmaQT; // sigma_q_t of quark/hadron transverse momentum distribution parameter
|
||||
G4double DiquarkSuppress; // Diquark suppression parameter
|
||||
G4double DiquarkBreakProb; // Diquark breaking probability, qq->h+qq'
|
||||
G4double StrangeSuppress ;
|
||||
G4int StringLoopInterrupt;
|
||||
G4int ClusterLoopInterrupt;
|
||||
|
||||
G4HadronBuilder *hadronizer;
|
||||
|
||||
G4double pspin_meson;
|
||||
@@ -185,16 +193,63 @@ class G4VLongitudinalStringDecay
|
||||
std::vector<G4double> vectorMesonMix;
|
||||
std::vector<G4double> scalarMesonMix;
|
||||
|
||||
G4bool PastInitPhase;
|
||||
G4double ProbCCbar; // Probability of C-Cbar pair creation
|
||||
G4double ProbEta_c; // Mixing of Eta_c and J/Psi
|
||||
|
||||
G4double Kappa; // String tension parameter
|
||||
G4double ProbBBbar; // Probability of B-Bbar pair creation
|
||||
G4double ProbEta_b; // Mixing of Eta_b and Ipsilon_b
|
||||
|
||||
// G4double MinFragmentationMass(G4ExcitedString * theString,
|
||||
// G4ParticleDefinition*& Hadron1,
|
||||
// G4ParticleDefinition*& Hadron2);
|
||||
G4double ProbCB; // = ProbCCbar + ProbBBbar
|
||||
|
||||
G4double MaxMass;
|
||||
|
||||
G4bool PastInitPhase;
|
||||
|
||||
G4double Kappa; // String tension parameter
|
||||
|
||||
std::vector<G4ParticleDefinition *> NewParticles;
|
||||
|
||||
public:
|
||||
// ------ For estimation of a minimal string mass ---------------
|
||||
G4double Mass_of_light_quark;
|
||||
G4double Mass_of_s_quark;
|
||||
G4double Mass_of_c_quark;
|
||||
G4double Mass_of_b_quark;
|
||||
G4double Mass_of_string_junction;
|
||||
|
||||
G4double minMassQQbarStr[5][5];
|
||||
G4double minMassQDiQStr[5][5][5];
|
||||
|
||||
// ------ An estimated minimal string mass ----------------------
|
||||
G4double MinimalStringMass;
|
||||
G4double MinimalStringMass2;
|
||||
|
||||
G4int Qcharge[5]; // quark charges
|
||||
G4int Meson[5][5][7];
|
||||
G4double MesonWeight[5][5][7];
|
||||
|
||||
G4int Baryon[5][5][5][4];
|
||||
G4double BaryonWeight[5][5][5][4];
|
||||
|
||||
G4double Prob_QQbar[5];
|
||||
|
||||
G4int DecayQuark;
|
||||
G4int NewQuark;
|
||||
/*
|
||||
G4double FFq2q[5][5][2];
|
||||
G4double FFq2qq[5][15][2];
|
||||
G4double FFqq2q[15][5][2];
|
||||
G4double FFqq2qq[15][5][2];
|
||||
*/
|
||||
|
||||
// ------ To improve the code structure
|
||||
G4ParticleDefinition * FS_LeftHadron[350], * FS_RightHadron[350];
|
||||
G4double FS_Weight[350];
|
||||
G4int NumberOf_FS;
|
||||
};
|
||||
|
||||
//*************************************************************************************
|
||||
// Class G4VLongitudinalStringDecay
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user