AIDASoft/DD4hep: v01-11
Contributors
- 1. University of Bonn
- 2. CERN
- 3. University of Liverpool
- 4. DESY
- 5. ANL
Description
2019-10-23 MarkusFrankATcernch (PR#587)
- Have separate compilation unit for shape utilities like
set_dimension(...),dimension(),isA(),instanceOf()... - Improvements to basic shape test
- Have separate compilation unit for shape utilities like
2019-10-23 Andre Sailer (PR#579)
- CMake: Add possibility to build only shared libraries, fixes #493:
- Usage
cmake ... -D BUILD_SHARED_LIBS=OFF ...
- Usage
- CMake: Add possibility to build only shared libraries, fixes #493:
2019-10-23 Andre Sailer (PR#575)
- CMake: Add
DD4HEP_USE_EXISTING_DD4HEPoption which together withDD4HEP_BUILD_PACKAGEScan be used to rebuild, for example only DDG4.- This creates a new Package called "DD4hepSelected" which can then be used alongside the full DD4hep Package in a third project.
- CMake: Add
2019-10-22 Marko Petric (PR#586)
- Remove deprecated rootcling flags (
-cint,-c,-p,-std=c++) from dictionary creation script
- Remove deprecated rootcling flags (
2019-10-22 Marko Petric (PR#585)
- Fix bug that the c++ filesystem check is called from
${DD4hep_ROOT} - Install
DD4hepConfig.cmakeonly in__prefix__/cmaketo avoid path detection confusion - Enable choosing examples in the
examples/CMakeLists.cmakevia cmake flag-DDD4HEP_BUILD_EXAMPLES=OpticalSurfaces(recommended method) - Make each example folder to compile standalone (not recommended method)
- Update cmake of Segmentation example to more current state and fix resulting errors
- include segmentation example as test
- Resolves #582 and resolves #583
- Fix bug that the c++ filesystem check is called from
2019-10-21 MarkusFrankATcernch (PR#584)
- Add function
bool isInstance(const Handle<TGeoShape>& solid)- compares types of shapes and behaves like
dynamic_cast, similar to python'sisinstance(obj,type) - remove deprecated function
instanceOfin favour ofisInstance. Same behavior.- Add function
bool isA(const Handle<TGeoShape>& solid)
- Add function
- compares types of shapes and requires exact match, no polymorphism allowed.
- compares types of shapes and behaves like
- Add Geant4 conversion for shape
TGeoCtub->G4CutTube
- Add function
2019-10-14 Marko Petric (PR#572)
- Install python files in
lib/pythonX.Y/site-packagesresolves #562- adapt
thisdd4hep.shscripts
- adapt
- Add missing RPATH to examples (basically bug fix for mac)
- Add DDG4 tools to bin to make them more accessible to users:
g4MaterialScan,checkGeometry,checkOverlaps
- Install python files in
2019-10-03 MarkusFrankATcernch (PR#577)
- Inhibit not allowed use of
DetectorImp.h
- Inhibit not allowed use of
2019-10-03 Andre Sailer (PR#574)
- CMake: When needing
boost::filesystem(c++14, gcc < 8) require at least Boost 1.56, see #567
- CMake: When needing
2019-10-03 Markus Frank (PR#573)
- Fix memory leak introduced when generalizing placements to include left-handed coordinate systems.
2019-10-03 Markus Frank (PR#571)
- Add example to the volume reflection mechanism
- Fix bug in volume reflection
2019-10-02 Markus Frank (PR#569)
- First implementation to support reflection with left-handed volumes/solids
- Changes for volumes and solids.
- Conversion handling of
TGeoScaledShapein DDG4
- First implementation to support reflection with left-handed volumes/solids
2019-09-30 Andre Sailer (PR#566)
- PythonBindings: fix issue when source files were not available, fixes #565
- CMake: drop DDCores dependency on DD4hepGaudiPluginMgr
- CMake: DD4hepConfig: use find_dependency instead of find_package
2019-09-24 Marko Petric (PR#564)
- Added test for Python3 compliance of code
- Added test to require flake8 python code formatting
2019-09-13 Marko Petric (PR#540)
- Make python code compatible to python 2 and 3
- add
absolute_importandunicode_literalsto all files- fix API calls and cast
unicodetostringwhen needed
- fix API calls and cast
- replace print statement with logging
- remove old octal literal
- use future division
- use
six:- replace
dict.iteritemswithsix.iteritems - replace
xrangewithrangefromsix.move - replace
basestringwithsix.string_types - replace
raw_inputwithinputfromsix.moves - added a copy of six.py named ddsix.py to DDCore
- replace
- Replace deprecated
execfilewith call toopen,compileandexec - Remove usage of
apply - use
io.openinstead of standardopen - convert
except a,btoexcept a as b - change
dict.has_keytokey in dict
- add
- Require DD4hep Python3 CI tests to pass
- Remove obsolete
lcdd.py - Remove deprecated
SystemOfUnits.pyand replace everywhere withg4units.py - Flake8 all files
- Make python code compatible to python 2 and 3
2019-09-02 Andre Sailer (PR#561)
- CMake: add option
DD4HEP_BUILD_PACKAGESso that only individual packages can be compiled. If an incorrect selection is given cmake should fail due to missing alias libraries. The option requires a whitespace or semicolon separated list. - CMake add option
DD4HEP_BUILD_EXAMPLESto enable compilation of examples together with the main DD4hep packages. Default OFF - CMake: add
DD4hep::aliases for all libraries and some executables
- CMake: add option
2019-08-26 Andre Sailer (PR#559)
- DD4hepConfig: make all DD4HEP_USE variables behave as booleans
2019-08-22 Markus Frank (PR#554)
- Fix property table translation to Geant4 according to suggestions from Dong Liu (see issue https://github.com/AIDASoft/DD4hep/issues/440 )
2019-08-22 Andre Sailer (PR#552)
DD4hepConfig:
DD4hepConfig.CMakenow exportsDD4hep::DDCoreDD4hep::<Component>targets to be consumed by users of the DD4hep package, the CMake variablesDD4hep_LIBRARIESetc. are still being filled for backward compatibilityDD4hep CMake: Only the
dd4hep_add_pluginanddd4hep_add_dictionaryCMake functions are to create targets still exist,dd4hep_add_package/library/executablewere removed and instead the cmakedefault add_library/executablehave to be used.PluginManager: only link against boost filesystem if the compiler and standard library do not support the filesystem library
DD4hep Requirements: Now require cmake version 3.12
DD4hep Requirements: Now require c++ standard 14
2019-08-21 Markus Frank (PR#553)
- Fix unit conversion for optical surface properties. The units of the property tables were not converted from TGeo to Geant4. See dicussion in issue https://github.com/AIDASoft/DD4hep/issues/440
- If an external world volume is supplied, the material
Airis deduced from this solid (only used by CMS).
2019-08-15 Frank Gaede (PR#550)
- make compatible with MacOS (10.14.6)
- address latest developments w/ new Gaudi Plugin Manager
- make compatible with MacOS (10.14.6)
2019-08-14 Markus Frank (PR#551)
- Moved
setDimensionscall out of the individual dd4hep shapes into the base Solid. - Add
Solid::dimensions(),Solid::setDimension()implementation forPseudoTrapandTruncatedTube. The solution is not optimal, because a analytical solution tends to be ambiguous due to solutions of polynomials of degree 2 and the initial parameters had to be stored as a string. - Upgraded shape tests to also check the shapes (using mesh vertices) after a re-dimension using the same parameters.
- Geant4FieldTrackingSetup: Any failure in the creation of the
G4EquationOfMotionor theG4MagIntegratorStepperis now FATAL and causes an exception.
- Moved
2019-08-12 Markus Frank (PR#549)
- Adopted new Gaudi plugin manager V2. V1 can be enabled using compile switch in
DD4hep/config.h. Removed the traces from the ROOT5 Reflex based plugin service. The new plugin service depends onBoost::file_systemandBoost::system. - Improve GDML saving from ROOT. (requires ROOT >= 6.20)
- Fix ROOT persistency for the volume manager.
- Fix Geant4FieldTrackingSetup: Issue warning if the
G4MagIntegratorSteppercannot be created. - Examples: based the CLICSiD example on the XML sources of DDDetectors. This ensures XML sources match C++ sources.
- Adopted new Gaudi plugin manager V2. V1 can be enabled using compile switch in
2019-08-12 Andre Sailer (PR#548)
- Shapes: fix conversion of
startThetafor Sphere::setDimensions - Shapes::get_shape_dimension: add return value conversion for angles to internal unit (radians)
- Shapes: fix conversion of
2019-08-12 MarkusFrankATcernch (PR#547)
- make compatible w/ macos (c++14)
- replace `std::make_any` w/ make_any (defined in Any.h) - use `std::lock_guard<std::mutex>`
- make compatible w/ macos (c++14)
2019-08-07 MarkusFrankATcernch (PR#545)
- Fix bug in Polyhedra shape (See #544).
- Update optical surface example (resolves #440) .
2019-07-16 Markus Frank (PR#539)
- Remove clang warnings.
2019-07-16 MarkusFrankATcernch (PR#538)
- Fix coverity errors
- Fix Trap shape conversion to Geant4. The theta/phi angle was not converted from degree to radians (Resolves #536).
2019-07-15 Marko Petric (PR#537)
- Add a Python 3 pipeline to the CI (currently set to
allow_failure)
- Add a Python 3 pipeline to the CI (currently set to
2019-07-13 Marko Petric (PR#535)
- Update CI to be based on LCG 96 (ROOT 6.18, Geant 10.5, C++17)
- Remove
FindXercesC.cmakesince it is in CMake
2019-07-10 Markus Frank (PR#533)
- Optimize STL containers: replace insert/push with emplace. 2nd. episode.
2019-07-10 Marko Petric (PR#532)
- Remove
dd_sim(resolves #435)
- Remove
2019-07-10 Marko Petric (PR#531)
- Remove shadow warnings related to code interfacing only ROOT 6.18
- Add
DBoost_NO_BOOST_CMAKE=ONto examples cmake call as it is necessary now - Set CMP0074 policy to NEW if can be set
2019-07-10 Markus Frank (PR#530)
- Optimize STL containers: replace insert/push with emplace
2019-07-09 Markus Frank (PR#528)
Allow for various material scan types from the root interactove prompt
Examples: from DDDetectors/compact/SiD.xml $> materialScan file:checkout/DDDetectors/compact/SiD.xml -interactive 1) Simple scan: root [0] gMaterialScan->print(5,5,0,5,5,400) 2) Scan a given subdetector: root [0] de=gDD4hepUI->instance()->detector("LumiCal"); root [1] gMaterialScan->setDetector(de); root [2] gMaterialScan->print(5,5,0,5,5,400) 3) Scan by material: root [0] gMaterialScan->setMaterial("Silicon"); root [1] gMaterialScan->print(5,5,0,5,5,400) 4) Scan by region: root [0] gMaterialScan->setRegion("SiTrackerBarrelRegion"); root [1] gMaterialScan->print(0,0,0,100,100,0)Added copyright notices to the DDRec files.
2019-07-09 Marko Petric (PR#527)
- Update CI to macOS Mojave 10.14
- Make
PluginService.cppC++17 compliant (addresses partially #525)- replace
ptr_funwithlambda
- replace
- Remove deprecated code that uses
auto_prt - Remove deprecated
set_unexpectedfromDetectorImp.cpp - Remove code associated to
DD4HEP_DD4HEP_PTR_AUTO
2019-07-08 Markus Frank (PR#524)
- Get the new package formally into the same shape as the other packages together with an example section.
- Add small example to test the basic development framework
2019-07-04 Markus Frank (PR#520)
- From ROOT 6.20 onwards dd4hep shall use the Geant4 unit system (mm, nsec, MeV) instead of the TGeo units (cm, sec, keV). This commit prepares for the necessary changes.
- A new package was created, which shall host the dd4hep digitization components. A small tbb based multi threaded framework was put in place. Now the real work can start.
- The material scanner has now a switch to run in interactive mode from the ROOT prompt. To invoke: materialScan compact.xml x0 y0 z0 x1 y1 z1 -interactive If the interactive switch is missing, the old behavior is preserved.
2019-06-26 Markus Frank (PR#517)
- Material properties use now default dd4hep units
- Translated and updated surface example from geant4 to dd4hep
- Added shape identification using
instanceOf operator (function) - Improved handling of xml files if improperly terminated
2019-06-26 MarkusFrankATcernch (PR#516)
- CMakeLists: Changed the order in which include directories are listed when compiling, move DD4hep source paths to the front. This fixes a problem if older DD4hep installations are inadvertently in one of the include paths passed to compilers or rootcling (e.g., in LCG Views), fixes #515
2019-06-06 Andre Sailer (PR#514)
- Gean4ExtraParticles: no longer add decay process to extra particles, this is done by Geant4 resolves #513
- ddsim: disable physics.decays by default. This should only be enabled if completely new physics lists are created resolves #513
2019-05-09 Markus Frank (PR#510)
- Add debug printout of MEE in Geant4 material conversion
2019-04-29 MarkusFrankATcernch (PR#508)
- Geant4GDMLWriteAction:
- Add properties to Geant4GDMLWriteAction to steer writing of regions, cuts and sensitive detectors. See github issue #507
- Property: Export region information to the GDML: ExportRegions, default: True
- Property: Export energy cut information to the GDML: ExportEnergyCuts, default: True
- Property: Export sensitive detector information to the GDML: ExportSensitiveDetectors, default: True
- Note: The Geant4 physics list must be initialized BEFORE invoking the writer with options. Otherwise the particle definitions are missing! If you ONLY want to dump the geometry to GDML you must call
before writing the GDML file! You also need to setup a minimal generation action like:/run/beamOn 0sid.geant4.setupGun('Gun','pi-',10*GeV,Standalone=True)
- Add properties to Geant4GDMLWriteAction to steer writing of regions, cuts and sensitive detectors. See github issue #507
- Geant4GDMLWriteAction:
2019-04-29 Frank Gaede (PR#506)
- add utility materialBudget.cpp
- create plots w/ integrated radiation and interaction lengths
- bug fix in materialScan.cpp
- print correct endpoint
- add utility materialBudget.cpp
2019-04-17 Marko Petric (PR#503)
- DDG4: DDSim add option Physics.zeroTimePDG to configure ignoring particles of given PDG when their properTime is ZERO, e.g. charged leptons undergoing FSR, fixes #390
- DDG4: DDSim: fix parsing of rejectPDGs values from the command line
2019-04-12 Marko Petric (PR#502)
- DDSim: Add Higgs PDG code 25 to rejected codes for reading events
2019-04-10 MarkusFrankATcernch (PR#501)
- Add access to all Geant4Action derivatives to the Geant4 top level physical volume (world).
- Add Geant4 GDML writer action accessible and configurable from the Geant4 prompt
2019-04-09 Mircho Rodozov (PR#496)
- Added powerpc macros check to include header
cxxabi.h
- Added powerpc macros check to include header
2019-04-01 Markus Frank (PR#494)
- Use shared_ptr instead of home made ref counting for ConditionUpdateCalls
- Implement construction parameter access for solids. This one is a bit tricky: Some shapes (ShapeAssembly, Boolean shapes) had no such parameters. Added them as the sequence of the basic shape parameters + the corresponding matrices.
- Add move constructors to handles
- Improve const-ness of detector object in DDG4
2019-03-11 Markus Frank (PR#491)
- Implemented basic handles to support surface objects
- Implemented import of surface optical objects in compact to create TGeo surface objects and tabulated properties.
- Implemented the translation from TGeo to Geant4
- Added physics components for DDG4 handling Cerekov, Scintillation and generic optical photon physics
- Added examples
Please Note: 1) This is only enabled for a ROOT version > 6.17 (which is supposed to come) 2) There are still changes in ROOT in the pipeline. The code shall have to be adapted accordingly once these changes are activated.
2019-03-06 ebrianne (PR#489)
- Added Initialization of G4EmSaturation to initialize birks coefficients - for g4 version > 10.03
2019-02-19 Andre Sailer (PR#486)
- DDRec: Surface: add accessor to DetElement member
- DDRec: DetectorData: add Extension holding a map of String to Doubles
2019-02-14 Paul Gessinger (PR#485)
- In
DD4hepConfig.cmake, figure out if build has compatible standard set and print error if not
- In
2019-02-13 Frank Gaede (PR#483)
- fix drawing of surfaces for z-disks and cylinders (resolves #482)
Notes
Files
AIDASoft/DD4hep-v01-11.zip
Files
(19.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:c021757991a4d3d3864ca2eaf1eef0b4
|
19.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/AIDASoft/DD4hep/tree/v01-11 (URL)