Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# CMakeLists.txt
|
||||
# Module : G4analysis
|
||||
# Package: Geant4.src.G4analysis.G4root
|
||||
#
|
||||
# CMakeLists.txt for building a single granular library.
|
||||
#
|
||||
# Created on : 15/07/2013
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if(GEANT4_BUILD_GRANULAR_LIBS)
|
||||
include(Geant4MacroLibraryTargets)
|
||||
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
|
||||
endif()
|
||||
|
||||
@@ -1,69 +1,45 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# sources.cmake
|
||||
# Module : G4csv
|
||||
# Module : G4root
|
||||
# Package: Geant4.src.G4analysis.G4root
|
||||
#
|
||||
# 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 : 15/07/2013
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# List external includes needed.
|
||||
include_directories(${CLHEP_INCLUDE_DIRS})
|
||||
include_directories(${ZLIB_INCLUDE_DIRS})
|
||||
|
||||
# List internal includes needed.
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/analysis/g4tools/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/analysis/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/analysis/hntools/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/run/include)
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
include(Geant4MacroDefineModule)
|
||||
GEANT4_DEFINE_MODULE(NAME G4root
|
||||
HEADERS
|
||||
G4RootAnalysisManager.hh
|
||||
G4RootAnalysisManager.icc
|
||||
G4RootAnalysisReader.hh
|
||||
G4RootAnalysisReader.icc
|
||||
G4RootFileManager.hh
|
||||
G4RootMainNtupleManager.hh
|
||||
G4RootNtupleManager.hh
|
||||
G4RootPNtupleDescription.hh
|
||||
G4RootPNtupleManager.hh
|
||||
G4RootRFileManager.hh
|
||||
G4RootRNtupleManager.hh
|
||||
g4root_defs.hh
|
||||
g4root.hh
|
||||
SOURCES
|
||||
G4RootAnalysisManager.cc
|
||||
G4RootAnalysisReader.cc
|
||||
G4RootFileManager.cc
|
||||
G4RootMainNtupleManager.cc
|
||||
G4RootNtupleManager.cc
|
||||
G4RootPNtupleManager.cc
|
||||
G4RootRFileManager.cc
|
||||
G4RootRNtupleManager.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4globman
|
||||
G4intercoms
|
||||
G4analysismng
|
||||
G4hntools
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4global
|
||||
G4intercoms
|
||||
LINK_LIBRARIES
|
||||
${ZLIB_LIBRARIES}
|
||||
geant4_define_module(NAME G4root
|
||||
HEADERS
|
||||
G4RootAnalysisManager.hh
|
||||
G4RootAnalysisManager.icc
|
||||
G4RootAnalysisReader.hh
|
||||
G4RootAnalysisReader.icc
|
||||
G4RootFileManager.hh
|
||||
G4RootMainNtupleManager.hh
|
||||
G4RootNtupleManager.hh
|
||||
G4RootPNtupleDescription.hh
|
||||
G4RootPNtupleManager.hh
|
||||
G4RootRFileManager.hh
|
||||
G4RootRNtupleManager.hh
|
||||
g4root_defs.hh
|
||||
g4root.hh
|
||||
SOURCES
|
||||
G4RootAnalysisManager.cc
|
||||
G4RootAnalysisReader.cc
|
||||
G4RootFileManager.cc
|
||||
G4RootMainNtupleManager.cc
|
||||
G4RootNtupleManager.cc
|
||||
G4RootPNtupleManager.cc
|
||||
G4RootRFileManager.cc
|
||||
G4RootRNtupleManager.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4globman
|
||||
G4intercoms
|
||||
G4analysismng
|
||||
G4hntools
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4global
|
||||
G4intercoms
|
||||
LINK_LIBRARIES
|
||||
${ZLIB_LIBRARIES}
|
||||
)
|
||||
|
||||
# List any source specific properties here
|
||||
|
||||
@@ -399,8 +399,9 @@ G4bool G4RootPNtupleManager::Merge()
|
||||
for ( auto ntupleDescription : fNtupleDescriptionVector) {
|
||||
|
||||
// skip inactivated ntuples
|
||||
if ( ! ntupleDescription->fActivation ) continue;
|
||||
|
||||
if(!ntupleDescription->fActivation || !ntupleDescription->fNtuple)
|
||||
continue;
|
||||
|
||||
#ifdef G4VERBOSE
|
||||
if ( fState.GetVerboseL4() ) {
|
||||
fState.GetVerboseL4()
|
||||
|
||||
Reference in New Issue
Block a user