Skip to content

Releases: AIDASoft/DD4hep

v01-16-01

26 Mar 09:44
Compare
Choose a tag to compare

v01-16-01

  • 2021-03-26 Andre Sailer (PR#799)

    • DDG4: flush the geant4 strstream buffer after run. fixes #798
  • 2021-03-26 Marko Petric (PR#793)

    • Account for possible units rounding bug in Tube creation (address #784 )
  • 2021-03-23 Andre Sailer (PR#797)

    • DDG4Dict: Adapt to changes in Root 6.24
  • 2021-03-23 Andre Sailer (PR#796)

    • RootDictionary: fix incompatibility with Root 6.24
  • 2021-03-23 Andre Sailer (PR#795)

    • Geant4Input: Add debug output for accepting or rejecting Particles
  • 2021-03-14 Markus FRANK (PR#794)

    • Address Coverity issues
  • 2021-03-12 Marko Petric (PR#792)

    • Use CMAKE_SHARED_LIBRARY_SUFFIX to define suffix of assimp libs
    • Define BUILD_BYPRODUCTS for compatibility with ninja
  • 2021-03-12 Markus FRANK (PR#791)

    • Remove a bunch of Coverity warnings.
  • 2021-03-12 MarkusFrankATcernch (PR#790)

    • update materialBudget utility
      • allow to optionally use pseudo rapidity eta rather than polar angle
  • 2021-03-12 Marko Petric (PR#788)

    • Use flag --as-needed for GNU linkers
  • 2021-03-11 Markus FRANK (PR#789)

    • Fix several coverity warnings
    • Fix bug in extracting unsigned int/long from xml: conversion to unsigned values had a bug.
    • Remove unnecessary printout in Geant4Converter

v01-16

02 Mar 17:06
Compare
Choose a tag to compare

v01-16

  • 2021-03-02 Markus FRANK (PR#787)

    • Resolves #786. Also add an example to reproduce the Fix.
    • Add protection in Detector object against registering DetElements without placement
    • Modernize loop handling according to C++ 17 standards
  • 2021-02-15 Andre Sailer (PR#783)

    • Adapt to new ROOT mechanism for switching the unit system.
      Units can be switched now multiple times provided the units are unlocked in the TGeoManager.
      See TGeoManager::LockDefaultUnits(Bool_t new_value).
      This is only available for ROOT versions >= 6.22.08
    • Improve examples/Conditions. Allow for more complex dependencies. Not enabled by default.
  • 2021-01-31 Markus FRANK (PR#779)

    • Propagate changes in ComponentCast to the EDM module
  • 2021-01-30 Markus FRANK (PR#778)

    • Move the header DD4hep/detail/Grammar_parsed.h to DD4hep/GrammarParsed.h
    • Move the header DD4hep/detail/Grammar_unparsed.h to DD4hep/GrammarUnparsed.h
    • Try to improve type agnostic ABI cast. Works for down casts only.
  • 2021-01-08 Markus FRANK (PR#772)

    • This is the first release prepared to use Geant4 units (mm,ns,MeV). This compilation mode can be steered by a cmake flag: -DDD4HEP_USE_GEANT4_UNITS=ON. Once set, the flag is automatically propagated to depending projects in the generated DD4hepConfig.cmake. It programs TGeo to use the Geant4 units system. The unit system is applied also to depending quantities like interaction lengths etc.
    • Update some tests and ensure compatibility in the checks/reference files for both unit system. There is one caveat: Mesh-creation of shapes depends to some degree on the unit system, because mesh points are removed depending on a tolerance value which is the same for both systems.
    • A fix had to be applied to propagate the flag DD4HEP_BUILD_DEBUG to depending projects. This flag affects some object layouts and hence MUST be applied also to depending projects.
    • Remove inclusions of Plugins.h from being processed by rootcling. Plugins.h uses #include <any>, which cannot be processed.
  • 2020-12-18 Marko Petric (PR#771)

    • Expand list of cmake versions that have bug in detecting python version (see AIDASoft/podio#162)

v01-15

09 Dec 13:38
Compare
Choose a tag to compare

v01-15

  • 2020-12-08 Frank Gaede (PR#740)

    • add back the Geant4Output2EDM4hep plugin from EDM4hep
      • use optional flag D4HEP_USE_EDM4HEP to build this
      • requires podio and EDM4hep to be present
    • fix treatment of units in Geant4Output2EDM4hep
    • DDTest: add optional ddsim tests with edm4hep and lcio output (A.Sailer)
    • enable D4HEP_USE_EDM4HEP in CI for dev (A.Sailer)
  • 2020-12-07 Christopher Jones (PR#767)

    • Made internal classes used by Evaluator to be less stateful
    • Switch to using a read/write lock as modifications to the Evaluator are much less frequent than reads.
    • Added unit test for Evaluator
  • 2020-12-04 Andre Sailer (PR#766)

    • DDG4: hepmc3reader: add checks for read and skip success
    • DDTest: test hepmc3 reader, make lcio and hepmc3 reader tests depend on configuration.
  • 2020-12-04 Andre Sailer (PR#765)

    • DDG4: Geant4InputHandling: create particle with 4 vector (vecP, E), solves issue where the dynamic mass differs from the PDG mass (e.g., via particle.tbl / extraParticles), #760
  • 2020-12-03 MarkusFrankATcernch (PR#753)

    • Always use CLHEP/Units/SystemOfUnits.h and never G4SystemOfUnits.hh
      • in G4SystemOfUnits.hhunits are directly in the top level namespace
      • in CLHEP/Units/SystemOfUnits.h units are in the CLHEP:: namespace
    • Remove all usage using namespace CLHEP and using CLHEP::__some_unit__ to clarify which unit is used
  • 2020-12-02 MarkusFrankATcernch (PR#764)

    • Make scaled shapes includes conditional on Geant4 version (>=10.3)
    • Improve thread safety of expression evaluator
  • 2020-12-02 Andre Sailer (PR#754)

    • ddsim: fix problem with --dumpSteeringFile in python3
    • ddsim: fix issue in where isotrop was False, when distribution was set (python3)
    • ddsim: fix exception in exceptions for gun direction and position
    • ddsim: fix problem where hepmc.useHepMC3 was always True by default
    • PluginManager: rename the listcomponents executable to listcomponents_dd4hep, to avoid clash with the Gaudi listcomponents. This is transparent for users of the dd4hep_add_plugin cmake macro.
    • DDG4Dict: remove dd4hep::sim::Geant4InputAction::Particles; as this is available under a different name, fixes warning
    • CMake: DD4hepConfig.cmake: use find_dependency with CONFIG for Geant4, TBB, ROOT, LCIO, and if needed CLHEP, to avoid accidental use of Find<PACKAGE>.cmake modules
  • 2020-11-24 MarkusFrankATcernch (PR#757)

    • Expression evaluation was not protected against race conditions when executing in multiple threads. We lock now the evaluation namespace with an associated lock when evaluating expression statements. Each evaluation call is wrapped and protected. This should ensure thread safety.
  • 2020-11-24 Marko Petric (PR#751)

    • Resolve which type of linker is used and assign proper linking flags
  • 2020-11-21 Markus FRANK (PR#756)

    • Remove from Geant4 conversion of scaled shapes artifacts of the prior implementation of reflections.
      This was a wrong implementation and should now be fixed.
      This PR should fix issue #750
    • Introduce the Scale (based on TGeoScaledShape) as a separate shape om DD4hep.
    • Add test for scaled shape
  • 2020-11-19 Marko Petric (PR#749)

    • Add explanation of the system of units to the user manual
  • 2020-11-19 MarkusFrankATcernch (PR#748)

    • Review documentation
      o Add chapter to describe MC truth handling for DDG4
      o Review shape and shape plugin section in the DD4hep manual
    • Adapt ConeSegment shape plugin to allow for standard syntax
    • Fix Torus shape plugin and test
    • Add copyright notice to various test files
  • 2020-11-19 Ole Hansen (PR#745)

    • Improve path handling in setup scripts, by avoiding duplicates in paths. Also support whitespaces in paths and don't add system paths to library paths on macOS
  • 2020-11-19 Ole Hansen (PR#743)

    • Fix compilation warnings from Apple Clang 12
    • Fix broken t_CLICSiD_DDG4_g4geometry_scan_LONGTEST test condition which always matched.
  • 2020-11-18 Ole Hansen (PR#744)

    • CMake: Fix regression that examples and example tests can now be built and run together with the main project
  • 2020-11-16 Markus FRANK (PR#747)

    • Add documentation of DDG4 Monte-Carlo truth handler
    • Add documentation of DDG4 ROOT output module
  • 2020-11-13 Markus FRANK (PR#742)

    • Add example for CMS CSC: tests divisions

    • Add example for CMS ECAL: tests reflections

    • Improve DDG4_MySensDet: Example illustrating how to have customized sensitive detectors and user defined hit classes with data saved to ROOT. Example corresponding to question raised in #703
      The example also includes a small script to read back the data generated with this example:
      Command line usage:

      • $> root.exe
      • ....
      • root [0] gSystem->Load("libDDG4Plugins.so");
      • root [1] gSystem->Load("libDDG4_MySensDet.so");
      • root [2] SomeExperiment::Dump::dumpData(,);
    • Remove the odd shadowing warning.

    • Improve visualization attributes:
      As reported by Sanhyung Ko (https://indico.cern.ch/event/967418/contributions/4075358/attachments/2128099/3583278/201009_shKo_dd4hep.pdf) the application of visual attributes to volumes was very resource intensive.
      This should be fixed by asking for the transparent color only once at the level of the attribute rather then for each volume.

  • 2020-11-11 Frank Gaede (PR#738)

    • fix units in DDG4/LCIO conversions
      • prepend namespace CLHEP where missing
  • 2020-11-10 Markus FRANK (PR#736)

    • Update DDCMS example to take into account new xml tags.
    • Improve some core object helpers
  • 2020-11-06 Markus FRANK (PR#734)

    • No new implementation for reflections. Still uses TGeo way with scaled shape.
      This implementation is not supposed to be used.
    • Added test to debug reflections
  • 2020-11-05 Ianna Osborne (PR#732)

    • Examples.DDCMS: add CMS EcalEndcap description to test reflected volumes
  • 2020-11-03 Andre Sailer (PR#731)

    • Tests: Always run AClick tests sequentially, fixes #730
  • 2020-11-03 Andre Sailer (PR#728)

    • CMake: fix python version compatibility check between python and root used for python. Add exception for CMake 3.17.1
    • Tests: fix some test configuration to run all tests after -D DD4HEP_BUILD_EXAMPLES=ON
    • Tests: fix tests for root 6.22.04 and master
  • 2020-11-02 Andre Sailer (PR#725)

    • CMake: fail if ROOT and DD4hep python disagree
  • 2020-10-14 Ianna Osborne (PR#723)

    • SpecParRegistry: remove need for TBB

      • TBB has a slight overhead compare to std containers
      • Using std containers allows to return references to the containers in the registry
    • Reverse the plan to process XML files in parallel

v01-14-01

05 Oct 14:44
Compare
Choose a tag to compare

v01-14-01

  • 2020-10-02 Markus Frank (PR#720)

    • Add the ability to access the DetElement in a derived condition. Access to it is enabled now for all
      compilations (Debug + Release).
    • When parsing compact, it is possible to inject plugins to create tables with tabulated properties in C++
    • When parsing compact, it is possible to inject plugins to assign property tables to materials.
  • 2020-09-28 Marko Petric (PR#718)

    • Replace deprecated PyOS_AfterFork with PyOS_AfterFork_Child for python 3.7 and above

v01-14

27 Sep 21:02
Compare
Choose a tag to compare

v01-14

  • 2020-09-26 Markus Frank (PR#717)

    • Propagate condition names for printouts. Names are enabled by default. The feature can be disabled
      to minimize conditions memory footprint. Comment DD4HEP_CONDITIONS_HAVE_NAME in DD4hep/config.h

    • If the debug flag DD4HEP_CONDITIONS_DEBUG is set (enabled by the compile definition DD4HEP_DEBUG, which in turn is enabled by the cmake flag DD4HEP_BUILD_DEBUG, which is turned on in debug builds automatically), then condition objects offer optional storage e.g. to store the object address or an xml-string etc.

    • Update and fix some tests, which were assuming names

  • 2020-09-25 Marko Petric (PR#715)

    • Rename TruncatedTube zHalf accessor with dZ resolves #714
    • Add to Trap missing dZ accessor resolves #713
  • 2020-09-23 Andre Sailer (PR#712)

    • Cmake: add configuration option DD4HEP_BUILD_DEBUG, if ON or OFF enable or disable the DD4HEP_DEBUG definition
      if not set, enable if BuildType is Debug, fixes #708
  • 2020-09-23 bcouturi (PR#709)

    • Added geoWebDisplay command that uses jsroot to render the Geometry, requires ROOT7 ROOTEve
  • 2020-09-23 Andre Sailer (PR#707)

    • DDG4.HepEvtReader: fix reading of input particles, fixes #706
    • DDG4.HepEvtReader: fix the units, expecting GeV, mm as units of input files.
    • DDG4.HepEvtReader: add abort if the file cannot be read, e.g., when the content doesn't match what is expected
  • 2020-09-22 Marko Petric (PR#710)

    • Fix variable nameSIGNATURE in Plugins.h and Plugins.inl that conflicts with #define from utmpx.h in macOS libc implementation. Resolves #700
    • Migrate CI from Travis-CI to GitHub Actions and include macOS and ubuntu18 tests
  • 2020-09-17 Marko Petric (PR#704)

    • Apply clang-tidy llvm-header-guard fixer
  • 2020-09-16 Andre Sailer (PR#705)

    • DDSim: add options to select which sensitive detectors are trackers and calorimeters, defaults unchanged
    • DDSim: tweak log output formatting, logging goes now to stdout instead of stderr
    • SiD example: remove track_length_max and time_max from silicon limits (fixes part of #703 )
  • 2020-09-07 Markus Frank (PR#702)

    • Add starttheta, endtheta, endphi xml accessors.
    • Fix sphere shape creator and update shape example.
  • 2020-09-04 Markus Frank (PR#697)

    • Implement data member accessors for construction parameters in Shapes.h. As discussed in the thread cms-sw/cmssw#30931 it was felt that read-only access to the basic construction parameters of a shape would be highly useful.
  • 2020-09-03 Marko Petric (PR#699)

    • Set search order for python on macOS to search for system/framework python last (change in behavior of cmake 3.14->3.15)
  • 2020-07-31 Markus Frank (PR#692)

    • Protect XML file handling against non-existing files.
  • 2020-07-30 Markus Frank (PR#691)

    • Improve matrix helpers: Add extractors for scale and translation as XYZVector from TGeoMatrix.
    • Add example to simulate the MiniTel with DDG4 using a HepMC input file
    • Add example to load a sub-detector geometry from gdml.
  • 2020-07-27 Markus Frank (PR#690)

    1. New example to show the usage of multiple compact input files being processed from the command line.
      The example illustrates how to maniplulate the opening and the closing of the geometry using the compact notation.

       geoDisplay  -input file:SiD_multiple_inputs.xml \
                           -input file:SiD_detectors_1.xml \
                           -input file:SiD_detectors_2.xml \
                           -input file:SiD_close.xml \
                           -print INFO -destroy -volmgr -load```
      
    2. New example to scan the geometry starting from a given position in a certain direction. Command line like for g4MaterialScan.
      The output shows then the pathes to the volumes traversed, the shape and the material of these volumes.

      g4GeometryScan --compact=DDDetectors/compact/SiD.xml --position=0,0,0 --direction=0,1,0

      Resulting output:

       GeometryScan                      WARN  Starting tracking action for track ID=1
       +--------------------------------------------------------------------------------------------------------------------------------------------------
       | Material scan between: x_0 = (   0.00,   0.00,   0.00) [cm] and x_1 = (   0.00,3000.00,   0.00) [cm]  TrackID:1: 
       +--------------------------------------------------------------------------------------------------------------------------------------------------
       |     \                Path                                        
       | Num. \  Thickness    Length   Endpoint                   Volume , Shape , Material
       | Layer \   [cm]        [cm]    (     cm,     cm,     cm)         
       +--------------------------------------------------------------------------------------------------------------------------------------------------
       |     1      2.4500     2.450   (   0.00,   2.45,   0.00)  Path:"/world/BeamPipeVacuum_62" Shape:G4Polycone  Mat:Vacuum
       |     2      0.0500     2.500   (   0.00,   2.50,   0.00)  Path:"/world/Beampipe_53" Shape:G4Polycone  Mat:Beryllium
       |     3      0.1802     2.680   (   0.00,   2.68,   0.00)  Path:"/world/av_3_impr_1_layer1_pv_0" Shape:G4Tubs  Mat:Air
       |     4      0.0115     2.692   (   0.00,   2.69,   0.00)  Path:"/world/av_3_impr_1_layer1_pv_0/VtxBarrelModuleInner_4" Shape:G4Box  Mat:Air
       |     5      0.0130     2.705   (   0.00,   2.70,   0.00)  Path:"/world/av_3_impr_1_layer1_pv_0/VtxBarrelModuleInner_4/component0_0" Shape:G4Box  Mat:Carbon
       |     6      0.0256     2.730   (   0.00,   2.73,   0.00)  Path:"/world/av_3_impr_1_layer1_pv_0/VtxBarrelModuleInner_4" Shape:G4Box  Mat:Air
       |     7      0.0050     2.735   (   0.00,   2.74,   0.00)  Path:"/world/av_3_impr_1_layer1_pv_0/VtxBarrelModuleInner_4/component1_1" Shape:G4Box  Mat:Silicon
       |     8      0.0050     2.740   (   0.00,   2.74,   0.00)  Path:"/world/av_3_impr_1_layer1_pv_0/VtxBarrelModuleInner_4" Shape:G4Box  Mat:Air
       |     9      0.1596     2.900   (   0.00,   2.90,   0.00)  Path:"/world/av_3_impr_1_layer1_pv_0" Shape:G4Tubs  Mat:Air
       |    10      0.7000     3.600   (   0.00,   3.60,   0.00)  Path:"/world" Shape:G4Box  Mat:Air
       |    11      0.1844     3.784   (   0.00,   3.78,   0.00)  Path:"/world/av_3_impr_1_layer2_pv_1" Shape:G4Tubs  Mat:Air
       |    12      0.0115     3.796   (   0.00,   3.80,   0.00)  Path:"/world/av_3_impr_1_layer2_pv_1/VtxBarrelModuleOuter_4" Shape:G4Box  Mat:Air
       ....
      

v01-13-01

16 Jul 14:54
Compare
Choose a tag to compare

v01-13-01

  • 2020-07-10 Markus Frank (PR#686)
    • Fix bug in VolumeBuilder where VolIDs were not properly set to physical volumes if the xml supported an id tag.

v01-13

08 Jul 14:37
Compare
Choose a tag to compare

v01-13

  • 2020-07-02 MarkusFrankATcernch (PR#684)

    • Fix compiler issue for clang 3.9 (resolves #683)
  • 2020-07-02 Andre Sailer (PR#682)

    • CMake: add option DD4HEP_USE_TBB to require TBB or not
    • Filter and SpecParRegistry classes from CMSSW (see #675)
  • 2020-07-01 vvolkl (PR#679)

    • Add CPack Configuration
  • 2020-06-30 Markus Frank (PR#680)

    • adopt IOV changes from @pikacic to work on macOS (see #678).
  • 2020-06-30 Marco Clemencic (PR#678)

    • Modernization and clean up of dd4hep::IOV (using instead of typedef, constexpr instead of enum)
    • Make dd4hep::IOV::Key uniform wrt first and second type
    • Use std::int64_tinstead of long for dd4hep::IOV::Key elements
  • 2020-06-18 lintao (PR#677)

    • Fixed the CLHEP::mm to dd4hep::mm conversion problem in DDG4/src/Geant4SensitiveDetector.cpp
  • 2020-06-11 Markus FRANK (PR#676)

    • Fix problem with missing header in DDEve appearing in ROOT head.
  • 2020-06-08 Marko Petric (PR#673)

    • Use unique include guard in BitFieldCoder.h
      • fix ambiguity in test between BitField64 in LCIO and DD4hep
    • Cast to string coll_nam in DDG4.py before using further, otherwise string concatenation does not work
  • 2020-05-29 Andre Sailer (PR#672)

    • Use unique include guards
  • 2020-04-24 Frank Gaede (PR#663)

    • fix compilation of DigiKernel.cpp with TBB
  • 2020-04-09 Andre Sailer (PR#660)

    • DDG4: fix behaviour of ParticleRejectFilter and ParticleSelectFilter, They now properly select or reject the given particle type, instead of the opposite. Fixes #657
  • 2020-04-09 Markus FRANK (PR#659)

    • Allow condition objects, which do not provide a default constructor. If such objects should be managed, these cannot be saved with ROOT - these objects may only live in memory. ROOT requires a default constructor.
  • 2020-04-09 Marko Petric (PR#654)

    • Rewrite rpath usage on macOS and make it relocatable with help of @rpath
      • itroduce new option DD4HEP_SET_RPATH default ON
    • adopt thisdd4hep.sh and other .sh scripts to work with zsh (new default for macOS 10.15)
    • Drop MakeGaudiMap.cmake and call directly listcomponents
      • fix env settings for macOS
    • Drop deprecated -std= flag in dictionary creation
  • 2020-03-23 Andre Sailer (PR#652)

    • Documentation: fix broken mathml, fixes #651
  • 2020-03-20 Andre Sailer (PR#649)

    • CMake: add DD4HEP_HIGH_MEM_POOL_DEPTH option. Allow setting of parallel builds of DDParser objects with the ninja generator. Defaults to "memory / 2000 cores (rounded down)"
  • 2020-03-20 Andre Sailer (PR#632)

    • CMake: Adapt to ROOT 6.22 python library ROOTTPython
  • 2020-03-18 Andre Sailer (PR#636)

    • DDG4: add reader for HepMC3 files
    • DDG4: add generic EventParameters class to pass event level parameters from different input sources to different output sources, supercedes the LCIOEventParameters class
  • 2020-03-11 Markus Frank (PR#647)

    • The CAD volume plugin allows to embed valumes and shapes originating from Computer Aided Design drawings using multiple formats as they are supported by the open asset importer library (http://assimp.org ). The plugin can be used whenever the xml fragment matches the following pattern:
      <XXX ref="file-name"  material="material-name">   
        <material name="material-name"/>  <!-- alternative: child or attr -->
      
        Envelope:  Use special envelop shape (default: assembly)
                   The envelope tag must match the expected pattern of the utility
                   dd4hep::xml::createStdVolume(Detector& desc, xml::Element e)
        <envelope name="volume-name" material="material-name">
          <shape name="shape-name" type="shape-type" args....>
          </shape>
        </envelope>
      
        Option 1:  No additional children. use default material 
                   and place all children in the origin of the envelope
      
        Option 2:  Volume with default material
        <volume name="vol-name"/>
      
        Option 3:  Volume with non-default material
        <volume name="vol-name" material="material-name"/>
      
        Option 4:  Volume with optional placement. No position = (0,0,0), No rotation = (0,0,0)
        <volume name="vol-name" material="material-name"/>
          <position x="0" y="0" z="5*cm"/>
          <rotation x="0" y="0" z="0.5*pi*rad"/>
        </volume>
      
        For sensitive volumes: add physical volume IDs:
        <volume name="vol-name" material="material-name"/>
          <physvolid name="layer" value="1"/>
          <physvolid name="slice" value="10"/>
        </volume>
       </XXX>

v01-11-02

06 Mar 10:47
b958239
Compare
Choose a tag to compare

Patch release w/ backport from v01-12-01 (DDSim fixe PR#641).

v01-12-01

03 Mar 22:14
Compare
Choose a tag to compare

v01-12-01

  • 2020-03-03 Marko Petric (PR#641)

    • DDSim: make the output of ddsim --dumpSteeringFile visible again
    • DDSim: fix exception in ConfigHelper.printOptions, called by --dumpParameters option
    • DDSim: fix parsing of vector command line parameters, gun.position, gun.direction etc.
    • DDSim: better testing of command line parameters
  • 2020-03-03 vvolkl (PR#640)

    • DDSim: add option to use edm4hep output

v01-12

28 Feb 10:19
Compare
Choose a tag to compare

v01-12

  • 2020-02-26 Andre Sailer (PR#637)

    • LcioEventReader: fix setting of color flow, second coordinate was never set
  • 2020-02-25 Markus Frank (PR#633)

    • Added basic implementation for CAD interface to load shapes from CAD files. There is an open issue how to best embed the volume/shape loading from CAD files into the existing infrastructure. See for presentation. This feature is only available if build against ROOT 6.22 or higher.
    • DDCAD used the assimp librray to interprete the CAD files.
    • Simplify grammar instantiation.
      • For grammars to be parsed with boost::spirit simply include
        #include "DD4hep/detail/Grammar_parsed.h"
      • For Grammars which should not be parsed with boost::spirit include
        #include "DD4hep/detail/Grammar_unparsed.h"
      • To instantiate the code and to register the instantiation call:
        template <> dd4hep::Grammar<my-class>;
      • If the Grammar is supposed to be registered call instead/in addition:
        static auto s_registry = GrammarRegistry::pre_note<my-class>();
      • All other macros are gone.
  • 2020-02-21 Andre Sailer (PR#631)

    • Only build DDG4 Python dependent libraries and pcms if Python and PyROOT are found
  • 2020-02-21 Andre Sailer (PR#627)

    • MakeGaudiMap: better inference of listcomponents and library location by using target properties
    • MakeGauiMap: Detailed information about the command is not only printed when VERBOSE=1
  • 2020-02-19 Marko Petric (PR#626)

    • Check in python modules that load libglapi is only called if the library is not already loaded.
  • 2020-02-19 Sebastien Ponce (PR#624)

    • Fixed bug in the dd4hep_add_test_reg function which was only taking into account the last dependency of a test when several were present.
  • 2020-02-19 Marko Petric (PR#622)

    • Add missing conversion from unicode to str for python 2 case in DDrec.py
    • Add test to check dd4hep python module imports
    • Fixes for tests from examples:
      • typo in tessellated example
      • make gdml read test dependent on the gdml write test
    • Add check to test if the version of python used to build ROOT is the same to the version detected by CMake to build DD4hep (works only from ROOT 6.20)
  • 2020-02-17 Andre Sailer (PR#621)

    • Cmake: dd4hep_add_dictionary: directly use command, no longer created bash script to be called. See details of call with make VERBOSE=1
    • PluginServiceV2: use boost::split instead of walking of char arrays, fix bug when two colons are in the environment variable. Fixes #600
  • 2020-02-13 Sebastien Ponce (PR#620)

    • added missing dependency of Persist_CLICSiD_Geant4 test on Persist_CLICSiD_Save_LONGTEST
  • 2020-02-11 Marko Petric (PR#618)

    • Fix from which version of ROOT TGeoTessellated is supported (starting only in 6.22)
    • Fix location of test file in tessellated example
  • 2020-02-06 Hadrien Grasland (PR#613)

    • Use the official CMake configuration mechanism provided by TBB >= 2017 U7.
    • Do not delete move constructors in DigiKernel as this breaks current versions of TBB.
  • 2020-02-05 Markus Frank (PR#610)

    • Thanks to @agheata, ROOT now supports tessellated shapes. These new shapes are now supported by DD4hep including the automatic translation to Geant4. The tessellated shapes feature is only supported when compiling against ROOT 6.20.0 or higher.
    • Added a basic shape test for the tessellated shape.
  • 2020-02-03 Markus Frank (PR#608)

    • SInce we do not use DTD checking all DTD links from lcdd xml files have been removed in examples.
    • Add 2 examples to check the usage of NTP and STP temperature/pressure conditions
  • 2020-01-09 Markus Frank (PR#606)

    • Resolves #605
    • There was an apparent bug when cloning DetElement trees. Not only for the top element, which should receive a new ID, this top ID was propagated to all children. This was clearly wrong. The correct solution is:
      • Top element gets a new ID
      • Children keep their ID
    • If a user wants to preserve the old functionality the flag DetElement::PROPAGATE_PARENT_ID must be set in the clone statement.
  • 2019-12-18 Markus Frank (PR#604)

    • Allow to set ambient temperature and pressure for all materials.
      • predefined settings: STP, NTP
      • Example:
        • examples/ClientTests/compact/Check_Air.xml
      • Apply global temperature and pressure for all materials and especially for one single material.
      • Verification for Geant4: examples/ClientTests/scripts/Check_Air.py
    • DDG4: allow Geant4 messengers to pass parameter string.
  • 2019-12-16 Markus Frank (PR#603)

  • 2019-11-27 Markus Frank (PR#597)

    • Intermediate release to store improvements in the development of DDDigi:
      Start implementing noise chains
    • Fix cmake build if CLHEP is included in Geant4 and not external.
  • 2019-11-16 Markus Frank (PR#596)

    • Requre that all materials must be entered explicitly.
      • The default ROOT element table is disabled.
    • Fix examples, which relied on the default ROOT elements being present
    • Fix #595 for DDCMS:
      • The density was not re-normalized to the units TGeo was expecting. Same for atomic weights.
      • Fill missing elements to DDCMS/data/materials.xml (Values to be cross-checked by CMS)
  • 2019-11-09 Markus Frank (PR#593)

    • Fix Geant4 conversion for Polyhedra and Polycone if start_phi != 0 (See issue #578)
    • Preparatory work to have placeholder volumes for twisted tubes (See issue #588)
  • 2019-10-29 Andre Sailer (PR#590)

    • DumpBField: correct the column unit printout and prepare for eventual change of default length unit
    • MagneticFields example: correct the unit for the Z parameter of the MultiPole to tesla