Import Geant4 10.5.0.beta source tree
This commit is contained in:
+82
-8
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4FragmentingString.hh 106967 2017-10-31 08:41:49Z gcosmo $
|
||||
// $Id: G4FragmentingString.hh 107869 2017-12-07 14:46:39Z gcosmo $
|
||||
//
|
||||
|
||||
#ifndef G4FragmentingString_h
|
||||
@@ -42,12 +42,14 @@
|
||||
#include "globals.hh"
|
||||
#include "G4ThreeVector.hh"
|
||||
#include "G4LorentzVector.hh"
|
||||
#include "G4LorentzRotation.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
class G4ExcitedString;
|
||||
|
||||
class G4FragmentingString
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
G4FragmentingString(const G4FragmentingString &right);
|
||||
@@ -64,7 +66,8 @@ class G4FragmentingString
|
||||
int operator==(const G4FragmentingString &right) const;
|
||||
|
||||
int operator!=(const G4FragmentingString &right) const;
|
||||
|
||||
|
||||
|
||||
G4LorentzVector Get4Momentum() const;
|
||||
|
||||
G4ThreeVector StablePt();
|
||||
@@ -93,6 +96,17 @@ class G4FragmentingString
|
||||
G4bool StableIsQuark();
|
||||
G4bool FourQuarkString(void) const;
|
||||
|
||||
G4LorentzVector GetPstring();
|
||||
G4LorentzVector GetPleft();
|
||||
void SetPleft(G4LorentzVector a4momentum);
|
||||
G4LorentzVector GetPright();
|
||||
void SetPright(G4LorentzVector a4momentum);
|
||||
void LorentzRotate(const G4LorentzRotation & rotation);
|
||||
G4LorentzRotation TransformToCenterOfMass();
|
||||
G4LorentzRotation TransformToAlignedCms();
|
||||
void Boost(G4ThreeVector& Velocity);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
G4ParticleDefinition *LeftParton, *RightParton;
|
||||
@@ -101,6 +115,7 @@ class G4FragmentingString
|
||||
|
||||
G4ParticleDefinition * theStableParton, * theDecayParton;
|
||||
|
||||
G4LorentzVector Pstring, Pleft, Pright;
|
||||
enum DecaySide { None, Left, Right };
|
||||
DecaySide decaying;
|
||||
};
|
||||
@@ -121,26 +136,85 @@ int G4FragmentingString::operator!=(const G4FragmentingString &right) const
|
||||
inline
|
||||
G4ParticleDefinition * G4FragmentingString::GetStableParton() const
|
||||
{
|
||||
return theStableParton;
|
||||
return theStableParton;
|
||||
}
|
||||
|
||||
inline
|
||||
G4ParticleDefinition * G4FragmentingString::GetDecayParton() const
|
||||
{
|
||||
return theDecayParton;
|
||||
return theDecayParton;
|
||||
}
|
||||
|
||||
inline
|
||||
G4ParticleDefinition* G4FragmentingString::GetLeftParton(void) const
|
||||
{
|
||||
return LeftParton;
|
||||
}
|
||||
{
|
||||
return LeftParton;
|
||||
}
|
||||
|
||||
inline
|
||||
G4ParticleDefinition* G4FragmentingString::GetRightParton(void) const
|
||||
{
|
||||
return RightParton;
|
||||
}
|
||||
|
||||
//+++++++++++++++++++++++++++
|
||||
inline
|
||||
void G4FragmentingString::LorentzRotate(const G4LorentzRotation & rotation)
|
||||
{
|
||||
return RightParton;
|
||||
SetPleft(rotation*Pleft);
|
||||
SetPright(rotation*Pright);
|
||||
Pstring = Pleft+Pright;
|
||||
Ptleft =Pleft.vect(); Ptleft.setZ(0.);
|
||||
Ptright=Pright.vect(); Ptright.setZ(0.);
|
||||
Pplus =Pstring.plus();
|
||||
Pminus=Pstring.minus();
|
||||
}
|
||||
|
||||
inline
|
||||
G4LorentzRotation G4FragmentingString::TransformToCenterOfMass()
|
||||
{
|
||||
G4LorentzVector momentum=Pstring;
|
||||
G4LorentzRotation toCMS(-1*momentum.boostVector());
|
||||
|
||||
Pleft *= toCMS;
|
||||
Pright *= toCMS;
|
||||
Pstring *= toCMS;
|
||||
Ptleft =Pleft.vect(); Ptleft.setZ(0.);
|
||||
Ptright=Pright.vect(); Ptright.setZ(0.);
|
||||
Pplus =Pstring.plus();
|
||||
Pminus=Pstring.minus();
|
||||
return toCMS;
|
||||
}
|
||||
|
||||
inline
|
||||
G4LorentzRotation G4FragmentingString::TransformToAlignedCms()
|
||||
{
|
||||
G4LorentzVector momentum=Pstring;
|
||||
G4LorentzRotation toAlignedCms(-1*momentum.boostVector());
|
||||
|
||||
momentum= toAlignedCms* Pleft;
|
||||
toAlignedCms.rotateZ(-1*momentum.phi());
|
||||
toAlignedCms.rotateY(-1*momentum.theta());
|
||||
|
||||
Pleft *= toAlignedCms;
|
||||
Pright *= toAlignedCms;
|
||||
Pstring *= toAlignedCms;
|
||||
|
||||
Ptleft = G4ThreeVector(0.,0.,0.);
|
||||
Ptright = G4ThreeVector(0.,0.,0.);
|
||||
Pplus = Pstring.plus();
|
||||
Pminus = Pstring.minus();
|
||||
|
||||
return toAlignedCms;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4FragmentingString::SetPleft(G4LorentzVector a4momentum)
|
||||
{ Pleft = a4momentum;}
|
||||
|
||||
inline
|
||||
void G4FragmentingString::SetPright(G4LorentzVector a4momentum)
|
||||
{ Pright = a4momentum;}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
+72
-63
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LundStringFragmentation.hh 106967 2017-10-31 08:41:49Z gcosmo $
|
||||
// $Id: G4LundStringFragmentation.hh 107869 2017-12-07 14:46:39Z gcosmo $
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
@@ -40,102 +40,111 @@
|
||||
//**************************************************************************************************************
|
||||
|
||||
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);
|
||||
int operator==(const G4LundStringFragmentation &right) const;
|
||||
int operator!=(const G4LundStringFragmentation &right) const;
|
||||
|
||||
private:
|
||||
void SetMinimalStringMass(const G4FragmentingString * const string);
|
||||
void SetMinimalStringMass2(const G4double aValue);
|
||||
private:
|
||||
void SetMinMasses(); // Uzhi 23 Dec. 2016
|
||||
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 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 G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString);
|
||||
virtual G4KineticTrack * Splitup(G4FragmentingString *string,
|
||||
G4FragmentingString *&newString);
|
||||
|
||||
virtual G4double GetLightConeZ(G4double zmin, G4double zmax,
|
||||
G4int PartonEncoding,
|
||||
G4ParticleDefinition* pHadron,
|
||||
G4double Px, G4double Py);
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString);
|
||||
|
||||
G4double lambda(G4double s, G4double m1_Sqr, G4double m2_Sqr);
|
||||
virtual G4double GetLightConeZ(G4double zmin, G4double zmax,
|
||||
G4int PartonEncoding,
|
||||
G4ParticleDefinition* pHadron,
|
||||
G4double Px, G4double Py);
|
||||
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
G4double lambda(G4double s, G4double m1_Sqr, G4double m2_Sqr);
|
||||
|
||||
private:
|
||||
// Internal methods introduced to improve the code structure (AR Nov 2011)
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
|
||||
G4bool Loop_toFragmentString(G4ExcitedString * & theStringInCMS,
|
||||
G4KineticTrackVector * & LeftVector,
|
||||
G4KineticTrackVector * & RightVector);
|
||||
private:
|
||||
// Internal methods introduced to improve the code structure (AR Nov 2011)
|
||||
|
||||
G4bool Diquark_AntiDiquark_belowThreshold_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
G4bool Loop_toFragmentString(const G4ExcitedString & theStringInCMS, // * &
|
||||
G4KineticTrackVector * & LeftVector,
|
||||
G4KineticTrackVector * & RightVector);
|
||||
|
||||
G4bool Diquark_AntiDiquark_aboveThreshold_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
G4bool Diquark_AntiDiquark_belowThreshold_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
|
||||
G4bool Quark_AntiQuark_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
G4bool Diquark_AntiDiquark_aboveThreshold_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
|
||||
G4bool Quark_Diquark_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron );
|
||||
G4bool Quark_AntiQuark_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron);
|
||||
|
||||
G4int SampleState(void);
|
||||
G4bool Quark_Diquark_lastSplitting(G4FragmentingString * & string,
|
||||
G4ParticleDefinition * & LeftHadron,
|
||||
G4ParticleDefinition * & RightHadron );
|
||||
|
||||
private:
|
||||
// ------ For estimation of a minimal string mass ---------------
|
||||
G4double Mass_of_light_quark;
|
||||
G4double Mass_of_heavy_quark;
|
||||
G4double Mass_of_string_junction;
|
||||
// ------ An estimated minimal string mass ----------------------
|
||||
G4double MinimalStringMass;
|
||||
G4double MinimalStringMass2;
|
||||
// ------ Minimal invariant mass used at a string fragmentation -
|
||||
G4double WminLUND;
|
||||
G4int SampleState(void);
|
||||
|
||||
G4int Meson[3][3][6];
|
||||
G4double MesonWeight[3][3][6];
|
||||
private:
|
||||
// ------ For estimation of a minimal string mass ---------------
|
||||
G4double Mass_of_light_quark;
|
||||
G4double Mass_of_heavy_quark;
|
||||
G4double Mass_of_string_junction;
|
||||
|
||||
G4int Baryon[3][3][3][4];
|
||||
G4double BaryonWeight[3][3][3][4];
|
||||
G4double minMassQQbarStr[3][3];
|
||||
G4double minMassQDiQStr[3][3][3];
|
||||
|
||||
G4double Prob_QQbar[3];
|
||||
// ------ An estimated minimal string mass ----------------------
|
||||
G4double MinimalStringMass;
|
||||
G4double MinimalStringMass2;
|
||||
// ------ Minimal invariant mass used at a string fragmentation -
|
||||
G4double WminLUND;
|
||||
|
||||
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;
|
||||
|
||||
// ------ To improve the code structure
|
||||
G4ParticleDefinition * FS_LeftHadron[35], * FS_RightHadron[35];
|
||||
G4double FS_Weight[35];
|
||||
G4int NumberOf_FS;
|
||||
};
|
||||
|
||||
//**************************************************************************************************************
|
||||
// Class G4LundStringFragmentation
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
+30
-27
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4QGSMFragmentation.hh 106967 2017-10-31 08:41:49Z gcosmo $
|
||||
// $Id: G4QGSMFragmentation.hh 107869 2017-12-07 14:46:39Z gcosmo $
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
@@ -38,36 +38,38 @@
|
||||
|
||||
//******************************************************************************
|
||||
class G4QGSMFragmentation:public G4VLongitudinalStringDecay
|
||||
{
|
||||
public:
|
||||
G4QGSMFragmentation();
|
||||
~G4QGSMFragmentation();
|
||||
virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString);
|
||||
{
|
||||
public:
|
||||
G4QGSMFragmentation();
|
||||
~G4QGSMFragmentation();
|
||||
virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString);
|
||||
|
||||
private:
|
||||
// not implemented to protect/forbid use
|
||||
G4QGSMFragmentation(const G4QGSMFragmentation &right);
|
||||
const G4QGSMFragmentation & operator=(const G4QGSMFragmentation &right);
|
||||
int operator==(const G4QGSMFragmentation &right) const;
|
||||
int operator!=(const G4QGSMFragmentation &right) const;
|
||||
// not implemented to protect/forbid use
|
||||
G4QGSMFragmentation(const G4QGSMFragmentation &right);
|
||||
const G4QGSMFragmentation & operator=(const G4QGSMFragmentation &right);
|
||||
int operator==(const G4QGSMFragmentation &right) const;
|
||||
int operator!=(const G4QGSMFragmentation &right) const;
|
||||
|
||||
private:
|
||||
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);
|
||||
|
||||
virtual void Sample4Momentum(G4LorentzVector* Mom, G4double Mass, G4LorentzVector* AntiMom,
|
||||
G4double AntiMass, G4double InitialMass);
|
||||
virtual G4bool StopFragmenting(const G4FragmentingString * const string);
|
||||
virtual G4bool IsFragmentable(const G4FragmentingString * const string);
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString);
|
||||
virtual G4bool SplitLast(G4FragmentingString * string,
|
||||
G4KineticTrackVector * LeftVector,
|
||||
G4KineticTrackVector * RightVector);
|
||||
virtual void Sample4Momentum(G4LorentzVector* Mom, G4double Mass, G4LorentzVector* AntiMom, G4double AntiMass, G4double InitialMass);
|
||||
virtual G4bool StopFragmenting(const G4FragmentingString * const string);
|
||||
virtual G4bool IsFragmentable(const G4FragmentingString * const string);
|
||||
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
virtual G4KineticTrack * Splitup(G4FragmentingString *string, // Uzhi 28 June 2016
|
||||
G4FragmentingString *&newString);
|
||||
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string, // Uzhi
|
||||
G4FragmentingString * newString); // Uzhi
|
||||
virtual G4bool SplitLast(G4FragmentingString * string,
|
||||
G4KineticTrackVector * LeftVector,
|
||||
G4KineticTrackVector * RightVector);
|
||||
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay, // Uzhi June 2014
|
||||
G4ParticleDefinition *&created);
|
||||
|
||||
private:
|
||||
// model parameters
|
||||
@@ -77,9 +79,10 @@ class G4QGSMFragmentation:public G4VLongitudinalStringDecay
|
||||
const G4double ala;
|
||||
const G4double aksi;
|
||||
const G4double alft;
|
||||
|
||||
};
|
||||
|
||||
// Class G4QGSMFragmentation
|
||||
|
||||
// Class G4QGSMFragmentation
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
+119
-112
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VLongitudinalStringDecay.hh 106967 2017-10-31 08:41:49Z gcosmo $
|
||||
// $Id: G4VLongitudinalStringDecay.hh 107869 2017-12-07 14:46:39Z gcosmo $
|
||||
// Maxim Komogorov
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -41,158 +41,165 @@
|
||||
#include "G4HadronBuilder.hh"
|
||||
|
||||
class G4FragmentingString;
|
||||
|
||||
//**************************************************************************************
|
||||
|
||||
class G4VLongitudinalStringDecay
|
||||
{
|
||||
public:
|
||||
G4VLongitudinalStringDecay();
|
||||
virtual ~G4VLongitudinalStringDecay();
|
||||
{
|
||||
public:
|
||||
G4VLongitudinalStringDecay();
|
||||
virtual ~G4VLongitudinalStringDecay();
|
||||
|
||||
private:
|
||||
// not implemented to protect/forbid use
|
||||
G4VLongitudinalStringDecay(const G4VLongitudinalStringDecay &right);
|
||||
const G4VLongitudinalStringDecay & operator=(const G4VLongitudinalStringDecay &right);
|
||||
int operator==(const G4VLongitudinalStringDecay &right) const;
|
||||
int operator!=(const G4VLongitudinalStringDecay &right) const;
|
||||
private:
|
||||
// not implemented to protect/forbid use
|
||||
G4VLongitudinalStringDecay(const G4VLongitudinalStringDecay &right);
|
||||
const G4VLongitudinalStringDecay & operator=(const G4VLongitudinalStringDecay &right);
|
||||
int operator==(const G4VLongitudinalStringDecay &right) const;
|
||||
int operator!=(const G4VLongitudinalStringDecay &right) const;
|
||||
|
||||
public:
|
||||
virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString)=0;
|
||||
public:
|
||||
virtual G4KineticTrackVector* FragmentString(const G4ExcitedString& theString)=0;
|
||||
|
||||
protected:
|
||||
protected:
|
||||
|
||||
// For changing Mass Cut used for selection of very small mass strings
|
||||
virtual void SetMassCut(G4double aValue);
|
||||
// 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);
|
||||
// For handling a string with very low mass
|
||||
G4KineticTrackVector * LightFragmentationTest(const G4ExcitedString * const theString);
|
||||
|
||||
// To store created quarks or 2 last hadrons
|
||||
typedef std::pair<G4ParticleDefinition*, G4ParticleDefinition*> pDefPair;
|
||||
// To store created quarks or 2 last hadrons
|
||||
typedef std::pair<G4ParticleDefinition*, G4ParticleDefinition*> pDefPair;
|
||||
|
||||
// For creation of hadrons from given quark pair
|
||||
typedef G4ParticleDefinition * (G4HadronBuilder::*Pcreate)
|
||||
// For creation of hadrons from given quark pair
|
||||
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,
|
||||
Pcreate build=0, pDefPair * pdefs=0);
|
||||
//-----------------------------------------------------------------------------
|
||||
// Used by LightFragmentationTest for estimation of lowest possible mass of
|
||||
// given quark system
|
||||
G4double FragmentationMass(const G4FragmentingString * const string,
|
||||
Pcreate build=0,
|
||||
pDefPair * pdefs=0);
|
||||
|
||||
G4ParticleDefinition* FindParticle(G4int Encoding);
|
||||
G4ParticleDefinition* FindParticle(G4int Encoding);
|
||||
|
||||
virtual void Sample4Momentum(G4LorentzVector* Mom, G4double Mass,
|
||||
G4LorentzVector* AntiMom, G4double AntiMass,
|
||||
G4double InitialMass)=0;
|
||||
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;
|
||||
|
||||
// For decision on continue or stop string fragmentation
|
||||
virtual G4bool StopFragmenting(const G4FragmentingString * const string)=0;
|
||||
virtual G4bool IsFragmentable(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 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
|
||||
|
||||
// If a string fragments, do the following
|
||||
// To make a copy of a string
|
||||
G4ExcitedString *CopyExcited(const G4ExcitedString& string);
|
||||
|
||||
// For transver of a string to its CMS frame
|
||||
G4ExcitedString *CPExcited(const G4ExcitedString& string);
|
||||
G4ParticleDefinition * QuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
|
||||
G4KineticTrack * Splitup(G4FragmentingString *string,
|
||||
G4FragmentingString *&newString);
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created)=0;
|
||||
|
||||
pDefPair CreatePartonPair(G4int NeedParticle, G4bool AllowDiquarks=true);
|
||||
|
||||
G4ParticleDefinition * QuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created);
|
||||
public:
|
||||
// used by G4VKinkyStringDecy..
|
||||
G4int SampleQuarkFlavor(void);
|
||||
G4ThreeVector SampleQuarkPt(G4double ptMax=-1.); // -1. no limit on maxpt.
|
||||
|
||||
virtual G4ParticleDefinition * DiQuarkSplitup(G4ParticleDefinition* decay,
|
||||
G4ParticleDefinition *&created)=0;
|
||||
protected:
|
||||
|
||||
pDefPair CreatePartonPair(G4int NeedParticle, G4bool AllowDiquarks=true);
|
||||
//-----------------------------------------------------------------------------
|
||||
// For determination of kinematical properties of created hadron
|
||||
// virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
// G4FragmentingString * string )=0;
|
||||
virtual G4KineticTrack * Splitup(G4FragmentingString *string, // Uzhi 28 June 2016
|
||||
G4FragmentingString *&newString)=0;
|
||||
|
||||
public:
|
||||
// used by G4VKinkyStringDecy.
|
||||
G4int SampleQuarkFlavor(void);
|
||||
G4ThreeVector SampleQuarkPt(G4double ptMax=-1.); // -1. no limit on maxpt.
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString )=0;
|
||||
|
||||
protected:
|
||||
virtual G4double GetLightConeZ(G4double zmin, G4double zmax,
|
||||
G4int PartonEncoding,
|
||||
G4ParticleDefinition* pHadron,
|
||||
G4double Px, G4double Py ) = 0;
|
||||
|
||||
// For determination of kinematical properties of created hadron
|
||||
// virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
// G4FragmentingString * string )=0;
|
||||
void CalculateHadronTimePosition(G4double theInitialStringMass,
|
||||
G4KineticTrackVector *);
|
||||
|
||||
virtual G4LorentzVector * SplitEandP(G4ParticleDefinition * pHadron,
|
||||
G4FragmentingString * string,
|
||||
G4FragmentingString * newString )=0;
|
||||
// Used for some test purposes ------------------------------------------------
|
||||
void ConstructParticle();
|
||||
|
||||
virtual G4double GetLightConeZ(G4double zmin, G4double zmax,
|
||||
G4int PartonEncoding,
|
||||
G4ParticleDefinition* pHadron,
|
||||
G4double Px, G4double Py ) = 0;
|
||||
|
||||
void CalculateHadronTimePosition(G4double theInitialStringMass,
|
||||
G4KineticTrackVector *);
|
||||
|
||||
// Used for some test purposes
|
||||
void ConstructParticle();
|
||||
|
||||
G4ParticleDefinition* CreateHadron(G4int id1, G4int id2,
|
||||
G4bool theGivenSpin, G4int theSpin);
|
||||
G4ParticleDefinition* CreateHadron(G4int id1, G4int id2,
|
||||
G4bool theGivenSpin, G4int theSpin);
|
||||
|
||||
public:
|
||||
//-----------------------------------------------------------------------------
|
||||
public:
|
||||
|
||||
G4KineticTrackVector* DecayResonans (G4KineticTrackVector* aHadrons);
|
||||
G4KineticTrackVector* DecayResonans (G4KineticTrackVector* aHadrons);
|
||||
|
||||
void SetSigmaTransverseMomentum(G4double aQT);
|
||||
void SetStrangenessSuppression(G4double aValue);
|
||||
void SetDiquarkSuppression(G4double aValue);
|
||||
void SetDiquarkBreakProbability(G4double aValue);
|
||||
void SetSigmaTransverseMomentum(G4double aQT);
|
||||
void SetStrangenessSuppression(G4double aValue);
|
||||
void SetDiquarkSuppression(G4double aValue);
|
||||
void SetDiquarkBreakProbability(G4double aValue);
|
||||
|
||||
void SetVectorMesonProbability(G4double aValue);
|
||||
void SetSpinThreeHalfBarionProbability(G4double aValue);
|
||||
void SetVectorMesonProbability(G4double aValue);
|
||||
void SetSpinThreeHalfBarionProbability(G4double aValue);
|
||||
|
||||
void SetScalarMesonMixings( std::vector<G4double> aVector);
|
||||
void SetVectorMesonMixings( std::vector<G4double> aVector);
|
||||
void SetScalarMesonMixings( std::vector<G4double> aVector);
|
||||
void SetVectorMesonMixings( std::vector<G4double> aVector);
|
||||
|
||||
void SetStringTensionParameter(G4double aValue);
|
||||
void SetStringTensionParameter(G4double aValue);
|
||||
|
||||
protected:
|
||||
G4double GetDiquarkSuppress() {return DiquarkSuppress;};
|
||||
G4double GetDiquarkBreakProb() {return DiquarkBreakProb;};
|
||||
G4double GetStrangeSuppress() {return StrangeSuppress;};
|
||||
G4double GetClusterMass() {return ClusterMass;};
|
||||
G4int GetClusterLoopInterrupt() {return ClusterLoopInterrupt;};
|
||||
// G4LorentzVector RestMomentum; // Uzhi June 2016
|
||||
//private:
|
||||
protected:
|
||||
G4double GetDiquarkSuppress() {return DiquarkSuppress;};
|
||||
G4double GetDiquarkBreakProb() {return DiquarkBreakProb;};
|
||||
G4double GetStrangeSuppress() {return StrangeSuppress;};
|
||||
G4double GetClusterMass() {return ClusterMass;};
|
||||
G4int GetClusterLoopInterrupt() {return ClusterLoopInterrupt;};
|
||||
|
||||
G4double GetStringTensionParameter() {return Kappa;};
|
||||
G4double GetStringTensionParameter() {return Kappa;};
|
||||
|
||||
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 StrangeSuppress ;
|
||||
G4int StringLoopInterrupt;
|
||||
G4int ClusterLoopInterrupt;
|
||||
G4HadronBuilder *hadronizer;
|
||||
//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 StrangeSuppress ;
|
||||
G4int StringLoopInterrupt;
|
||||
G4int ClusterLoopInterrupt;
|
||||
G4HadronBuilder *hadronizer;
|
||||
|
||||
G4double pspin_meson;
|
||||
G4double pspin_barion;
|
||||
std::vector<G4double> vectorMesonMix;
|
||||
std::vector<G4double> scalarMesonMix;
|
||||
G4double pspin_meson;
|
||||
G4double pspin_barion;
|
||||
std::vector<G4double> vectorMesonMix;
|
||||
std::vector<G4double> scalarMesonMix;
|
||||
|
||||
G4bool PastInitPhase;
|
||||
G4bool PastInitPhase;
|
||||
|
||||
G4double Kappa; // String tension parameter
|
||||
G4double Kappa; // String tension parameter
|
||||
|
||||
//G4double MinFragmentationMass(G4ExcitedString * theString,
|
||||
// G4ParticleDefinition*& Hadron1,
|
||||
// G4ParticleDefinition*& Hadron2);
|
||||
// G4double MinFragmentationMass(G4ExcitedString * theString,
|
||||
// G4ParticleDefinition*& Hadron1,
|
||||
// G4ParticleDefinition*& Hadron2);
|
||||
|
||||
};
|
||||
|
||||
//*************************************************************************************
|
||||
// Class G4VLongitudinalStringDecay
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user