Import Geant4 9.4.0 source tree
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# CMakeLists.txt
|
||||
# Module : G4biasing
|
||||
# Package: Geant4.src.G4processes.G4biasing
|
||||
#
|
||||
# CMakeLists.txt for building a single granular library.
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
# $Id: CMakeLists.txt,v 1.1 2010/09/29 18:51:35 bmorgan Exp $
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if(GEANT4_BUILD_GRANULAR_LIBS)
|
||||
include(Geant4MacroLibraryTargets)
|
||||
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
|
||||
endif()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.19 2008/04/22 09:29:35 ahoward Exp $
|
||||
$Id: History,v 1.20 2010/07/02 11:02:40 gcosmo Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,6 +17,11 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
June 2nd, 2010 Gabriele Cosmo (procbiasing-V09-03-00)
|
||||
- G4WeightWindowProcess: corrected call to G4WeightWindowStore::GetLowerWeight()
|
||||
after correction of mispelling in name...
|
||||
- Requires tag geombias-V09-03-00.
|
||||
|
||||
April 22nd, 2008 Alex Howard (procbiasing-V09-01-02)
|
||||
- Removed G4CellFinder and associated dependency in G4WeigthCutOffProcess and
|
||||
G4WeightCutOffConfigurator- was a hang-up from previous implementation
|
||||
|
||||
@@ -0,0 +1,103 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# sources.cmake
|
||||
# Module : G4biasing
|
||||
# Package: Geant4.src.G4processes.G4biasing
|
||||
#
|
||||
# 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:51:43 bmorgan Exp $
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# List external includes needed.
|
||||
include_directories(${CLHEP_INCLUDE_DIRS})
|
||||
|
||||
# List internal includes needed.
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/detector/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/biasing/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/magneticfield/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/navigation/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/geometry/volumes/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)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/cuts/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/electromagnetic/utils/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/management/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/processes/transportation/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/source/track/include)
|
||||
|
||||
#
|
||||
# Define the Geant4 Module.
|
||||
#
|
||||
include(Geant4MacroDefineModule)
|
||||
GEANT4_DEFINE_MODULE(NAME G4biasing
|
||||
HEADERS
|
||||
G4GeometrySampler.hh
|
||||
G4ImportanceConfigurator.hh
|
||||
G4ImportanceProcess.hh
|
||||
G4PlaceOfAction.hh
|
||||
G4ProcessPlacer.hh
|
||||
G4SamplingPostStepAction.hh
|
||||
G4TrackTerminator.hh
|
||||
G4VProcessPlacer.hh
|
||||
G4VSampler.hh
|
||||
G4VSamplerConfigurator.hh
|
||||
G4WeightCutOffConfigurator.hh
|
||||
G4WeightCutOffProcess.hh
|
||||
G4WeightWindowConfigurator.hh
|
||||
G4WeightWindowProcess.hh
|
||||
SOURCES
|
||||
G4GeometrySampler.cc
|
||||
G4ImportanceConfigurator.cc
|
||||
G4ImportanceProcess.cc
|
||||
G4ProcessPlacer.cc
|
||||
G4SamplingPostStepAction.cc
|
||||
G4VProcessPlacer.cc
|
||||
G4VSampler.cc
|
||||
G4VSamplerConfigurator.cc
|
||||
G4WeightCutOffConfigurator.cc
|
||||
G4WeightCutOffProcess.cc
|
||||
G4WeightWindowConfigurator.cc
|
||||
G4WeightWindowProcess.cc
|
||||
GRANULAR_DEPENDENCIES
|
||||
G4cuts
|
||||
G4detector
|
||||
G4emutils
|
||||
G4geombias
|
||||
G4geometrymng
|
||||
G4globman
|
||||
G4hits
|
||||
G4intercoms
|
||||
G4magneticfield
|
||||
G4materials
|
||||
G4navigation
|
||||
G4partman
|
||||
G4procman
|
||||
G4track
|
||||
G4transportation
|
||||
G4volumes
|
||||
GLOBAL_DEPENDENCIES
|
||||
G4digits_hits
|
||||
G4geometry
|
||||
G4global
|
||||
G4intercoms
|
||||
G4materials
|
||||
G4particles
|
||||
G4track
|
||||
LINK_LIBRARIES
|
||||
)
|
||||
|
||||
# List any source specific properties here
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4WeightWindowProcess.cc,v 1.4 2008/04/21 09:10:29 ahoward Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4WeightWindowProcess.cc,v 1.5 2010/07/02 11:02:40 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-04 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// GEANT 4 class source file
|
||||
@@ -259,7 +259,7 @@ G4WeightWindowProcess::PostStepDoIt(const G4Track &aTrack,
|
||||
fGhostPostStepPoint->GetTouchable()->GetReplicaNumber());
|
||||
G4Nsplit_Weight nw =
|
||||
fWeightWindowAlgorithm.Calculate(aTrack.GetWeight(),
|
||||
fWeightWindowStore.GetLowerWeitgh(postCell,
|
||||
fWeightWindowStore.GetLowerWeight(postCell,
|
||||
aTrack.GetKineticEnergy()));
|
||||
fPostStepAction->DoIt(aTrack, fParticleChange, nw);
|
||||
}
|
||||
@@ -278,7 +278,7 @@ G4WeightWindowProcess::PostStepDoIt(const G4Track &aTrack,
|
||||
|
||||
G4Nsplit_Weight nw =
|
||||
fWeightWindowAlgorithm.Calculate(aTrack.GetWeight(),
|
||||
fWeightWindowStore.GetLowerWeitgh(postCell,
|
||||
fWeightWindowStore.GetLowerWeight(postCell,
|
||||
aTrack.GetKineticEnergy()));
|
||||
fPostStepAction->DoIt(aTrack, fParticleChange, nw);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user