Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4HadronBuilder.cc 69569 2013-05-08 13:19:50Z gcosmo $
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
|
||||
+3
-3
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4LundStringFragmentation.cc 76744 2013-11-14 15:50:20Z gcosmo $
|
||||
// GEANT4 tag $Name: $ 1.8
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -206,7 +206,7 @@ G4LundStringFragmentation::G4LundStringFragmentation()
|
||||
BaryonWeight[0][1][2][0]=(1.-pspin_barion)*0.5;
|
||||
|
||||
Baryon[0][1][2][1]=3212; // Sigma0
|
||||
BaryonWeight[0][1][2][2]=(1.-pspin_barion)*0.5;
|
||||
BaryonWeight[0][1][2][1]=(1.-pspin_barion)*0.5;
|
||||
|
||||
Baryon[0][1][2][2]=3214; // Sigma*0
|
||||
BaryonWeight[0][1][2][2]=pspin_barion;
|
||||
@@ -349,7 +349,7 @@ G4LundStringFragmentation::G4LundStringFragmentation()
|
||||
BaryonWeight[2][1][2][0]=1.-pspin_barion;
|
||||
|
||||
Baryon[2][1][2][1]=3324; // Theta*0
|
||||
BaryonWeight[2][1][2][2]=pspin_barion;
|
||||
BaryonWeight[2][1][2][1]=pspin_barion;
|
||||
|
||||
//---------------------------------------
|
||||
Baryon[2][2][0][0]=3312; // Theta-
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4QGSMFragmentation.cc 69569 2013-05-08 13:19:50Z gcosmo $
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VKinkyStringDecay.cc 69569 2013-05-08 13:19:50Z gcosmo $
|
||||
// Maxim Komogorov
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
+5
-6
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4VLongitudinalStringDecay.cc 73023 2013-08-15 09:10:04Z gcosmo $
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
@@ -45,7 +45,6 @@
|
||||
#include "G4VShortLivedParticle.hh"
|
||||
#include "G4ShortLivedConstructor.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "G4ShortLivedTable.hh"
|
||||
#include "G4PhaseSpaceDecayChannel.hh"
|
||||
#include "G4VDecayChannel.hh"
|
||||
#include "G4DecayTable.hh"
|
||||
@@ -227,9 +226,9 @@ G4double G4VLongitudinalStringDecay::FragmentationMass(
|
||||
{
|
||||
|
||||
G4double mass;
|
||||
static G4bool NeedInit(true);
|
||||
static std::vector<double> nomix;
|
||||
static G4HadronBuilder * minMassHadronizer;
|
||||
static G4ThreadLocal G4bool NeedInit(true);
|
||||
static G4ThreadLocal std::vector<double> *nomix_G4MT_TLS_ = 0 ; if (!nomix_G4MT_TLS_) nomix_G4MT_TLS_ = new std::vector<double> ; std::vector<double> &nomix = *nomix_G4MT_TLS_;
|
||||
static G4ThreadLocal G4HadronBuilder * minMassHadronizer;
|
||||
if ( NeedInit )
|
||||
{
|
||||
NeedInit = false;
|
||||
@@ -474,7 +473,7 @@ G4ThreeVector G4VLongitudinalStringDecay::SampleQuarkPt(G4double ptMax)
|
||||
Pt = -std::log(G4UniformRand());
|
||||
} else {
|
||||
// sample in limited range
|
||||
Pt = -std::log(CLHEP::RandFlat::shoot(std::exp(-sqr(ptMax)/sqr(SigmaQT)), 1.));
|
||||
Pt = -std::log(G4RandFlat::shoot(std::exp(-sqr(ptMax)/sqr(SigmaQT)), 1.));
|
||||
}
|
||||
Pt = SigmaQT * std::sqrt(Pt);
|
||||
G4double phi = 2.*pi*G4UniformRand();
|
||||
|
||||
Reference in New Issue
Block a user