Import Geant4 9.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:25:56 +02:00
parent 74cad5e589
commit 89a9605df1
4440 changed files with 379508 additions and 189225 deletions
+18
View File
@@ -0,0 +1,18 @@
#------------------------------------------------------------------------------
# CMakeLists.txt
# Module : G4partutils
# Package: Geant4.src.G4particles.G4partutils
#
# CMakeLists.txt for building a single granular library.
#
# Generated on : 24/9/2010
#
# $Id: CMakeLists.txt,v 1.1 2010/09/29 18:49:32 bmorgan Exp $
#
#------------------------------------------------------------------------------
if(GEANT4_BUILD_GRANULAR_LIBS)
include(Geant4MacroLibraryTargets)
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
endif()
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.2 2004/06/11 14:25:31 gcosmo Exp $
# $Id: GNUmakefile,v 1.4 2010/10/27 07:47:05 gcosmo Exp $
# ----------------------------------------------------------------
# GNUmakefile for particle management library. G.Cosmo, 4/4/97.
# ----------------------------------------------------------------
@@ -29,8 +29,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4HtmlPPReporter.hh,v 1.2 2006/06/29 19:27:46 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4HtmlPPReporter.hh,v 1.3 2010/08/10 15:47:43 kurasige Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
//
// ---------------------------------------------------------------
@@ -58,7 +58,7 @@ class G4HtmlPPReporter: public G4VParticlePropertyReporter
private:
void SparseOption(const G4String& option);
void GenerateIndex();
void GeneratePropertyTable(G4ParticleDefinition* );
void GeneratePropertyTable(const G4ParticleDefinition* );
void PrintHeader(std::ofstream& );
void PrintFooter(std::ofstream& );
@@ -29,8 +29,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4TextPPReporter.hh,v 1.2 2006/06/29 19:27:50 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4TextPPReporter.hh,v 1.3 2010/08/10 15:47:43 kurasige Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
//
// ---------------------------------------------------------------
@@ -56,7 +56,7 @@ class G4TextPPReporter: public G4VParticlePropertyReporter
protected:
void SparseOption(const G4String& option);
void GeneratePropertyTable(G4ParticleDefinition* );
void GeneratePropertyTable(const G4ParticleDefinition* );
protected:
G4String baseDir;
@@ -29,8 +29,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4TextPPRetriever.hh,v 1.2 2006/06/29 19:27:52 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4TextPPRetriever.hh,v 1.3 2010/08/10 15:47:43 kurasige Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
//
// ---------------------------------------------------------------
@@ -58,7 +58,7 @@ class G4TextPPRetriever: public G4VParticlePropertyRetriever
protected:
void SparseOption(const G4String& option);
G4bool ModifyPropertyTable(G4ParticleDefinition* );
G4bool ModifyPropertyTable(const G4ParticleDefinition* );
protected:
G4String baseDir;
+65
View File
@@ -0,0 +1,65 @@
#------------------------------------------------------------------------------
# sources.cmake
# Module : G4partutils
# Package: Geant4.src.G4particles.G4partutils
#
# Sources description for a library.
# Lists the sources and headers of the code explicitely.
# Lists include paths needed.
# Lists the internal granular and global dependencies of the library.
# Source specific properties should be added at the end.
#
# Generated on : 24/9/2010
#
# $Id: sources.cmake,v 1.1 2010/09/29 18:49:41 bmorgan Exp $
#
#------------------------------------------------------------------------------
# List external includes needed.
include_directories(${CLHEP_INCLUDE_DIRS})
# List internal includes needed.
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include)
include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/include)
include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include)
include_directories(${CMAKE_SOURCE_DIR}/source/materials/include)
include_directories(${CMAKE_SOURCE_DIR}/source/particles/management/include)
#
# Define the Geant4 Module.
#
include(Geant4MacroDefineModule)
GEANT4_DEFINE_MODULE(NAME G4partutils
HEADERS
G4HtmlPPReporter.hh
G4IsotopeMagneticMomentTable.hh
G4SimplePPReporter.hh
G4TextPPReporter.hh
G4TextPPRetriever.hh
G4VParticlePropertyReporter.hh
G4VParticlePropertyRetriever.hh
SOURCES
G4HtmlPPReporter.cc
G4IsotopeMagneticMomentTable.cc
G4SimplePPReporter.cc
G4TextPPReporter.cc
G4TextPPRetriever.cc
G4VParticlePropertyReporter.cc
GRANULAR_DEPENDENCIES
G4geometrymng
G4globman
G4intercoms
G4materials
G4partman
GLOBAL_DEPENDENCIES
G4geometry
G4global
G4intercoms
G4materials
LINK_LIBRARIES
)
# List any source specific properties here
@@ -29,8 +29,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4HtmlPPReporter.cc,v 1.6 2008/06/08 14:05:33 kurasige Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4HtmlPPReporter.cc,v 1.7 2010/08/10 15:47:43 kurasige Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
//
// ---------------------------------------------------------------
@@ -159,7 +159,7 @@ void G4HtmlPPReporter::SparseOption(const G4String& option)
}
void G4HtmlPPReporter::GeneratePropertyTable(G4ParticleDefinition* particle)
void G4HtmlPPReporter::GeneratePropertyTable(const G4ParticleDefinition* particle)
{
if (particle->GetPDGEncoding()<0) return;
@@ -29,8 +29,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4TextPPReporter.cc,v 1.2 2006/06/29 19:28:02 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4TextPPReporter.cc,v 1.3 2010/08/10 15:47:43 kurasige Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
//
// ---------------------------------------------------------------
@@ -80,7 +80,7 @@ void G4TextPPReporter::SparseOption(const G4String& option)
void G4TextPPReporter::GeneratePropertyTable(G4ParticleDefinition* particle)
void G4TextPPReporter::GeneratePropertyTable(const G4ParticleDefinition* particle)
{
G4String name = particle->GetParticleName();
@@ -29,8 +29,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4TextPPRetriever.cc,v 1.2 2006/06/29 19:28:04 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4TextPPRetriever.cc,v 1.3 2010/08/10 15:47:43 kurasige Exp $
// GEANT4 tag $Name: geant4-09-04 $
//
//
// ---------------------------------------------------------------
@@ -86,7 +86,7 @@ void G4TextPPRetriever::SparseOption(const G4String& option)
G4bool G4TextPPRetriever::ModifyPropertyTable(G4ParticleDefinition* particle)
G4bool G4TextPPRetriever::ModifyPropertyTable(const G4ParticleDefinition* particle)
{
G4String name = particle->GetParticleName();