Import Geant4 0.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:09:25 +02:00
parent b97f8d0df7
commit aaa409b6ee
2922 changed files with 55107 additions and 81674 deletions
@@ -5,7 +5,7 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4DiffractiveExcitation.hh,v 1.3 1998/12/09 07:30:23 gunter Exp $
// $Id: G4DiffractiveExcitation.hh,v 1.2 1999/04/12 15:45:54 hpw Exp $
#ifndef G4DiffractiveExcitation_h
#define G4DiffractiveExcitation_h 1
@@ -36,6 +36,10 @@ class G4DiffractiveExcitation
G4bool ExciteParticipants (G4VSplitableHadron *aPartner, G4VSplitableHadron * bPartner) const;
G4ExcitedString * String(G4VSplitableHadron * aHadron, G4bool isProjectile) const;
// void SetPtWidth(G4double aValue) { widthOfPtSquare = aValue*aValue; }
// void SetExtraMass(G4double aValue) { minExtraMass = aValue; }
// void SetMinimumMass(G4double aValue) { minmass = aValue; }
private:
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4EventGenerator.hh,v 1.1 1998/08/22 08:57:14 hpw Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4EventGenerator.hh,v 1.1 1999/01/07 16:12:13 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4EventGenerator_h
#define G4EventGenerator_h 1
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4InteractionCode.hh,v 1.1 1998/08/22 08:57:15 hpw Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4InteractionCode.hh,v 1.1 1999/01/07 16:12:14 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4InteractionCode_h
#define G4InteractionCode_h 1
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4InteractionContent.hh,v 1.2 1998/10/16 07:35:52 maxim Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4InteractionContent.hh,v 1.1 1999/01/07 16:12:14 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4InteractionContent_h
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PomeronCrossSection.hh,v 1.4 1998/12/12 19:13:51 hpw Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4PomeronCrossSection.hh,v 1.2 1999/04/12 15:45:54 hpw Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#include "G4Proton.hh"
#include "G4Neutron.hh"
@@ -66,6 +66,15 @@ class G4PomeronCrossSection
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);
@@ -5,14 +5,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4StringModel.hh,v 1.1 1998/08/22 08:57:16 hpw Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4StringModel.hh,v 1.2 1999/04/15 12:10:15 hpw Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4StringModel_h
#define G4StringModel_h 1
#include "G4VHighEnergyGenerator.hh"
#include "G4EventGenerator.hh"
#include "G4KineticTrackVector.hh"
class G4V3DNucleus;
class G4VStringFragmentation;
@@ -0,0 +1,80 @@
// 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: G4VParticipants.hh,v 1.1 1999/04/15 09:33:55 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4VParticipants_h
#define G4VParticipants_h 1
// ------------------------------------------------------------
// GEANT 4 class header file
//
// For information related to this code contact:
// CERN, CN Division, ASD group
// ---------------- G4VParticipants ----------------
// by Gunter Folger, May 1998.
// abstract class finding participants in a hadron Nucleus collision
// in Parton String Models.
// ------------------------------------------------------------
#include "globals.hh"
class G4V3DNucleus;
#include "G4Fancy3DNucleus.hh"
class G4VParticipants
{
public:
G4VParticipants();
G4VParticipants(const G4VParticipants &right);
virtual ~G4VParticipants();
const G4VParticipants & operator=(const G4VParticipants &right);
int operator==(const G4VParticipants &right) const;
int operator!=(const G4VParticipants &right) const;
void Init(G4double theZ, G4double theA);
void SetNucleus(G4V3DNucleus * aNucleus);
G4V3DNucleus * GetWoundedNucleus() const;
protected:
G4V3DNucleus *theNucleus;
private:
};
// Class G4VParticipants
inline G4V3DNucleus * G4VParticipants::GetWoundedNucleus() const
{
return theNucleus;
}
inline void G4VParticipants::SetNucleus(G4V3DNucleus * aNucleus)
{
theNucleus = aNucleus;
}
inline void G4VParticipants::Init(G4double theA, G4double theZ)
{
if ( theNucleus == NULL ) theNucleus = new G4Fancy3DNucleus();
theNucleus->Init(theA, theZ);
}
#endif
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VPartonStringModel.hh,v 1.2 1998/10/09 13:33:29 maxim Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4VPartonStringModel.hh,v 1.2 1999/04/15 12:10:15 hpw Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4VPartonStringModel_h
#define G4VPartonStringModel_h 1
@@ -30,6 +30,7 @@
#include "G4ExcitedStringVector.hh"
#include "G4VStringFragmentation.hh"
#include "G4V3DNucleus.hh"
#include "G4KineticTrackVector.hh"
class G4VPartonStringModel : public G4VHighEnergyGenerator
@@ -0,0 +1,131 @@
// 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: G4VSplitableHadron.hh,v 1.1 1999/05/06 13:52:59 stesting Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4VSplitableHadron_h
#define G4VSplitableHadron_h 1
// ------------------------------------------------------------
// GEANT 4 class header file
//
// For information related to this code contact:
// CERN, CN Division, ASD group
// ---------------- G4VSplitableHadron----------------
// by Gunter Folger, June 1998.
// class storing an interacting particle. Used by Parton String Models.
// ------------------------------------------------------------
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ReactionProduct.hh"
class G4Nucleon;
#include "G4ThreeVector.hh"
#include "G4LorentzVector.hh"
class G4Parton;
class G4VKineticNucleon;
#include <rw/tpordvec.h>
class G4VSplitableHadron
{
public:
G4VSplitableHadron();
G4VSplitableHadron(const G4ReactionProduct & aPrimary);
G4VSplitableHadron(const G4Nucleon & aNucleon);
G4VSplitableHadron(const G4VKineticNucleon * aNucleon);
virtual ~G4VSplitableHadron();
int operator==(const G4VSplitableHadron &right) const;
int operator!=(const G4VSplitableHadron &right) const;
void Set4Momentum(const G4LorentzVector &a4Momentum);
const G4LorentzVector & Get4Momentum() const;
void SetDefinition(G4ParticleDefinition *aDefinition);
G4ParticleDefinition * GetDefinition() const;
void IncrementCollisionCount(G4int aCount);
void SetPosition(const G4ThreeVector &aPosition);
const G4ThreeVector & GetPosition() const;
virtual void SplitUp() = 0;
virtual G4Parton * GetNextParton() = 0 ;
virtual G4Parton * GetNextAntiParton() = 0 ;
protected:
G4int GetSoftCollisionCount();
private:
G4VSplitableHadron(const G4VSplitableHadron &right);
const G4VSplitableHadron & operator=(const G4VSplitableHadron &right);
private:
G4ParticleDefinition *theDefinition;
G4LorentzVector the4Momentum;
G4ThreeVector thePosition;
G4int theCollisionCount;
};
inline G4int G4VSplitableHadron::GetSoftCollisionCount()
{
return theCollisionCount;
}
inline void G4VSplitableHadron::Set4Momentum(const G4LorentzVector &a4Momentum)
{
the4Momentum=a4Momentum;
}
inline const G4LorentzVector & G4VSplitableHadron::Get4Momentum() const
{
return the4Momentum;
}
inline void G4VSplitableHadron::SetDefinition(G4ParticleDefinition *aDefinition)
{
theDefinition=aDefinition;
}
inline G4ParticleDefinition * G4VSplitableHadron::GetDefinition() const
{
return theDefinition;
}
inline void G4VSplitableHadron::IncrementCollisionCount(G4int aCount)
{
theCollisionCount += aCount;
}
inline void G4VSplitableHadron::SetPosition(const G4ThreeVector &aPosition)
{
thePosition=aPosition;
}
inline const G4ThreeVector & G4VSplitableHadron::GetPosition() const
{
return thePosition;
}
#endif
@@ -0,0 +1,40 @@
// 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: G4VStringFragmentation.hh,v 1.1 1999/05/06 13:53:00 stesting Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4VStringFragmentation_h
#define G4VStringFragmentation_h 1
#include "G4ExcitedString.hh"
//GF#include "G4ReactionProductVector.hh"
class G4KineticTrackVector;
class G4VStringFragmentation
{
public:
G4VStringFragmentation();
~G4VStringFragmentation();
private:
G4VStringFragmentation(const G4VStringFragmentation &right);
const G4VStringFragmentation & operator=(const G4VStringFragmentation &right);
int operator==(const G4VStringFragmentation &right) const;
int operator!=(const G4VStringFragmentation &right) const;
public:
// virtual G4ReactionProductVector * FragmentString(const G4ExcitedString &theString)=0;
virtual G4KineticTrackVector * FragmentString(const G4ExcitedString &theString)=0;
private:
};
#endif
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VertexCode.hh,v 1.1 1998/08/22 08:57:18 hpw Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: G4VertexCode.hh,v 1.1 1999/01/07 16:12:15 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4VertexCode_h
#define G4VertexCode_h 1