Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -38,26 +35,20 @@
#ifndef G4Alpha_h
#define G4Alpha_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ALPHA ###
// ######################################################################
class G4Alpha : public G4Ions
{
private:
static G4Alpha* theInstance;
G4Alpha(){}
~G4Alpha() override= default;
public:
static G4Alpha* Definition();
static G4Alpha* AlphaDefinition();
static G4Alpha* Alpha();
public:
static G4Alpha* Definition();
static G4Alpha* AlphaDefinition();
static G4Alpha* Alpha();
private:
G4Alpha() {}
~G4Alpha() override = default;
static G4Alpha* theInstance;
};
#endif
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -38,26 +35,20 @@
#ifndef G4AntiAlpha_h
#define G4AntiAlpha_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI ALPHA ###
// ######################################################################
class G4AntiAlpha : public G4Ions
{
private:
static G4AntiAlpha* theInstance;
G4AntiAlpha(){}
~G4AntiAlpha() override= default;
public:
static G4AntiAlpha* Definition();
static G4AntiAlpha* AntiAlphaDefinition();
static G4AntiAlpha* AntiAlpha();
public:
static G4AntiAlpha* Definition();
static G4AntiAlpha* AntiAlphaDefinition();
static G4AntiAlpha* AntiAlpha();
private:
G4AntiAlpha() {}
~G4AntiAlpha() override = default;
static G4AntiAlpha* theInstance;
};
#endif
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -38,27 +35,20 @@
#ifndef G4AntiDeuteron_h
#define G4AntiDeuteron_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### AntiDEUTERON ###
// ######################################################################
class G4AntiDeuteron : public G4Ions
{
private:
static G4AntiDeuteron* theInstance;
G4AntiDeuteron(){}
~G4AntiDeuteron() override= default;
public:
static G4AntiDeuteron* Definition();
static G4AntiDeuteron* AntiDeuteronDefinition();
static G4AntiDeuteron* AntiDeuteron();
public:
static G4AntiDeuteron* Definition();
static G4AntiDeuteron* AntiDeuteronDefinition();
static G4AntiDeuteron* AntiDeuteron();
private:
G4AntiDeuteron() {}
~G4AntiDeuteron() override = default;
static G4AntiDeuteron* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4AntiDoubleHyperDoubleNeutron_h
#define G4AntiDoubleHyperDoubleNeutron_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI DOUBLEHYPERDOUBLENEUTRON ###
// ######################################################################
class G4AntiDoubleHyperDoubleNeutron : public G4Ions {
class G4AntiDoubleHyperDoubleNeutron : public G4Ions
{
public:
static G4AntiDoubleHyperDoubleNeutron* Definition();
static G4AntiDoubleHyperDoubleNeutron* AntiDoubleHyperDoubleNeutronDefinition();
static G4AntiDoubleHyperDoubleNeutron* AntiDoubleHyperDoubleNeutron();
private:
static G4AntiDoubleHyperDoubleNeutron* theInstance;
G4AntiDoubleHyperDoubleNeutron() {}
G4AntiDoubleHyperDoubleNeutron() {}
~G4AntiDoubleHyperDoubleNeutron() override = default;
static G4AntiDoubleHyperDoubleNeutron* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4AntiDoubleHyperH4_h
#define G4AntiDoubleHyperH4_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ###############################################################
// ### ANTI DOUBLEHYPERH4 ###
// ###############################################################
class G4AntiDoubleHyperH4 : public G4Ions {
class G4AntiDoubleHyperH4 : public G4Ions
{
public:
static G4AntiDoubleHyperH4* Definition();
static G4AntiDoubleHyperH4* AntiDoubleHyperH4Definition();
static G4AntiDoubleHyperH4* AntiDoubleHyperH4();
private:
static G4AntiDoubleHyperH4* theInstance;
G4AntiDoubleHyperH4() {}
G4AntiDoubleHyperH4() {}
~G4AntiDoubleHyperH4() override = default;
static G4AntiDoubleHyperH4* theInstance;
};
#endif
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -38,26 +35,20 @@
#ifndef G4AntiHe3_h
#define G4AntiHe3_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI He3 ###
// ######################################################################
class G4AntiHe3 : public G4Ions
{
private:
static G4AntiHe3* theInstance;
G4AntiHe3(){}
~G4AntiHe3() override= default;
public:
static G4AntiHe3* Definition();
static G4AntiHe3* AntiHe3Definition();
static G4AntiHe3* AntiHe3();
public:
static G4AntiHe3* Definition();
static G4AntiHe3* AntiHe3Definition();
static G4AntiHe3* AntiHe3();
private:
G4AntiHe3() {}
~G4AntiHe3() override = default;
static G4AntiHe3* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4AntiHyperAlpha_h
#define G4AntiHyperAlpha_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI HYPERALPHA ###
// ######################################################################
class G4AntiHyperAlpha : public G4Ions {
class G4AntiHyperAlpha : public G4Ions
{
public:
static G4AntiHyperAlpha* Definition();
static G4AntiHyperAlpha* AntiHyperAlphaDefinition();
static G4AntiHyperAlpha* AntiHyperAlpha();
private:
static G4AntiHyperAlpha* theInstance;
G4AntiHyperAlpha() {}
G4AntiHyperAlpha() {}
~G4AntiHyperAlpha() override = default;
static G4AntiHyperAlpha* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4AntiHyperH4_h
#define G4AntiHyperH4_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ###############################################################
// ### ANTI HYPERH4 ###
// ###############################################################
class G4AntiHyperH4 : public G4Ions {
class G4AntiHyperH4 : public G4Ions
{
public:
static G4AntiHyperH4* Definition();
static G4AntiHyperH4* AntiHyperH4Definition();
static G4AntiHyperH4* AntiHyperH4();
private:
static G4AntiHyperH4* theInstance;
G4AntiHyperH4() {}
G4AntiHyperH4() {}
~G4AntiHyperH4() override = default;
static G4AntiHyperH4* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4AntiHyperHe5_h
#define G4AntiHyperHe5_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ##################################################################
// ### ANTI HYPERHE5 ###
// ##################################################################
class G4AntiHyperHe5 : public G4Ions {
class G4AntiHyperHe5 : public G4Ions
{
public:
static G4AntiHyperHe5* Definition();
static G4AntiHyperHe5* AntiHyperHe5Definition();
static G4AntiHyperHe5* AntiHyperHe5();
private:
static G4AntiHyperHe5* theInstance;
G4AntiHyperHe5() {}
G4AntiHyperHe5() {}
~G4AntiHyperHe5() override = default;
static G4AntiHyperHe5* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4AntiHyperTriton_h
#define G4AntiHyperTriton_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI HYPERTRITON ###
// ######################################################################
class G4AntiHyperTriton : public G4Ions {
class G4AntiHyperTriton : public G4Ions
{
public:
static G4AntiHyperTriton* Definition();
static G4AntiHyperTriton* AntiHyperTritonDefinition();
static G4AntiHyperTriton* AntiHyperTriton();
private:
static G4AntiHyperTriton* theInstance;
G4AntiHyperTriton() {}
G4AntiHyperTriton() {}
~G4AntiHyperTriton() override = default;
static G4AntiHyperTriton* theInstance;
};
#endif
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -38,26 +35,20 @@
#ifndef G4AntiTriton_h
#define G4AntiTriton_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### ANTI TRITON ###
// ######################################################################
class G4AntiTriton : public G4Ions
{
private:
static G4AntiTriton* theInstance;
G4AntiTriton(){}
~G4AntiTriton() override= default;
public:
static G4AntiTriton* Definition();
static G4AntiTriton* AntiTritonDefinition();
static G4AntiTriton* AntiTriton();
public:
static G4AntiTriton* Definition();
static G4AntiTriton* AntiTritonDefinition();
static G4AntiTriton* AntiTriton();
private:
G4AntiTriton() {}
~G4AntiTriton() override = default;
static G4AntiTriton* theInstance;
};
#endif
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -38,32 +35,20 @@
#ifndef G4Deuteron_h
#define G4Deuteron_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### DEUTERON ###
// ######################################################################
class G4Deuteron : public G4Ions
{
private:
static G4Deuteron* theInstance;
G4Deuteron(){}
~G4Deuteron() override= default;
public:
static G4Deuteron* Definition();
static G4Deuteron* DeuteronDefinition();
static G4Deuteron* Deuteron();
public:
static G4Deuteron* Definition();
static G4Deuteron* DeuteronDefinition();
static G4Deuteron* Deuteron();
private:
G4Deuteron() {}
~G4Deuteron() override = default;
static G4Deuteron* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4DoubleHyperDoubleNeutron_h
#define G4DoubleHyperDoubleNeutron_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### DOUBLEHYPERDOUBLENEUTRON ###
// ######################################################################
class G4DoubleHyperDoubleNeutron : public G4Ions {
class G4DoubleHyperDoubleNeutron : public G4Ions
{
public:
static G4DoubleHyperDoubleNeutron* Definition();
static G4DoubleHyperDoubleNeutron* DoubleHyperDoubleNeutronDefinition();
static G4DoubleHyperDoubleNeutron* DoubleHyperDoubleNeutron();
private:
static G4DoubleHyperDoubleNeutron* theInstance;
G4DoubleHyperDoubleNeutron() {}
G4DoubleHyperDoubleNeutron() {}
~G4DoubleHyperDoubleNeutron() override = default;
static G4DoubleHyperDoubleNeutron* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4DoubleHyperH4_h
#define G4DoubleHyperH4_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ###############################################################
// ### DOUBLEHYPERH4 ###
// ###############################################################
class G4DoubleHyperH4 : public G4Ions {
class G4DoubleHyperH4 : public G4Ions
{
public:
static G4DoubleHyperH4* Definition();
static G4DoubleHyperH4* DoubleHyperH4Definition();
static G4DoubleHyperH4* DoubleHyperH4();
private:
static G4DoubleHyperH4* theInstance;
G4DoubleHyperH4() {}
G4DoubleHyperH4() {}
~G4DoubleHyperH4() override = default;
static G4DoubleHyperH4* theInstance;
};
#endif
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -36,7 +33,7 @@
// ****************************************************************
// This class is used only by G4IonTable and not for tracking
// G4IonTable creates various ions other than alpha,deuteron,triton,
// and He3. Processes for these ions will be same as ones for
// and He3. Processes for these ions will be same as ones for
// this "GenericIon". So, user should register processes for ions
// to this class in his/her UserPhysicsList
// ----------------------------------------------------------------------
@@ -44,26 +41,20 @@
#ifndef G4GenericIon_h
#define G4GenericIon_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### GenericIon ###
// ######################################################################
class G4GenericIon : public G4Ions
{
private:
static G4GenericIon* theInstance;
G4GenericIon(){}
~G4GenericIon() override= default;
public:
static G4GenericIon* Definition();
static G4GenericIon* GenericIonDefinition();
static G4GenericIon* GenericIon();
public:
static G4GenericIon* Definition();
static G4GenericIon* GenericIonDefinition();
static G4GenericIon* GenericIon();
private:
G4GenericIon() {}
~G4GenericIon() override = default;
static G4GenericIon* theInstance;
};
#endif
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -41,26 +38,20 @@
#ifndef G4GenericMuonicAtom_h
#define G4GenericMuonicAtom_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4MuonicAtom.hh"
// ######################################################################
// ### GenericMuonicAtom ###
// ######################################################################
class G4GenericMuonicAtom : public G4MuonicAtom
{
private:
static G4GenericMuonicAtom* theInstance;
G4GenericMuonicAtom(){}
~G4GenericMuonicAtom() override= default;
public:
static G4GenericMuonicAtom* Definition();
static G4GenericMuonicAtom* GenericMuonicAtomDefinition();
static G4GenericMuonicAtom* GenericMuonicAtom();
public:
static G4GenericMuonicAtom* Definition();
static G4GenericMuonicAtom* GenericMuonicAtomDefinition();
static G4GenericMuonicAtom* GenericMuonicAtom();
private:
G4GenericMuonicAtom() {}
~G4GenericMuonicAtom() override = default;
static G4GenericMuonicAtom* theInstance;
};
#endif
+9 -19
View File
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -38,27 +35,20 @@
#ifndef G4He3_h
#define G4He3_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### He3 ###
// ######################################################################
class G4He3 : public G4Ions
{
private:
static G4He3* theInstance;
G4He3(){}
~G4He3() override= default;
public:
static G4He3* Definition();
static G4He3* He3Definition();
static G4He3* He3();
public:
static G4He3* Definition();
static G4He3* He3Definition();
static G4He3* He3();
private:
G4He3() {}
~G4He3() override = default;
static G4He3* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4HyperAlpha_h
#define G4HyperAlpha_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### HYPERALPHA ###
// ######################################################################
class G4HyperAlpha : public G4Ions {
class G4HyperAlpha : public G4Ions
{
public:
static G4HyperAlpha* Definition();
static G4HyperAlpha* HyperAlphaDefinition();
static G4HyperAlpha* HyperAlpha();
private:
static G4HyperAlpha* theInstance;
G4HyperAlpha() {}
G4HyperAlpha() {}
~G4HyperAlpha() override = default;
static G4HyperAlpha* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4HyperH4_h
#define G4HyperH4_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ###############################################################
// ### HYPERH4 ###
// ###############################################################
class G4HyperH4 : public G4Ions {
class G4HyperH4 : public G4Ions
{
public:
static G4HyperH4* Definition();
static G4HyperH4* HyperH4Definition();
static G4HyperH4* HyperH4();
private:
static G4HyperH4* theInstance;
G4HyperH4() {}
G4HyperH4() {}
~G4HyperH4() override = default;
static G4HyperH4* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4HyperHe5_h
#define G4HyperHe5_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ##################################################################
// ### HYPERHE5 ###
// ##################################################################
class G4HyperHe5 : public G4Ions {
class G4HyperHe5 : public G4Ions
{
public:
static G4HyperHe5* Definition();
static G4HyperHe5* HyperHe5Definition();
static G4HyperHe5* HyperHe5();
private:
static G4HyperHe5* theInstance;
G4HyperHe5() {}
G4HyperHe5() {}
~G4HyperHe5() override = default;
static G4HyperHe5* theInstance;
};
#endif
@@ -30,24 +30,20 @@
#ifndef G4HyperTriton_h
#define G4HyperTriton_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### HYPERTRITON ###
// ######################################################################
class G4HyperTriton : public G4Ions {
class G4HyperTriton : public G4Ions
{
public:
static G4HyperTriton* Definition();
static G4HyperTriton* HyperTritonDefinition();
static G4HyperTriton* HyperTriton();
private:
static G4HyperTriton* theInstance;
G4HyperTriton() {}
G4HyperTriton() {}
~G4HyperTriton() override = default;
static G4HyperTriton* theInstance;
};
#endif
@@ -23,21 +23,15 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
// GEANT 4 class implementation file
//
#ifndef G4IonConstructor_h
#define G4IonConstructor_h 1
#include "globals.hh"
#include "G4ios.hh"
class G4IonConstructor
{
//This class is a utility class for construction
// This class is a utility class for construction
public:
static void ConstructParticle();
@@ -23,9 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// ------------------------------------------------------------
// GEANT 4 class header file
//
@@ -38,26 +35,20 @@
#ifndef G4Triton_h
#define G4Triton_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4ParticleDefinition.hh"
#include "G4Ions.hh"
// ######################################################################
// ### TRITON ###
// ######################################################################
class G4Triton : public G4Ions
{
private:
static G4Triton* theInstance;
G4Triton(){}
~G4Triton() override= default;
public:
static G4Triton* Definition();
static G4Triton* TritonDefinition();
static G4Triton* Triton();
public:
static G4Triton* Definition();
static G4Triton* TritonDefinition();
static G4Triton* Triton();
private:
G4Triton() {}
~G4Triton() override = default;
static G4Triton* theInstance;
};
#endif