Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
+82 -18
View File
@@ -1,24 +1,88 @@
-------------------------------------------------------------------
# Category vis_toolssg History
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
which **must** added in reverse chronological order (newest at the top). It must **not**
be used as a substitute for writing good git commit messages!
Category History file
---------------------
This file should be used by G4 developers and category coordinators
to briefly summarize all major modifications introduced in the code
and keep track of all category-tags.
It DOES NOT substitute the CVS log-message one should put at every
committal in the CVS repository !
## 2022-05-18 Guy Barrand (vis_toolssg-V11-00-11)
- have "toolx" namespace for g4tools code related to "externals", then:
- tools::[Qt,Windows,X11,Xt,sg::text_freetype] become toolx::[Qt,Windows,X11,Xt,sg::text_freetype].
- and corresponding includes #include <tools/...> become #include <toolx/...>
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
## 2022-05-03 Ben Morgan (vis_toolssg-V11-00-10)
- Preliminary build support for Qt5 and Qt6
History file for visualization ToolsSG category - a vis driver based on
g4tools scene graph logic. See geant4/source/analysis/g4tools/tools.license
------------------------------------------------
## 2022-04-13 Ben Morgan (vis_toolssg-V11-00-09)
- Add needed dependencies
## 2022-04-06 John Allison (vis_toolssg-V11-00-08)
- `G4ToolsSGSceneHandler.cc`:
- void G4ToolsSGSceneHandler::AddPrimitive(const G4Polyhedron& polyhedron):
- Comment out common line elimination - too expensive for a large
polyhedron.
- Maybe eliminate altogether in future?
- Allow the graphics-reps utilities to optimise things like this.
- Use StandardSpecialMeshRendering(mesh).
- Of course, only if special mesh rendering is requested.
## 2022-03-22 Ben Morgan (vis_toolssg-V11-00-07)
- Use geant4_module_sources to add optional sources
## 2022-03-07 John Allison (vis_toolssg-V11-00-06)
- `G4ToolsSGSceneHandler`:
- `AddPrimitive (const G4Polymarker& a_polymarker)`:
- Define dots as a single pixel.
- Use `GetMarkerSize(...)` for circles and squares.
- `AddCompound(const G4Mesh& mesh)`:
- For parameterised tetrahedron mesh, call default
G4VSceneHandler::DrawTetMeshAsDots(mesh).
- Tested on "ICRP145", a Geant4 application that we hope can become
a Geant4 advanced example, downloaded from the supplementary material
of Kim et al, ICRP, 2020. Adult mesh-type reference computational
phantoms, ICRP Publication 145, Ann. ICRP 49(3).
## 2022-03-05 John Allison (vis_toolssg-V11-00-05)
- `G4ToolsSGSceneHandler::SetPlotterHistograms`:
- Suppress /control/verbose messages for /analysis/*/get* commands.
## 2022-02-08 Ben Morgan (vis_toolssg-V11-00-04)
- Access G4VVisCommand::G4VisManager pointer through static function GetVisManager
to prevent DLL issues on Windows.
## 2022-01-30 John Allison (vis_toolssg-V11-00-03)
- Co-works with visman-V11-00-05.
- G4ToolsSGViewer.hh:
- G4ToolsSGViewer::SwitchToMasterThread:
- At the moment, the ToolsSG viewer cannot draw trajectories *during* a run
so in multithreading mode, so in this function we draw any events that
have been kept by the vis manager. But we only need to do it if there are
end-of-event models in the scene - this tag fixes that.
- It fixes an issue where plots were being drawn twice.
- G4ToolsSGSceneHandler.cc:
- G4ToolsSGSceneHandler::SetPlotterHistograms:
- Add warning message if plot cannot be found:
```
G4ToolsSGSceneHandler::SetPlotterHistograms: cannot get histogram - maybe doesn't exist?
Maybe this app does not do analysis at all?
```
## 2022-01-28 Ben Morgan (vis_toolssg-V11-00-02)
- Replace `geant4_global_library_target` with direct file inclusion and
call to `geant4_add_category` to define library build from source modules.
## 2022-01-16 John Allison (vis_toolssg-V11-00-01)
- G4ToolsSGViewer::wheel_rotate:
- Re-program wheel_rotate for perspective projection:
- Takes into account the extent of the scene.
- Reactivate G4ToolsSGQtGLES::IsUISessionCompatible
- Paves way for permitted instantiation of multiple TSG drivers.
## 2021-12-10 Ben Morgan (vis_toolssg-V11-00-00)
- Change to new Markdown History format
---
# History entries prior to 11.0
13 November 2021 - John Allison (vis_toolssg-V10-07-16)
- G4ToolsSGSceneHandler.cc: Bug fix:
@@ -154,4 +218,4 @@ g4tools scene graph logic. See geant4/source/analysis/g4tools/tools.license
. TOOLSSG_X11_GLES
. TOOLSSG_WINDOWS_GLES
. TOOLSSG_XT_GLES
. TOOLSSG_QT_GLES
. TOOLSSG_QT_GLES