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
+2 -6
View File
@@ -1,12 +1,8 @@
#------------------------------------------------------------------------------
# Module : G4persistency
# Package: Geant4.src.G4persistency
#------------------------------------------------------------------------------
# - G4persistency category build
set(G4persistency_COMPONENTS
ascii/sources.cmake
mctruth/sources.cmake
)
mctruth/sources.cmake)
if(GEANT4_USE_GDML)
list(APPEND G4persistency_COMPONENTS gdml/sources.cmake)
+8 -5
View File
@@ -15,6 +15,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
1 April, 21 B. Morgan (persistency-V10-07-00)
- Migrate build to modular CMake API
16 November, 20 G.Cosmo (persistency-V10-06-02)
- Fixed typos in printed-out text. Addressing problem report #2285.
@@ -119,7 +122,7 @@ committal in the CVS repository !
- added more SRM descriptions
4 July, 01 Y.Morita (persistency-V03-02-00)
- STL migration:
- STL migration:
modified: G4Pglobals.hh, G4PGeometryObjectMap.ddl, G4PGeometryObjectMap.cc
removed: G4VPhysVolRefArray.hh, G4LogVolRefArray.hh G4VSolidRefArray.hh
@@ -249,7 +252,7 @@ November 4, 99 Y.Morita
persistency/geometry/management to avoid circular dependency
- G4PersistencyManager: Allow constructor with the name of Boot file
October 27, 99 J.Allison
October 27, 99 J.Allison
- Created persistency/global/include.
- Moved management/include/G4PersistentTypes.hh to global/include.
- Modified GNUmakefiles to add persistency/global/include to -I path.
@@ -273,12 +276,12 @@ November 10, 98 Y.Morita (persistency-00-03-02)
- G4PersistentGeomMan now handle Replica geometry
November 10, 98 Y.Morita (persistency-00-03-01)
- G4PersistencyManager splitted into G4PersistentEventMan,
- G4PersistencyManager splitted into G4PersistentEventMan,
G4PersistentGeomMan, G4PersistentRunMan
- G4Run is now persistent
July 23, 98 Y.Morita (persistency-00-01-09)
- G4PVPhysicalVolume: protect declare of d_Double with
- G4PVPhysicalVolume: protect declare of d_Double with
OO_VARRAY_D_DOUBLE for different version of HepODBMS
- G4PVPhysicalVolume: added G4Exception for restoring rotation matrix
(for now)
@@ -306,7 +309,7 @@ July 10, 98 Y.Morita (persistency-00-01-03)
- moved GNUmakefile targes 'headers' and 'd_files' to common.gmk and
globlib.gmk.
- a few bug fix in G4PPVPlacement.cc, G4PVSolid.cc,
G4PGeometryObjectMap.ddl, G4PersistencyManager.hh,
G4PGeometryObjectMap.ddl, G4PersistencyManager.hh,
G4PGeometryObjectMap.cc, G4PersistencyManager.cc
July 9, 98 Y.Morita
+6 -3
View File
@@ -15,7 +15,10 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
27 March 2021 - G.Cosmo (ascii-V10-06-03)
1 April 2021 - B. Morgan (ascii-V10-07-01)
- Migrate build to modular CMake API
27 March 2021 - G.Cosmo (ascii-V10-07-00)
- Fixed definition of generic polyhedra in G4tgbVolume::FindOrConstructG4Solid()
for POLYHEDRA tag. Based on findings in GitHub PR#24 by P.Heidary.
@@ -119,7 +122,7 @@ committal in the CVS repository !
15 December, 10 P.Arce (ascii-V09-03-05)
- Introduced fixes for Coverity reports...
7 November, 10 G.Cosmo (ascii-V09-03-04)
- Removed wrong assumption for NULL pointer condition previously introduced
in G4tgbVolume. Fixes crash in example P03.
@@ -158,7 +161,7 @@ committal in the CVS repository !
- Inclusion of extruded and tessellated solids
17 May, 09 P.Arce (ascii-V09-02-06)
- Fix of GNUmakefile
- Fix of GNUmakefile
15 May, 09 P.Arce (ascii-V09-02-05)
- Added parallel world management
+18 -31
View File
@@ -1,13 +1,8 @@
#------------------------------------------------------------------------------
# Module : G4geomtext
# Package: Geant4.src.G4persistency.G4geomtext
#------------------------------------------------------------------------------
# - G4geomtext module build definition
#
# Define the Geant4 Module.
#
geant4_define_module(NAME G4geomtext
HEADERS
geant4_add_module(G4geomtext
PUBLIC_HEADERS
G4tgbDetectorBuilder.hh
G4tgbDetectorConstruction.hh
G4tgbElement.hh
@@ -102,27 +97,19 @@ geant4_define_module(NAME G4geomtext
G4tgrVolume.cc
G4tgrVolumeAssembly.cc
G4tgrVolumeDivision.cc
G4tgrVolumeMgr.cc
GRANULAR_DEPENDENCIES
G4csg
G4geomBoolean
G4geomdivision
G4geometrymng
G4globman
G4graphics_reps
G4hepnumerics
G4intercoms
G4materials
G4partman
G4specsolids
G4volumes
GLOBAL_DEPENDENCIES
G4geometry
G4global
G4graphics_reps
G4intercoms
G4materials
G4particles
)
G4tgrVolumeMgr.cc)
# List any source specific properties here
geant4_module_link_libraries(G4geomtext
PUBLIC
G4geometrymng
G4materials
G4intercoms
G4globman
G4hepgeometry
PRIVATE
G4volumes
G4geomBoolean
G4csg
G4specsolids
G4geomdivision
G4graphics_reps)
+25 -18
View File
@@ -16,37 +16,44 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
21 May 2021 Gabriele Cosmo (gdml-V10-06-07)
21 May 2021 G. Cosmo (gdml-V10-07-07)
- G4GDMLReadSolids: updated optical surface properties based on relatively
recent introduction of DAVIS interface.
Addressing problem report #2371.
17 March 2021 Witek Pokorski
18 May 2021 V. Ivanchenko (gdml-V10-07-06)
- G4GDMLWriteMaterials: use G4PhysicsFreeVector instead
of G4PhysicsOrderedFreeVector.
1 April 2021 B. Morgan (gdml-V10-07-05)
- Migrate build to modular CMake API.
17 March 2021 Witek Pokorski (gdml-V10-07-04)
- Solves the problem #2343 of not all assemblies being written out to the GDML file.
Fix provided by Laurie Nevay.
16 March 2021 Witek Pokorski
16 March 2021 Witek Pokorski (gdml-V10-07-03)
- Solves the problem #2342 of multiUnion and assembly write creating degenerated names
(position, rotation and nodes). Fix provided by Laurie Nevay.
4 March 2021 Witek Pokorski
4 March 2021 Witek Pokorski (gdml-V10-07-02)
- Removed the hardcoded size 10000 in G4GDMLWrite causing the values in GDML truncated.
Adressing problem report #2336. Fix by Tao Lin.
3 February 2021 Gabriele Cosmo (gdml-V10-06-06)
3 February 2021 Gabriele Cosmo (gdml-V10-07-01)
- Fixed parsing of regions in G4GDMLParser::ImportRegions().
Allow for proper deletion of meta-data lists in destructor.
Based on GitHub PR#19 by shangjiaxuan.
- Fixed reading of units for GenericTrap in G4GDMLReadSolids.
Addressing problem report #2317.
18 January 2021 Witek Pokorski
18 January 2021 Witek Pokorski (gdml-V10-07-00)
- Fixed importing of skin/border-surface properties by changing the key of
the G4GDMLReadSolids property vector map from 'name' to 'name + ref'.
Addressing problem report #2305
5 November 2020 Witek Pokorski (gdml-V10-06-05)
- Adding new method to the parser SetOutputFileOverwrite(G4bool flag) which
- Adding new method to the parser SetOutputFileOverwrite(G4bool flag) which
allows to set the flag to enable overwriting of the output GDML file.
19 October 2020 Witek Pokorski (gdml-V10-06-04)
@@ -72,7 +79,7 @@ committal in the CVS repository !
- G4GDMLRead.cc : avoid double-definition of units.
25th September 2019 Ben Morgan (gdml-V10-05-08)
- sources.cmake: Replace use of XercesC include/library by imported
- sources.cmake: Replace use of XercesC include/library by imported
XercesC::XercesC target
18,19 July 2019 Makoto Asai (gdml-V10-05-06, -07)
@@ -113,10 +120,10 @@ G4MaterialPropertyVector object for identical properties.
Addressing problem report #2064.
15 March 2018 Gabriele Cosmo (gdml-V10-04-02)
- Protect printout of progress in reading/writing by G4VERBOSE.
- Protect printout of progress in reading/writing by G4VERBOSE.
7 February 2018 Daren Sawkey (gdml-V10-04-01)
- Updates to changes in G4Material[Const]PropertiesTable in
- Updates to changes in G4Material[Const]PropertiesTable in
G4GDMLWriteSolids and G4GDMLWriteMaterials.
Addressing problem report #2030.
@@ -128,7 +135,7 @@ G4MaterialPropertyVector object for identical properties.
- Added handling of null pointer to material in case of parallel geometries
15 September 2017 Soon Yung Jun (gdml-V10-03-08)
- use GetPropertyMap and GetConstPropertyMap instead of GetPropertiesMap
- use GetPropertyMap and GetConstPropertyMap instead of GetPropertiesMap
and GetPropertiesCMap in G4GDMLWriteMaterials and G4GDMLWriteSolids
11 September 2017 Soon Yung Jun (gdml-V10-03-07)
@@ -216,7 +223,7 @@ G4MaterialPropertyVector object for identical properties.
24 September 2015 Gabriele Cosmo (gdml-V10-01-20)
- Rectify rotation matrices in reading and writing GDML files to get rid of
spurious roundoff errors in stored values.
spurious roundoff errors in stored values.
06 August 2015 Gabriele Cosmo (gdml-V10-01-19)
- Fixed typo in exported name for electron cuts in G4GDMLWriteStructure.
@@ -234,14 +241,14 @@ G4MaterialPropertyVector object for identical properties.
07 May 2015 Witek Pokorski (gdml-V10-01-15)
- Fixing bug introduced in the previous tag V10-01-13.
30 April 2015 Gabriele Cosmo (gdml-V10-01-14)
- Fixed non-initialised boolean flag in G4GDMLRead, reported by Coverity.
28 April 2015 Witek Pokorski (gdml-V10-01-13)
- One more fix for writing out reflected volumes to cover the case when _only_
the reflected volume is present.
27 April 2015 Gabriele Cosmo (gdml-V10-01-12)
- Allow for optional stripping of references from regions names
when exporting.
@@ -525,7 +532,7 @@ G4MaterialPropertyVector object for identical properties.
14 Oct 2009 Gabriele Cosmo (gdml-V09-02-17)
- Added support for GDML 'expression' tag, implementing generic expressions
stored as literal constants.
- Corrected handling of 'quantity' tag; added missing caching of evaluation.
- Corrected handling of 'quantity' tag; added missing caching of evaluation.
24 Sep 2009 Gabriele Cosmo (gdml-V09-02-16)
- Added support for the GDML 'assembly' tag, implementing assemblies of
@@ -666,7 +673,7 @@ G4MaterialPropertyVector object for identical properties.
24 July 2008 Tatiana Nikitina
- Fixes in reading/writing G4TwistedTrap shapes.
22 July 2008 Tatiana Nikitina
- Added G4Paraboloid to list of supported solids for reader and writer.
@@ -858,7 +865,7 @@ G4MaterialPropertyVector object for identical properties.
...but these logical volumes are not instantiated yet when we instantiate
the mother! That's why we move the mother volume at the end of the list
after the daughters are processed.
18 January 2008 Z.Torzsok
- The class hierarchy of the GDML parser/writer is finished:
Write <- WriteDefine <- WriteMaterials <- WriteSolids
@@ -876,7 +883,7 @@ G4MaterialPropertyVector object for identical properties.
- Reader is now capable of resolving entities.
08 January 2008 Z.Torzsok
- Vertex referencing is fixed in tessellated solid
- Vertex referencing is fixed in tessellated solid
(using the identifier "vertex" according to the schema).
07 January 2008 Z.Torzsok
@@ -42,7 +42,7 @@
class G4Isotope;
class G4Element;
class G4Material;
class G4PhysicsOrderedFreeVector;
class G4PhysicsFreeVector;
class G4MaterialPropertiesTable;
class G4GDMLWriteMaterials : public G4GDMLWriteDefine
@@ -70,7 +70,7 @@ class G4GDMLWriteMaterials : public G4GDMLWriteDefine
void MaterialWrite(const G4Material* const);
void PropertyWrite(xercesc::DOMElement*, const G4Material* const);
void PropertyVectorWrite(const G4String&,
const G4PhysicsOrderedFreeVector* const);
const G4PhysicsFreeVector* const);
void PropertyConstWrite(const G4String&, const G4double,
const G4MaterialPropertiesTable*);
@@ -79,7 +79,7 @@ class G4GDMLWriteMaterials : public G4GDMLWriteDefine
std::vector<const G4Isotope*> isotopeList;
std::vector<const G4Element*> elementList;
std::vector<const G4Material*> materialList;
std::vector<const G4PhysicsOrderedFreeVector*> propertyList;
std::vector<const G4PhysicsFreeVector*> propertyList;
xercesc::DOMElement* materialsElement = nullptr;
};
+21 -46
View File
@@ -1,13 +1,8 @@
#------------------------------------------------------------------------------
# Module : G4gdml
# Package: Geant4.src.G4persistency.G4gdml
#------------------------------------------------------------------------------
# - G4gdml module build definition
#
# Define the Geant4 Module.
#
geant4_define_module(NAME G4gdml
HEADERS
geant4_add_module(G4gdml
PUBLIC_HEADERS
G4GDMLAuxStructType.hh
G4GDMLEvaluator.hh
G4GDMLMessenger.hh
@@ -48,48 +43,28 @@ geant4_define_module(NAME G4gdml
G4GDMLWriteSetup.cc
G4GDMLWriteSolids.cc
G4GDMLWriteStructure.cc
G4STRead.cc
GRANULAR_DEPENDENCIES
G4STRead.cc)
geant4_module_link_libraries(G4gdml
PUBLIC
G4csg
G4digits
G4event
G4specsolids
G4geomBoolean
G4geomdivision
G4geometrymng
G4globman
G4graphics_reps
G4hepnumerics
G4hits
G4intercoms
G4materials
G4navigation
G4partman
G4baryons
G4geometrymng
G4materials
G4intercoms
G4hepgeometry
G4globman
XercesC::XercesC
PRIVATE
G4run
G4cuts
G4bosons
G4leptons
G4procman
G4cuts
G4emutils
G4run
G4specsolids
G4baryons
G4track
G4tracking
G4detector
G4geomdivision
G4volumes
GLOBAL_DEPENDENCIES
G4digits_hits
G4event
G4geometry
G4global
G4graphics_reps
G4intercoms
G4materials
G4particles
G4processes
G4run
G4track
G4tracking
LINK_LIBRARIES
XercesC::XercesC
)
# List any source specific properties here
G4graphics_reps)
@@ -228,7 +228,7 @@ void G4GDMLWriteMaterials::MaterialWrite(const G4Material* const materialPtr)
// --------------------------------------------------------------------
void G4GDMLWriteMaterials::PropertyVectorWrite(
const G4String& key, const G4PhysicsOrderedFreeVector* const pvec)
const G4String& key, const G4PhysicsFreeVector* const pvec)
{
for(std::size_t i = 0; i < propertyList.size(); ++i) // Check if property is
{ // already in the list!
+8 -5
View File
@@ -15,6 +15,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
1 April, 21 B. Morgan (mctruth-V10-07-00)
- Migrate build to modular CMake API
8 October, 20 G.Cosmo (mctruth-V10-06-01)
- Minor c++11 review. Code cleanup and formatting. Use of G4 types.
@@ -136,7 +139,7 @@ committal in the CVS repository !
- added more SRM descriptions
4 July, 01 Y.Morita (persistency-V03-02-00)
- STL migration:
- STL migration:
modified: G4Pglobals.hh, G4PGeometryObjectMap.ddl, G4PGeometryObjectMap.cc
removed: G4VPhysVolRefArray.hh, G4LogVolRefArray.hh G4VSolidRefArray.hh
@@ -266,7 +269,7 @@ November 4, 99 Y.Morita
persistency/geometry/management to avoid circular dependency
- G4PersistencyManager: Allow constructor with the name of Boot file
October 27, 99 J.Allison
October 27, 99 J.Allison
- Created persistency/global/include.
- Moved management/include/G4PersistentTypes.hh to global/include.
- Modified GNUmakefiles to add persistency/global/include to -I path.
@@ -290,12 +293,12 @@ November 10, 98 Y.Morita (persistency-00-03-02)
- G4PersistentGeomMan now handle Replica geometry
November 10, 98 Y.Morita (persistency-00-03-01)
- G4PersistencyManager splitted into G4PersistentEventMan,
- G4PersistencyManager splitted into G4PersistentEventMan,
G4PersistentGeomMan, G4PersistentRunMan
- G4Run is now persistent
July 23, 98 Y.Morita (persistency-00-01-09)
- G4PVPhysicalVolume: protect declare of d_Double with
- G4PVPhysicalVolume: protect declare of d_Double with
OO_VARRAY_D_DOUBLE for different version of HepODBMS
- G4PVPhysicalVolume: added G4Exception for restoring rotation matrix
(for now)
@@ -323,7 +326,7 @@ July 10, 98 Y.Morita (persistency-00-01-03)
- moved GNUmakefile targes 'headers' and 'd_files' to common.gmk and
globlib.gmk.
- a few bug fix in G4PPVPlacement.cc, G4PVSolid.cc,
G4PGeometryObjectMap.ddl, G4PersistencyManager.hh,
G4PGeometryObjectMap.ddl, G4PersistencyManager.hh,
G4PGeometryObjectMap.cc, G4PersistencyManager.cc
July 9, 98 Y.Morita
+6 -33
View File
@@ -1,13 +1,8 @@
#------------------------------------------------------------------------------
# Module : G4mctruth
# Package: Geant4.src.G4persistency.G4mctruth
#------------------------------------------------------------------------------
# - G4mctruth module build definition
#
# Define the Geant4 Module.
#
geant4_define_module(NAME G4mctruth
HEADERS
geant4_add_module(G4mctruth
PUBLIC_HEADERS
G4DCIOcatalog.hh
G4DCIOentryT.hh
G4FileUtilities.hh
@@ -53,30 +48,8 @@ geant4_define_module(NAME G4mctruth
G4VPDigitsCollectionIO.cc
G4VPEventIO.cc
G4VPHitIO.cc
G4VPHitsCollectionIO.cc
GRANULAR_DEPENDENCIES
G4digits
G4event
G4geometrymng
G4globman
G4hits
G4intercoms
G4partman
G4run
G4track
G4tracking
GLOBAL_DEPENDENCIES
G4digits_hits
G4event
G4geometry
G4global
G4intercoms
G4particles
G4run
G4track
G4tracking
LINK_LIBRARIES
)
G4VPHitsCollectionIO.cc)
# List any source specific properties here
geant4_module_link_libraries(G4mctruth
PUBLIC G4run G4event G4digits G4hits G4intercoms G4hepgeometry G4globman)