Import Geant4 0.0.0 source tree
This commit is contained in:
+44
@@ -0,0 +1,44 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4DiffractiveHHScatterer.hh,v 1.1 1998/11/05 16:31:44 gunter Exp $
|
||||
|
||||
#ifndef G4DiffractiveHHScatterer_h
|
||||
#define G4DiffractiveHHScatterer_h 1
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// ---------------- G4DiffractiveExcitation --------------
|
||||
// by Gunter Folger, October 1998.
|
||||
// diffractive Excitation used by strings models
|
||||
// Take a projectile and a target
|
||||
// excite the projectile and target
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "globals.hh"
|
||||
class G4DiffractiveExcitation;
|
||||
class G4LundStringFragmentation;
|
||||
class G4KineticTrack;
|
||||
#include "G4KineticTrackVector.hh"
|
||||
|
||||
class G4DiffractiveHHScatterer
|
||||
{
|
||||
public:
|
||||
|
||||
G4DiffractiveHHScatterer();
|
||||
|
||||
G4KineticTrackVector * Scatter(const G4KineticTrack & aTrack, const G4KineticTrack & bTrack);
|
||||
|
||||
private:
|
||||
|
||||
const G4DiffractiveExcitation * theExcitation;
|
||||
G4LundStringFragmentation * theStringFragmentation;
|
||||
};
|
||||
|
||||
#endif
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4DiffractiveSplitableHadron.hh,v 1.4 1998/11/05 17:55:38 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
|
||||
#ifndef G4DiffractiveSplitableHadron_h
|
||||
#define G4DiffractiveSplitableHadron_h 1
|
||||
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// ---------------- G4DiffractiveSplitableHadron----------------
|
||||
// by Gunter Folger, August 1998.
|
||||
// class splitting an interacting particle. Used by FTF String Model.
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "G4VSplitableHadron.hh"
|
||||
|
||||
|
||||
class G4DiffractiveSplitableHadron : public G4VSplitableHadron
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
G4DiffractiveSplitableHadron(const G4ReactionProduct & aPrimary);
|
||||
G4DiffractiveSplitableHadron(const G4Nucleon & aNucleon);
|
||||
G4DiffractiveSplitableHadron(const G4VKineticNucleon * aNucleon);
|
||||
~G4DiffractiveSplitableHadron();
|
||||
|
||||
|
||||
int operator==(const G4DiffractiveSplitableHadron &right) const;
|
||||
int operator!=(const G4DiffractiveSplitableHadron &right) const;
|
||||
|
||||
|
||||
void SplitUp();
|
||||
G4Parton * GetNextParton() ;
|
||||
G4Parton * GetNextAntiParton();
|
||||
|
||||
private:
|
||||
G4DiffractiveSplitableHadron();
|
||||
G4DiffractiveSplitableHadron(const G4DiffractiveSplitableHadron &right);
|
||||
const G4DiffractiveSplitableHadron & operator=(const G4DiffractiveSplitableHadron &right);
|
||||
|
||||
//implementation
|
||||
G4int Diquark(G4int aquark,G4int bquark,G4int Spin) const; // to splitable hadron
|
||||
void ChooseStringEnds(G4int PDGcode,G4int * aEnd, G4int * bEnd) const; // to splitable hadron
|
||||
|
||||
private:
|
||||
G4Parton *Parton[2];
|
||||
G4int PartonIndex;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,77 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4FTFModel.hh,v 1.6 1998/12/14 15:21:23 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
#ifndef G4FTFModel_h
|
||||
#define G4FTFModel_h 1
|
||||
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// ---------------- G4FTFModel ----------------
|
||||
// by Gunter Folger, May 1998.
|
||||
// class implementing the excitation in the FTF Parton String Model
|
||||
// ------------------------------------------------------------
|
||||
|
||||
|
||||
#include "G4VPartonStringModel.hh"
|
||||
|
||||
class G4VSplitableHadron;
|
||||
class G4ExcitedString;
|
||||
#include "G4FTFParticipants.hh"
|
||||
|
||||
#include "G4ExcitedStringVector.hh"
|
||||
#include "G4DiffractiveExcitation.hh"
|
||||
|
||||
|
||||
class G4FTFModel : public G4VPartonStringModel
|
||||
{
|
||||
|
||||
public:
|
||||
G4FTFModel(G4double sigmaPt=800*MeV, G4double minExtraMass=300*MeV,G4double x0Mass=150*MeV);
|
||||
G4FTFModel(const G4FTFModel &right);
|
||||
~G4FTFModel();
|
||||
const G4FTFModel & operator=(const G4FTFModel &right);
|
||||
|
||||
int operator==(const G4FTFModel &right) const;
|
||||
int operator!=(const G4FTFModel &right) const;
|
||||
|
||||
void Init(const G4Nucleus & aNucleus, const G4DynamicParticle & aProjectile);
|
||||
G4ExcitedStringVector * GetStrings();
|
||||
G4V3DNucleus * GetWoundedNucleus() const;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
G4bool ExciteParticipants();
|
||||
G4ExcitedStringVector * BuildStrings();
|
||||
|
||||
private:
|
||||
|
||||
G4FTFParticipants theParticipants;
|
||||
G4ReactionProduct theProjectile;
|
||||
|
||||
G4DiffractiveExcitation * theExcitation;
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
inline
|
||||
G4V3DNucleus * G4FTFModel::GetWoundedNucleus() const
|
||||
{
|
||||
return theParticipants.GetWoundedNucleus();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4FTFParticipants.hh,v 1.2 1998/08/26 17:12:00 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
|
||||
#ifndef G4FTFParticipants_h
|
||||
#define G4FTFParticipants_h 1
|
||||
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// For information related to this code contact:
|
||||
// CERN, CN Division, ASD group
|
||||
// ---------------- G4FTFParticipants----------------
|
||||
// by Gunter Folger, June 1998.
|
||||
// class finding colliding particles in FTFPartonStringModel
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "G4VParticipants.hh"
|
||||
#include <rw/tpordvec.h>
|
||||
#include "G4Nucleon.hh"
|
||||
#include "G4V3DNucleus.hh"
|
||||
#include "G4Fancy3DNucleus.hh"
|
||||
#include "G4ReactionProduct.hh"
|
||||
#include "G4InteractionContent.hh"
|
||||
|
||||
class G4FTFParticipants : public G4VParticipants
|
||||
{
|
||||
|
||||
public:
|
||||
G4FTFParticipants();
|
||||
G4FTFParticipants(const G4FTFParticipants &right);
|
||||
const G4FTFParticipants & operator=(const G4FTFParticipants &right);
|
||||
~G4FTFParticipants();
|
||||
|
||||
int operator==(const G4FTFParticipants &right) const;
|
||||
int operator!=(const G4FTFParticipants &right) const;
|
||||
|
||||
void BuildInteractions(const G4ReactionProduct &thePrimary);
|
||||
G4bool Next();
|
||||
const G4InteractionContent & GetInteraction() const;
|
||||
|
||||
void StartLoop();
|
||||
|
||||
private:
|
||||
|
||||
RWTPtrOrderedVector<G4InteractionContent> theInteractions;
|
||||
|
||||
G4int currentInteraction;
|
||||
|
||||
};
|
||||
|
||||
|
||||
inline
|
||||
void G4FTFParticipants::StartLoop()
|
||||
{
|
||||
currentInteraction=-1;
|
||||
}
|
||||
|
||||
inline
|
||||
G4bool G4FTFParticipants::Next()
|
||||
{
|
||||
return ++currentInteraction < theInteractions.entries();
|
||||
}
|
||||
|
||||
|
||||
inline
|
||||
const G4InteractionContent & G4FTFParticipants::GetInteraction() const
|
||||
{
|
||||
return *theInteractions[currentInteraction];
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user