Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
@@ -1,17 +0,0 @@
#------------------------------------------------------------------------------
# CMakeLists.txt
# Module : G4parameterisation
# Package: Geant4.src.G4processes.G4parameterisation
#
# CMakeLists.txt for building a single granular library.
#
# Generated on : 24/9/2010
#
#
#------------------------------------------------------------------------------
if(GEANT4_BUILD_GRANULAR_LIBS)
include(Geant4MacroLibraryTargets)
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
endif()
+30 -27
View File
@@ -16,6 +16,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
April 16, 2021 Ben Morgan (param-V10-07-00)
- Migrate build to modular CMake API
October 5, 2020, A. Zaborowska (param-V10-06-03)
- Introduce general facilities based on GFlash implementation
to facilitate multiple hit (energy & position) creation
@@ -82,7 +85,7 @@ November 30, 2007, M. Verderi
- tag as param-V09-00-01
November 30, 2007, M. Verderi
- minor corrections to G4FastSimulationManagerProcess.hh/.cc :
- minor corrections to G4FastSimulationManagerProcess.hh/.cc :
* add call fPathFinder->prepareNewrack(...)
* deactivate ghost navigator in EndOfTracking(..) method
- tag as param-V09-00-00
@@ -188,7 +191,7 @@ Nov 02, 2002 M. Verderi - param-V04-01-00
Oct 26, 2001 M. Verderi - param-V03-02-00
Fixes to clear warnings produced with gcc-2.95.2:
- loop index, where comparison with method "size()" of
G4std::vector<T>, changed: int -> size_t
G4std::vector<T>, changed: int -> size_t
- change "if ( a=b ) {..}" by "if ( (a=b) ) {...}"
this makes the compiler sure you want to make an
assignement in the "if" condition
@@ -241,7 +244,7 @@ April 19, 1999 M. Verderi & P. Mora de Freitas
Changes in G4FastStep to co-work with track-01-00-04:
1) The method void CheckIt(const G4Track&) becomes
1) The method void CheckIt(const G4Track&) becomes
G4bool CheckIt(const G4Track&);
2) The FAST_STEP_DEBUG compiling option disappears;
3) Call to CheckIt controled by the G4VParticleChange::debugFlag attribute.
@@ -254,7 +257,7 @@ April 15, 1999 M. Verderi & P. Mora de Freitas
Tasks to decouple visualization from processes/parameterisation:
1) G4GlobalFastSimulationManager now inherites from the intercoms/
G4VGlobalFastSimulationManager to allow visualisation to get a
G4VGlobalFastSimulationManager to allow visualisation to get a
concrete instance pointer to the G4GlobalFastSimulationManager,
if any.
@@ -276,7 +279,7 @@ April 14, 1999 M. Verderi & P. Mora de Freitas
Several consolidation tasks (thanks to G. Cosmo):
1) Warning:
1) Warning:
-----------
Pointers usage
@@ -300,7 +303,7 @@ G4FastTrack.cc
G4GlobalFastSimulationManager.cc
G4VFastSimulationModel.cc
Status:
Status:
-------
Done, tested, system-tested on HP-aCC with exemple N05.
@@ -320,8 +323,8 @@ inline G4VParticleChange* G4FastSimulationManager::GettheParticleChange()
Diagnostic:
----------
Called by the G4FastSimulationManagerProcess to return it in the
PostStepDoIt call.
Called by the G4FastSimulationManagerProcess to return it in the
PostStepDoIt call.
Action:
-------
@@ -336,7 +339,7 @@ G4FastSimulationManager.hh
G4FastSimulationManager.cc
G4FastSimulationManagerProcess.cc
Status:
Status:
-------
Done, tested, system-tested on HP-aCC with exemple N05.
@@ -353,7 +356,7 @@ offending code:
Diagnostic:
----------
Nobody should inherites from G4FastSimulationManagerProcess BUT for virtual
Nobody should inherites from G4FastSimulationManagerProcess BUT for virtual
is added.
Action:
@@ -364,7 +367,7 @@ Modified files:
---------------
G4FastSimulationManagerProcess.hh
Status:
Status:
-------
Done.
@@ -382,7 +385,7 @@ offending code:
Diagnostic:
----------
Nobody should inherites from G4FastSimulationMessenger BUT for virtual
Nobody should inherites from G4FastSimulationMessenger BUT for virtual
is added.
Action:
@@ -393,7 +396,7 @@ Modified files:
---------------
G4FastSimulationMessenger.hh
Status:
Status:
-------
Done.
@@ -512,7 +515,7 @@ December 7, 1998 M. Verderi
always used (in not the Locate...Setup
method)
In PostStepDoIt: correction of position and
direction of the track are made when
direction of the track are made when
possible in case of mag-field.
This correction comes from the fact that a
small discrepancy appears on those quantities
@@ -549,9 +552,9 @@ November 6, 1998 M. Verderi
( G4BiasingTag aTag );
- G4FastStep.cc:
Initialize();
operator=;
operator=;
UpdateForPostStep();
UpdateForAtRest();
UpdateForAtRest();
October 26, 1998 P.Mora de Freitas
- G4FastSimulationManagerProcess and G4FastSimulationManager adapted to deal
@@ -564,13 +567,13 @@ October 8, 1998 P.Mora de Freitas
- New G4ParticleDefinition* fLastCrossedParticle data member, keeps
the last particle type with touched the envelope;
- New G4RWTPtrOrderedVector<G4VFastSimulationModel> fApplicableModelList
data member, keeps the model list of the applicable models for
data member, keeps the model list of the applicable models for
the actual fLastCrossedParticle particle type;
- Changes in the PostStepGetFastSimulationManagerTrigger() and
AtRestGetFastSimulationManagerTrigger()methodes to update the
- Changes in the PostStepGetFastSimulationManagerTrigger() and
AtRestGetFastSimulationManagerTrigger()methodes to update the
fApplicableModelList when needed (fLastCrossedParticle !=
the actual tracked particle);
- Changes in the
- Changes in the
G4FastSimulationManager() (Constructor)
ActivateFastSimulationModel(),
InActivateFastSimulationModel(),
@@ -581,7 +584,7 @@ October 8, 1998 P.Mora de Freitas
fApplicableModelList to be rebuilt.
September 22, 1998 P.Mora de Freitas
Fixed bug in parallel navigation.
Fixed bug in parallel navigation.
File touched: G4FastSimulationManagerProcess.cc
Tested on HP-aCC.
@@ -608,22 +611,22 @@ fParameterisation, accordingly with procman-00-02-03.
Tested on HP-aCC.
August 12, 1998 P.Mora de Freitas
Improved the "close parameterisation control" to
Improved the "close parameterisation control" to
1) avoid the close looping when unnecessary (mostly cases);
2) force re-close when necessary (insert/remove ghosts).
Changes:
1) the G4GlobalFastSimulationManager::fClosed is now initialised
1) the G4GlobalFastSimulationManager::fClosed is now initialised
to true by the G4GlobalFastSimulationManager constructor;
2) new method
2) new method
void
void
G4GlobalFastSimulationManager::FastSimulationNeedsToBeClosed();
called by the AddGhostPlacement and RemoveGhostPlacement
called by the AddGhostPlacement and RemoveGhostPlacement
G4FastSimulationManager methods to set false the fClosed flag;
3) changes in the G4GlobalFastSimulationManager::Notify method
@@ -644,7 +647,7 @@ nonsense line
August 10, 1998 P.Mora de Freitas
Fix to the SetPrimaryTrackFinalKineticEnergyAndDirection() method
from the G4FastStep class the SetMomentumChange() call to insure that
the new momentum direction is a unit vector (as asked by the
the new momentum direction is a unit vector (as asked by the
G4DynamicParticle::SetMomentumDirection method).
Touched files: G4FastStep.hh (improved comments)
+44 -67
View File
@@ -1,70 +1,47 @@
#------------------------------------------------------------------------------
# sources.cmake
# Module : G4parameterisation
# Package: Geant4.src.G4processes.G4parameterisation
#
# Sources description for a library.
# Lists the sources and headers of the code explicitly.
# 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
#
#
#------------------------------------------------------------------------------
# - G4parameterisation module build definition
#
# Define the Geant4 Module.
#
GEANT4_DEFINE_MODULE(NAME G4parameterisation
HEADERS
G4FastHit.hh
G4FastSimHitMaker.hh
G4FastSimulationHelper.hh
G4FastSimulationManager.hh
G4FastSimulationManagerProcess.hh
G4FastSimulationMessenger.hh
G4FastSimulationProcessType.hh
G4FastSimulationVector.hh
G4FastSimulationVector.icc
G4FastStep.hh
G4FastStep.icc
G4FastTrack.hh
G4GlobalFastSimulationManager.hh
G4VFastSimSensitiveDetector.hh
G4VFastSimulationModel.hh
SOURCES
G4FastHit.cc
G4FastSimHitMaker.cc
G4FastSimulationHelper.cc
G4FastSimulationManager.cc
G4FastSimulationManagerProcess.cc
G4FastSimulationMessenger.cc
G4FastStep.cc
G4FastTrack.cc
G4GlobalFastSimulationManager.cc
G4VFastSimulationModel.cc
GRANULAR_DEPENDENCIES
G4geometrymng
G4globman
G4intercoms
G4magneticfield
G4materials
G4navigation
G4partman
G4procman
G4track
G4volumes
GLOBAL_DEPENDENCIES
G4geometry
G4global
G4intercoms
G4materials
G4particles
G4track
LINK_LIBRARIES
)
# List any source specific properties here
geant4_add_module(G4parameterisation
PUBLIC_HEADERS
G4FastHit.hh
G4FastSimHitMaker.hh
G4FastSimulationHelper.hh
G4FastSimulationManager.hh
G4FastSimulationManagerProcess.hh
G4FastSimulationMessenger.hh
G4FastSimulationProcessType.hh
G4FastSimulationVector.hh
G4FastSimulationVector.icc
G4FastStep.hh
G4FastStep.icc
G4FastTrack.hh
G4GlobalFastSimulationManager.hh
G4VFastSimSensitiveDetector.hh
G4VFastSimulationModel.hh
SOURCES
G4FastHit.cc
G4FastSimHitMaker.cc
G4FastSimulationHelper.cc
G4FastSimulationManager.cc
G4FastSimulationManagerProcess.cc
G4FastSimulationMessenger.cc
G4FastStep.cc
G4FastTrack.cc
G4GlobalFastSimulationManager.cc
G4VFastSimulationModel.cc)
geant4_module_link_libraries(G4parameterisation
PUBLIC
G4detector
G4geometrymng
G4globman
G4hepgeometry
G4intercoms
G4magneticfield
G4navigation
G4partman
G4procman
G4track
G4volumes
PRIVATE
G4materials)