Import Geant4 4.0.0 source tree
This commit is contained in:
+2
-2
@@ -14,14 +14,14 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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: G4DiffractiveExcitation.hh,v 1.4.8.2 2001/06/28 20:19:57 gunter Exp $
|
||||
// $Id: G4DiffractiveExcitation.hh,v 1.6 2001/08/01 17:08:57 hpw Exp $
|
||||
|
||||
#ifndef G4DiffractiveExcitation_h
|
||||
#define G4DiffractiveExcitation_h 1
|
||||
|
||||
+3
-3
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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: G4EventGenerator.hh,v 1.2.8.1 2001/06/28 19:13:42 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4EventGenerator.hh,v 1.4 2001/08/01 17:08:57 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
#ifndef G4EventGenerator_h
|
||||
#define G4EventGenerator_h 1
|
||||
|
||||
+3
-3
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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: G4InteractionCode.hh,v 1.2.8.1 2001/06/28 19:13:42 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4InteractionCode.hh,v 1.4 2001/08/01 17:08:58 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
#ifndef G4InteractionCode_h
|
||||
#define G4InteractionCode_h 1
|
||||
|
||||
+3
-3
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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: G4InteractionContent.hh,v 1.3.8.2 2001/06/28 20:19:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4InteractionContent.hh,v 1.5 2001/08/01 17:08:58 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
|
||||
#ifndef G4InteractionContent_h
|
||||
|
||||
+8
-3
@@ -14,7 +14,7 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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. *
|
||||
@@ -23,8 +23,8 @@
|
||||
#ifndef G4PomeronCrossSection_h
|
||||
#define G4PomeronCrossSection_h 1
|
||||
//
|
||||
// $Id: G4PomeronCrossSection.hh,v 1.3.8.1 2001/06/28 19:13:42 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4PomeronCrossSection.hh,v 1.6 2001/11/13 14:56:53 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
#include "G4Proton.hh"
|
||||
#include "G4Neutron.hh"
|
||||
@@ -38,6 +38,7 @@
|
||||
#include "G4KaonZero.hh"
|
||||
#include "G4KaonZeroShort.hh"
|
||||
#include "G4KaonZeroLong.hh"
|
||||
#include "G4Gamma.hh"
|
||||
|
||||
class G4PomeronCrossSection
|
||||
{
|
||||
@@ -57,6 +58,8 @@ class G4PomeronCrossSection
|
||||
G4PomeronCrossSection(const G4KaonZeroLong * );
|
||||
G4PomeronCrossSection(const G4KaonZeroShort * );
|
||||
|
||||
G4PomeronCrossSection(const G4Gamma * );
|
||||
|
||||
~G4PomeronCrossSection();
|
||||
// s = (center of mass energy)**2
|
||||
G4double GetTotalCrossSection(const G4double s);
|
||||
@@ -104,6 +107,8 @@ class G4PomeronCrossSection
|
||||
void InitForNucleon();
|
||||
void InitForPion();
|
||||
void InitForKaon();
|
||||
void InitForGamma();
|
||||
|
||||
G4double Expand(G4double z);
|
||||
inline G4double Z(const G4double Scms);
|
||||
inline G4double SigP(const G4double Scms);
|
||||
|
||||
+2
-2
@@ -14,14 +14,14 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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: G4SingleDiffractiveExcitation.hh,v 1.2.8.2 2001/06/28 20:19:57 gunter Exp $
|
||||
// $Id: G4SingleDiffractiveExcitation.hh,v 1.4 2001/08/01 17:08:58 hpw Exp $
|
||||
|
||||
#ifndef G4SingleDiffractiveExcitation_h
|
||||
#define G4SingleDiffractiveExcitation_h 1
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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: G4StringModel.hh,v 1.3.8.1 2001/06/28 19:13:42 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4StringModel.hh,v 1.5 2001/08/01 17:08:58 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
#ifndef G4StringModel_h
|
||||
#define G4StringModel_h 1
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.2.8.2 2001/06/28 20:19:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4VParticipants.hh,v 1.4 2001/08/01 17:08:59 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
|
||||
#ifndef G4VParticipants_h
|
||||
|
||||
+3
-3
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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: G4VPartonStringModel.hh,v 1.3.8.2 2001/06/28 20:19:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4VPartonStringModel.hh,v 1.5 2001/08/01 17:08:59 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
#ifndef G4VPartonStringModel_h
|
||||
#define G4VPartonStringModel_h 1
|
||||
|
||||
+14
-4
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.3.8.2 2001/06/28 20:19:58 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4VSplitableHadron.hh,v 1.8 2001/11/29 14:22:49 stesting Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
|
||||
#ifndef G4VSplitableHadron_h
|
||||
@@ -45,7 +45,7 @@ class G4Nucleon;
|
||||
class G4Parton;
|
||||
class G4VKineticNucleon;
|
||||
|
||||
#include "g4rw/tpordvec.h"
|
||||
#include "g4std/vector"
|
||||
|
||||
class G4VSplitableHadron
|
||||
{
|
||||
@@ -69,6 +69,7 @@ class G4VSplitableHadron
|
||||
G4ParticleDefinition * GetDefinition() const;
|
||||
|
||||
void IncrementCollisionCount(G4int aCount);
|
||||
void SetCollisionCount(G4int aCount);
|
||||
|
||||
void SetPosition(const G4ThreeVector &aPosition);
|
||||
const G4ThreeVector & GetPosition() const;
|
||||
@@ -76,10 +77,12 @@ class G4VSplitableHadron
|
||||
virtual void SplitUp() = 0;
|
||||
virtual G4Parton * GetNextParton() = 0 ;
|
||||
virtual G4Parton * GetNextAntiParton() = 0 ;
|
||||
G4bool IsSplit() { return isSplit;}
|
||||
|
||||
|
||||
protected:
|
||||
G4int GetSoftCollisionCount();
|
||||
void Splitting() {isSplit = true;}
|
||||
|
||||
private:
|
||||
|
||||
@@ -95,6 +98,8 @@ class G4VSplitableHadron
|
||||
G4ThreeVector thePosition;
|
||||
G4int theCollisionCount;
|
||||
|
||||
G4bool isSplit;
|
||||
|
||||
};
|
||||
|
||||
inline G4int G4VSplitableHadron::GetSoftCollisionCount()
|
||||
@@ -102,6 +107,11 @@ inline G4int G4VSplitableHadron::GetSoftCollisionCount()
|
||||
return theCollisionCount;
|
||||
}
|
||||
|
||||
inline void G4VSplitableHadron::SetCollisionCount(G4int aCount)
|
||||
{
|
||||
theCollisionCount = aCount;
|
||||
}
|
||||
|
||||
inline void G4VSplitableHadron::Set4Momentum(const G4LorentzVector &a4Momentum)
|
||||
{
|
||||
the4Momentum=a4Momentum;
|
||||
|
||||
+4
-4
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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.3.8.1 2001/06/28 19:13:43 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4VStringFragmentation.hh,v 1.6 2001/10/02 14:09:30 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
#ifndef G4VStringFragmentation_h
|
||||
#define G4VStringFragmentation_h 1
|
||||
@@ -35,7 +35,7 @@ class G4VStringFragmentation
|
||||
{
|
||||
public:
|
||||
G4VStringFragmentation();
|
||||
~G4VStringFragmentation();
|
||||
virtual ~G4VStringFragmentation();
|
||||
|
||||
private:
|
||||
G4VStringFragmentation(const G4VStringFragmentation &right);
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * authors in the 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: G4VertexCode.hh,v 1.2.8.1 2001/06/28 19:13:43 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4VertexCode.hh,v 1.4 2001/08/01 17:09:00 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
#ifndef G4VertexCode_h
|
||||
#define G4VertexCode_h 1
|
||||
|
||||
Reference in New Issue
Block a user