Import Geant4 8.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoE.hh,v 1.9 2002/12/16 11:15:41 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4AntiNeutrinoE.hh,v 1.11 2005/01/14 03:49:16 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,50 +31,31 @@
|
||||
// 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 implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
#ifndef G4AntiNeutrinoE_h
|
||||
#define G4AntiNeutrinoE_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### ANTI NEUTRINO ###
|
||||
// ### ANTI NEUTRINO E ###
|
||||
// ######################################################################
|
||||
|
||||
class G4AntiNeutrinoE : public G4VLepton
|
||||
class G4AntiNeutrinoE : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4AntiNeutrinoE theAntiNeutrinoE;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4AntiNeutrinoE(
|
||||
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 G4AntiNeutrinoE* theInstance;
|
||||
G4AntiNeutrinoE(){}
|
||||
~G4AntiNeutrinoE(){}
|
||||
|
||||
public:
|
||||
virtual ~G4AntiNeutrinoE(){}
|
||||
|
||||
static G4AntiNeutrinoE* Definition();
|
||||
static G4AntiNeutrinoE* AntiNeutrinoEDefinition();
|
||||
static G4AntiNeutrinoE* AntiNeutrinoE();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoMu.hh,v 1.9 2002/12/16 11:15:41 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4AntiNeutrinoMu.hh,v 1.11 2005/01/14 03:49:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,50 +31,31 @@
|
||||
// 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 implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
#ifndef G4AntiNeutrinoMu_h
|
||||
#define G4AntiNeutrinoMu_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### ANTI NEUTRINO ###
|
||||
// ### ANTI NEUTRINO MU ###
|
||||
// ######################################################################
|
||||
|
||||
class G4AntiNeutrinoMu : public G4VLepton
|
||||
class G4AntiNeutrinoMu : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4AntiNeutrinoMu theAntiNeutrinoMu;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4AntiNeutrinoMu(
|
||||
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 G4AntiNeutrinoMu* theInstance;
|
||||
G4AntiNeutrinoMu(){}
|
||||
~G4AntiNeutrinoMu(){}
|
||||
|
||||
public:
|
||||
virtual ~G4AntiNeutrinoMu(){}
|
||||
|
||||
static G4AntiNeutrinoMu* Definition();
|
||||
static G4AntiNeutrinoMu* AntiNeutrinoMuDefinition();
|
||||
static G4AntiNeutrinoMu* AntiNeutrinoMu();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4AntiNeutrinoTau.hh,v 1.9 2002/12/16 11:15:41 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4AntiNeutrinoTau.hh,v 1.12 2005/01/30 22:58:04 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,49 +31,31 @@
|
||||
// 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 implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
#ifndef G4AntiNeutrinoTau_h
|
||||
#define G4AntiNeutrinoTau_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### ANTI NEUTRINO ###
|
||||
// ### ANTI NEUTRINO TAU ###
|
||||
// ######################################################################
|
||||
|
||||
class G4AntiNeutrinoTau : public G4VLepton
|
||||
class G4AntiNeutrinoTau : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4AntiNeutrinoTau theAntiNeutrinoTau;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4AntiNeutrinoTau(
|
||||
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 G4AntiNeutrinoTau* theInstance;
|
||||
G4AntiNeutrinoTau(){}
|
||||
~G4AntiNeutrinoTau(){}
|
||||
|
||||
public:
|
||||
virtual ~G4AntiNeutrinoTau(){}
|
||||
|
||||
static G4AntiNeutrinoTau* Definition();
|
||||
static G4AntiNeutrinoTau* AntiNeutrinoTauDefinition();
|
||||
static G4AntiNeutrinoTau* AntiNeutrinoTau();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Electron.hh,v 1.8 2002/12/16 11:15:42 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4Electron.hh,v 1.11 2005/01/30 22:58:04 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,51 +31,31 @@
|
||||
// History: first implementation, based on object model of
|
||||
// 4-th April 1996, G.Cosmo
|
||||
// ****************************************************************
|
||||
// Added particle definitions, H.Kurashige, 19 April 1996
|
||||
// Added SetCuts implementation for Electron, L.Urban, 30 May 1996
|
||||
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
|
||||
// New implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
#ifndef G4Electron_h
|
||||
#define G4Electron_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
class G4Positron;
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### ELECTRON ###
|
||||
// ######################################################################
|
||||
|
||||
class G4Electron : public G4VLepton
|
||||
class G4Electron : public G4ParticleDefinition
|
||||
{
|
||||
friend class G4Positron;
|
||||
private:
|
||||
static G4Electron theElectron;
|
||||
|
||||
private: //hide constructor as private
|
||||
G4Electron(
|
||||
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 G4Electron* theInstance;
|
||||
G4Electron(){}
|
||||
~G4Electron(){}
|
||||
|
||||
public:
|
||||
virtual ~G4Electron(){}
|
||||
|
||||
static G4Electron* Definition();
|
||||
static G4Electron* ElectronDefinition();
|
||||
static G4Electron* Electron();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LeptonConstructor.hh,v 1.3 2001/07/11 10:01:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4LeptonConstructor.hh,v 1.5 2005/09/30 22:59:05 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -37,19 +37,18 @@
|
||||
class G4LeptonConstructor
|
||||
{
|
||||
//This class is a utility class for constructLepton
|
||||
//short lived particles
|
||||
|
||||
public:
|
||||
G4LeptonConstructor();
|
||||
~G4LeptonConstructor();
|
||||
|
||||
public:
|
||||
void ConstructParticle();
|
||||
static void ConstructParticle();
|
||||
|
||||
protected:
|
||||
void ConstructELeptons();
|
||||
void ConstructMuLeptons();
|
||||
void ConstructTauLeptons();
|
||||
static void ConstructELeptons();
|
||||
static void ConstructMuLeptons();
|
||||
static void ConstructTauLeptons();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuonMinus.hh,v 1.7 2001/10/16 08:16:15 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4MuonMinus.hh,v 1.10 2005/01/30 22:58:04 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,52 +31,33 @@
|
||||
// History: first implementation, based on object model of
|
||||
// 4-th April 1996, G.Cosmo
|
||||
// ****************************************************************
|
||||
// Added particle definitions, H.Kurashige, 19 April 1996
|
||||
// Added SetCuts, L.Urban, 12 June 1996
|
||||
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
|
||||
// New implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
#ifndef G4MuonMinus_h
|
||||
#define G4MuonMinus_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### MUONMINUS ###
|
||||
// ######################################################################
|
||||
|
||||
class G4MuonMinus : public G4VLepton
|
||||
class G4MuonMinus : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4MuonMinus theMuonMinus;
|
||||
static G4MuonMinus* theInstance;
|
||||
G4MuonMinus(){}
|
||||
~G4MuonMinus(){}
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4MuonMinus(
|
||||
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
|
||||
);
|
||||
public:
|
||||
virtual ~G4MuonMinus(){}
|
||||
|
||||
static G4MuonMinus* Definition();
|
||||
static G4MuonMinus* MuonMinusDefinition();
|
||||
static G4MuonMinus* MuonMinus();
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4MuonPlus.hh,v 1.7 2001/10/16 08:16:15 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4MuonPlus.hh,v 1.9 2005/01/14 03:49:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,52 +31,33 @@
|
||||
// History: first implementation, based on object model of
|
||||
// 4-th April 1996, G.Cosmo
|
||||
// ****************************************************************
|
||||
// Added particle definitions, H.Kurashige, 19 April 1996
|
||||
// Added SetCuts, L.Urban, 12 June 1996
|
||||
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
|
||||
// New implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
#ifndef G4MuonPlus_h
|
||||
#define G4MuonPlus_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### MUONPLUS ###
|
||||
// ######################################################################
|
||||
|
||||
class G4MuonPlus : public G4VLepton
|
||||
class G4MuonPlus : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4MuonPlus theMuonPlus;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4MuonPlus(
|
||||
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 G4MuonPlus* theInstance;
|
||||
G4MuonPlus(){}
|
||||
~G4MuonPlus(){}
|
||||
|
||||
public:
|
||||
virtual ~G4MuonPlus(){}
|
||||
|
||||
static G4MuonPlus* Definition();
|
||||
static G4MuonPlus* MuonPlusDefinition();
|
||||
static G4MuonPlus* MuonPlus();
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoE.hh,v 1.9 2002/12/16 11:15:42 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4NeutrinoE.hh,v 1.11 2005/01/14 03:49:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,50 +31,31 @@
|
||||
// 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 implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
#ifndef G4NeutrinoE_h
|
||||
#define G4NeutrinoE_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### NEUTRINO ###
|
||||
// ### NEUTRINO E ###
|
||||
// ######################################################################
|
||||
|
||||
class G4NeutrinoE : public G4VLepton
|
||||
class G4NeutrinoE : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4NeutrinoE theNeutrinoE;
|
||||
|
||||
private:
|
||||
G4NeutrinoE(
|
||||
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
|
||||
);
|
||||
|
||||
public:
|
||||
virtual ~G4NeutrinoE(){}
|
||||
static G4NeutrinoE* theInstance;
|
||||
G4NeutrinoE(){}
|
||||
~G4NeutrinoE(){}
|
||||
|
||||
public:
|
||||
static G4NeutrinoE* Definition();
|
||||
static G4NeutrinoE* NeutrinoEDefinition();
|
||||
static G4NeutrinoE* NeutrinoE();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoMu.hh,v 1.9 2002/12/16 11:15:42 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4NeutrinoMu.hh,v 1.11 2005/01/14 03:49:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,49 +31,31 @@
|
||||
// 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 implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
#ifndef G4NeutrinoMu_h
|
||||
#define G4NeutrinoMu_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### NEUTRINO ###
|
||||
// ### NEUTRINO MU ###
|
||||
// ######################################################################
|
||||
|
||||
class G4NeutrinoMu : public G4VLepton
|
||||
class G4NeutrinoMu : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4NeutrinoMu theNeutrinoMu;
|
||||
|
||||
private:
|
||||
G4NeutrinoMu(
|
||||
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 G4NeutrinoMu* theInstance;
|
||||
G4NeutrinoMu(){}
|
||||
~G4NeutrinoMu(){}
|
||||
|
||||
public:
|
||||
virtual ~G4NeutrinoMu(){}
|
||||
|
||||
static G4NeutrinoMu* Definition();
|
||||
static G4NeutrinoMu* NeutrinoMuDefinition();
|
||||
static G4NeutrinoMu* NeutrinoMu();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4NeutrinoTau.hh,v 1.9 2002/12/16 11:15:42 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4NeutrinoTau.hh,v 1.12 2005/01/30 22:58:04 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,48 +31,31 @@
|
||||
// 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 implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
#ifndef G4NeutrinoTau_h
|
||||
#define G4NeutrinoTau_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### NEUTRINO ###
|
||||
// ### NEUTRINO TAU ###
|
||||
// ######################################################################
|
||||
|
||||
class G4NeutrinoTau : public G4VLepton
|
||||
class G4NeutrinoTau : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4NeutrinoTau theNeutrinoTau;
|
||||
|
||||
private:
|
||||
G4NeutrinoTau(
|
||||
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 G4NeutrinoTau* theInstance;
|
||||
G4NeutrinoTau(){}
|
||||
~G4NeutrinoTau(){}
|
||||
|
||||
public:
|
||||
virtual ~G4NeutrinoTau(){}
|
||||
|
||||
static G4NeutrinoTau* Definition();
|
||||
static G4NeutrinoTau* NeutrinoTauDefinition();
|
||||
static G4NeutrinoTau* NeutrinoTau();
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Positron.hh,v 1.8 2002/12/16 11:15:42 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4Positron.hh,v 1.10 2005/01/14 03:49:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,51 +31,30 @@
|
||||
// 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
|
||||
// Revised, Hisaya Kurashige, 4 July 1996
|
||||
// Revised, Hisaya Kurashige, 7 July 1996
|
||||
// Added not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
|
||||
// Revised, Hisaya Kurashige, 15 Dec 1996
|
||||
// New implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
#ifndef G4Positron_h
|
||||
#define G4Positron_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4Electron.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
|
||||
// ######################################################################
|
||||
// ### POSITRON ###
|
||||
// ######################################################################
|
||||
|
||||
class G4Positron : public G4VLepton
|
||||
class G4Positron : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4Positron thePositron;
|
||||
|
||||
private: //hide constructor as private
|
||||
G4Positron(
|
||||
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 G4Positron* theInstance;
|
||||
G4Positron(){}
|
||||
~G4Positron(){}
|
||||
|
||||
public:
|
||||
virtual ~G4Positron(){};
|
||||
|
||||
static G4Positron* Definition();
|
||||
static G4Positron* PositronDefinition();
|
||||
static G4Positron* Positron();
|
||||
};
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TauMinus.hh,v 1.7 2001/10/16 08:16:16 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4TauMinus.hh,v 1.9 2005/01/14 03:49:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,53 +31,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 not static GetEnergyCuts() and GetLengthCuts(), G.Cosmo, 11 July 1996
|
||||
// New implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
#ifndef G4TauMinus_h
|
||||
#define G4TauMinus_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### TAUMINUS ###
|
||||
// ######################################################################
|
||||
|
||||
class G4TauMinus : public G4VLepton
|
||||
class G4TauMinus : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4TauMinus theTauMinus;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4TauMinus(
|
||||
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 G4TauMinus* theInstance;
|
||||
G4TauMinus(){}
|
||||
~G4TauMinus(){}
|
||||
|
||||
public:
|
||||
virtual ~G4TauMinus(){}
|
||||
|
||||
static G4TauMinus* TauMinusDefinition();
|
||||
static G4TauMinus* TauMinus();
|
||||
|
||||
static G4TauMinus* Definition();
|
||||
static G4TauMinus* TauMinusDefinition();
|
||||
static G4TauMinus* TauMinus();
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4TauPlus.hh,v 1.7 2001/10/16 08:16:16 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-07-01 $
|
||||
// $Id: G4TauPlus.hh,v 1.9 2005/01/14 03:49:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,53 +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 implementation as a utility class M.Asai, 26 July 2004
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// Each class inheriting from G4VLepton
|
||||
// corresponds to a particle type; one and only one
|
||||
// instance for each class is guaranteed.
|
||||
|
||||
|
||||
#ifndef G4TauPlus_h
|
||||
#define G4TauPlus_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "G4VLepton.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
// ######################################################################
|
||||
// ### TAUPLUS ###
|
||||
// ######################################################################
|
||||
|
||||
class G4TauPlus : public G4VLepton
|
||||
class G4TauPlus : public G4ParticleDefinition
|
||||
{
|
||||
private:
|
||||
static G4TauPlus theTauPlus;
|
||||
|
||||
private: // constructors are hide as private
|
||||
G4TauPlus(
|
||||
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 G4TauPlus* theInstance;
|
||||
G4TauPlus(){}
|
||||
~G4TauPlus(){}
|
||||
|
||||
public:
|
||||
virtual ~G4TauPlus(){}
|
||||
|
||||
static G4TauPlus* TauPlusDefinition();
|
||||
static G4TauPlus* TauPlus();
|
||||
|
||||
static G4TauPlus* Definition();
|
||||
static G4TauPlus* TauPlusDefinition();
|
||||
static G4TauPlus* TauPlus();
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1,87 +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: G4VLepton.hh,v 1.5 2004/07/26 08:16:40 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 Frb 1997
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#ifndef G4VLepton_h
|
||||
#define G4VLepton_h 1
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
#include "G4ParticleDefinition.hh"
|
||||
|
||||
class G4VLepton : public G4ParticleDefinition
|
||||
{
|
||||
// A virtual class for Leptons particles. It defines
|
||||
// public methods which describe the behavior of a
|
||||
// lepton.
|
||||
|
||||
private:
|
||||
|
||||
const G4VLepton & operator=(const G4VLepton &right);
|
||||
|
||||
public:
|
||||
|
||||
G4VLepton(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 ~G4VLepton() {};
|
||||
|
||||
G4int operator==(const G4VLepton &right) const;
|
||||
G4int operator!=(const G4VLepton &right) const;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user