Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4BosonConstructor.hh,v 1.3 2001/07/11 10:01:32 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4BosonConstructor.hh,v 1.5 2005/09/30 22:59:05 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -37,14 +37,13 @@
class G4BosonConstructor
{
//This class is a utility class for constructBoson
//short lived particles
public:
G4BosonConstructor();
~G4BosonConstructor();
public:
void ConstructParticle();
static void ConstructParticle();
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ChargedGeantino.hh,v 1.9 2002/12/16 11:15:36 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4ChargedGeantino.hh,v 1.11 2005/01/14 03:49:04 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -31,47 +31,32 @@
// History: first implementation, based on object model of
// 4-th April 1996, G.Cosmo
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// New impelemenataion as an utility class H.Kurashige, 14 July 2004
// ----------------------------------------------------------------
// Each class inheriting from G4VBoson
// corresponds to a particle type; one and only one
// instance for each class is guaranteed.
#ifndef G4ChargedGeantino_h
#define G4ChargedGeantino_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VBoson.hh"
#include "G4ParticleDefinition.hh"
// ######################################################################
// ### ChargedGeantino ###
// ######################################################################
class G4ChargedGeantino : public G4VBoson
class G4ChargedGeantino : public G4ParticleDefinition
{
private:
static G4ChargedGeantino theChargedGeantino;
static G4ChargedGeantino* theInstance;
private:
G4ChargedGeantino(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable
);
G4ChargedGeantino(){}
public:
virtual ~G4ChargedGeantino(){}
~G4ChargedGeantino(){}
static G4ChargedGeantino* Definition();
static G4ChargedGeantino* ChargedGeantinoDefinition();
static G4ChargedGeantino* ChargedGeantino();
+11 -26
View File
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4Gamma.hh,v 1.12 2002/12/16 11:15:36 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4Gamma.hh,v 1.14 2005/01/14 03:49:05 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -30,48 +30,33 @@
// History: first implementation, based on object model of
// 4-th April 1996, G.Cosmo
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added SetCuts, L.Urban, 12 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// New impelemenataion as an utility class H.Kurashige, 14 July 2004
// ----------------------------------------------------------------
// Each class inheriting from G4VBoson
// corresponds to a particle type; one and only one
// instance for each class is guaranteed.
#ifndef G4Gamma_h
#define G4Gamma_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VBoson.hh"
#include "G4ParticleDefinition.hh"
// ######################################################################
// ### GAMMA ###
// ######################################################################
class G4Gamma : public G4VBoson
class G4Gamma : public G4ParticleDefinition
{
private:
static G4Gamma theGamma;
private: // hide conxtructor as private
G4Gamma(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable
);
static G4Gamma* theInstance;
private: // hide constructor as private
G4Gamma(){}
public:
virtual ~G4Gamma(){}
~G4Gamma(){}
static G4Gamma* Definition();
static G4Gamma* GammaDefinition();
static G4Gamma* Gamma();
};
+9 -25
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Geantino.hh,v 1.9 2002/12/16 11:15:36 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4Geantino.hh,v 1.11 2005/01/14 03:49:05 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -31,50 +31,34 @@
// History: first implementation, based on object model of
// 4-th April 1996, G.Cosmo
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// New impelemenataion as an utility class H.Kurashige, 14 July 2004
// ----------------------------------------------------------------
// Each class inheriting from G4VBoson
// corresponds to a particle type; one and only one
// instance for each class is guaranteed.
#ifndef G4Geantino_h
#define G4Geantino_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VBoson.hh"
#include "G4ParticleDefinition.hh"
// ######################################################################
// ### GEANTINO ###
// ######################################################################
class G4Geantino : public G4VBoson
class G4Geantino : public G4ParticleDefinition
{
private:
static G4Geantino theGeantino;
static G4Geantino* theInstance;
private:
G4Geantino(
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable
);
G4Geantino() {}
public:
virtual ~G4Geantino(){}
~G4Geantino(){}
static G4Geantino* Definition();
static G4Geantino* GeantinoDefinition();
static G4Geantino* Geantino();
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4OpticalPhoton.hh,v 1.8 2002/12/16 11:15:36 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4OpticalPhoton.hh,v 1.11 2005/01/30 22:57:53 asaim Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -31,49 +31,35 @@
// History: first implementation, based on object model of
// 4-th April 1996, G.Cosmo
// ****************************************************************
// Added particle definitions, H.Kurashige, 19 April 1996
// Revised, G.Cosmo, 6 June 1996
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
// New impelemenataion as an utility class H.Kurashige, 14 July 2004
// ----------------------------------------------------------------
// Each class inheriting from G4VBoson
// corresponds to a particle type; one and only one
// instance for each class is guaranteed.
#ifndef G4OpticalPhoton_h
#define G4OpticalPhoton_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VBoson.hh"
#include "G4ParticleDefinition.hh"
// ######################################################################
// ### OPTICAL PHOTON ###
// ######################################################################
class G4OpticalPhoton: public G4VBoson
class G4OpticalPhoton : public G4ParticleDefinition
{
private:
static G4OpticalPhoton theOpticalPhoton;
static G4OpticalPhoton* theInstance;
private:
G4OpticalPhoton (
const G4String& aName, G4double mass,
G4double width, G4double charge,
G4int iSpin, G4int iParity,
G4int iConjugation, G4int iIsospin,
G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
G4int baryon, G4int encoding,
G4bool stable, G4double lifetime,
G4DecayTable *decaytable
);
G4OpticalPhoton () {}
public:
virtual ~G4OpticalPhoton (){}
~G4OpticalPhoton (){}
static G4OpticalPhoton* Definition();
static G4OpticalPhoton* OpticalPhotonDefinition();
static G4OpticalPhoton* OpticalPhoton();
};
#endif
@@ -22,7 +22,7 @@
//
//
// $Id: G4UnknownParticle.hh,v 1.4 2005/01/30 22:58:02 asaim Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// ------------------------------------------------------------
@@ -1,85 +0,0 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of 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: G4VBoson.hh,v 1.5 2004/07/26 08:14:36 kurasige Exp $
// GEANT4 tag $Name: geant4-07-01 $
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
// History: first implementation, based on object model of
// 2nd December 1995, G.Cosmo
// Revised, Hisaya Kurashige, 15 Dec 1996
// Revised, Hisaya Kurashige, 24 Feb 1997
// ------------------------------------------------------------
#ifndef G4VBoson_h
#define G4VBoson_h 1
#include "globals.hh"
#include "G4ParticleDefinition.hh"
class G4VBoson : public G4ParticleDefinition
{
// A virtual class for Bosons particles. It defines
// public methods which describe the behavior of a
// boson.
private:
const G4VBoson & operator=(const G4VBoson &right);
public:
G4VBoson(const G4String& aName,
G4double mass,
G4double width,
G4double charge,
G4int iSpin,
G4int iParity,
G4int iConjugation,
G4int iIsospin,
G4int iIsospinZ,
G4int gParity,
const G4String& pType,
G4int lepton,
G4int baryon,
G4int encoding,
G4bool stable,
G4double lifetime,
G4DecayTable *decaytable)
: G4ParticleDefinition(aName, mass, width, charge, iSpin, iParity,
iConjugation, iIsospin, iIsospinZ, gParity,
pType, lepton, baryon, encoding, stable,
lifetime, decaytable) {};
virtual ~G4VBoson() {};
G4int operator==(const G4VBoson &right) const;
G4int operator!=(const G4VBoson &right) const;
};
#endif