Warning, /DD4hep/doc/ReleaseNotes.md is written in an unsupported language. File is not indexed.
0001 # v01-37
0002
0003 * 2026-04-27 Juan Miguel Carceller ([PR#1621](https://github.com/aidasoft/dd4hep/pull/1621))
0004 - ddsim: Allow passing `batch` as runType for G4Gun and G4GPS
0005
0006 * 2026-04-24 Markus Frank ([PR#1620](https://github.com/aidasoft/dd4hep/pull/1620))
0007 - Improve the interface to access material properties from materials if used:
0008 ```
0009 /// Access the number of properties attached to the material (if any)
0010 std::size_t numProperties() const;
0011 /// Access to tabular properties of the material by index
0012 Property property(std::size_t index) const;
0013 /// Access to tabular properties of the material by name
0014 Property property(const char* name) const;
0015 /// Access to tabular properties of the material by name
0016 Property property(const std::string& name) const;
0017 /// Access string property value from the material table
0018 std::string propertyRef(const std::string& name, const std::string& default_value="");
0019 /// Access the number of const properties attached to the material (if any)
0020 std::size_t numConstProperties() const;
0021 /// Access to const properties of the material by index
0022 double constProperty(std::size_t index) const;
0023 /// Access to tabular properties of the material
0024 double constProperty(const std::string& name) const;
0025 /// Access string property value from the material table
0026 std::string constPropertyRef(const std::string& name, const std::string& default_value="");
0027 ```
0028 See for examples the area: examples/ClientTests/src/MaterialTester_geo.cpp
0029
0030 - In Geant4 special tags are used if the properties should be treated in a special way by Geant4:
0031 (see examples/OpticalSurfaces/compact/ReadMaterialProperties.xml)
0032 -- the tag `Geant4-ignore` hides the material property entirely from the Geant4 materials
0033 -- the tag `Geant4-custom` injects the property into the Geant4 material. It may be used in user code
0034 and accessed from regular Geant4 materials.
0035 -- the tag `Geant4-plugin` hides the property from Geant4 and allows the usage inside Geant4 plugins.
0036
0037 Users are e.g. RICH reconstruction and Channeling experiments. [Request from W,Pokorski]
0038
0039 * 2026-04-22 Juan Miguel Carceller ([PR#1615](https://github.com/aidasoft/dd4hep/pull/1615))
0040 - Remove checks for nullptrs before deleting, since deleting nullptr is a no-op
0041
0042 * 2026-04-20 Markus Frank ([PR#1618](https://github.com/aidasoft/dd4hep/pull/1618))
0043 - Protect the usage of NON-Geant4 properties against usage (and exceptions) when converting geometries to Geant4.
0044
0045 Since Geant4 version 11 the check of for an accepted material property throws a fatal exception, which forces Geant4 to call exit. This MR fixes this behavior by checking the possibility upfront by checking the property names rather than a returned negative index.
0046 Issue reported by W.Pokorski.
0047
0048 * 2026-04-15 sss ([PR#1608](https://github.com/aidasoft/dd4hep/pull/1608))
0049 - SDActions: Fix possible issues in looking up volumes by IDs in the case where VolumeIDs may be duplicated across subdetectors.
0050
0051 * 2026-04-14 sss ([PR#1611](https://github.com/aidasoft/dd4hep/pull/1611))
0052 - Change DetectorSelector to take a const Detector reference.
0053
0054 * 2026-04-14 sss ([PR#1610](https://github.com/aidasoft/dd4hep/pull/1610))
0055 - Tweak script permissions so that they work when installed as symlinks (CMAKE_INSTALL_MODE=ABS_SYMLINK).
0056
0057 * 2026-04-14 Wouter Deconinck ([PR#1602](https://github.com/aidasoft/dd4hep/pull/1602))
0058 - add Halton sequences support to isotrope generator
0059
0060 * 2026-04-13 sss ([PR#1609](https://github.com/aidasoft/dd4hep/pull/1609))
0061 - Fix typo in error message.
0062
0063 * 2026-04-13 Juan Miguel Carceller ([PR#1607](https://github.com/aidasoft/dd4hep/pull/1607))
0064 - CI: Update the checkout action since v4 uses a deprecated version of Node.js
0065
0066 * 2026-04-13 Juan Miguel Carceller ([PR#1605](https://github.com/aidasoft/dd4hep/pull/1605))
0067 - BitFieldCoder: Fix undefined behaviour if width is 32 (or greater) and the bitfield is unsigned. Then `1 << width` is undefined behaviour.
0068
0069 * 2026-03-31 Arthur Hennequin ([PR#1603](https://github.com/aidasoft/dd4hep/pull/1603))
0070 * Shapes.h: Remove unused template function calling non existing function. (fix nvcc build)
0071
0072 * 2026-03-26 Markus Frank ([PR#1600](https://github.com/aidasoft/dd4hep/pull/1600))
0073 - Remove LCDD Geometry conversion. The LCDD was never used in D4hep, since DD4hep was not adopted by Slic.
0074 In any case, the GDML conversion either from Geant4 of from TGeo offers very similar functionality.
0075 See also issue https://github.com/AIDASoft/DD4hep/issues/1597
0076 - Keep the extraction of visualization attributes.
0077 - Remove all examples testing the conversion to LCDD.
0078
0079 * 2026-03-23 Thomas Madlener ([PR#1582](https://github.com/aidasoft/dd4hep/pull/1582))
0080 - Set the fast simulation flag for MCParticles (in EDM4hep version 1.0.1) for which at least one contribution to a calorimeter hit has been created by fast simulation.
0081 - Set the step length for contributions that are created by fast simulation to `-1` to clearly distinguish them from those created by ordinary simulation as those by definition have a step length that is `>= 0`. **This will only be effective if the detailed shower mode is enabled.**
0082
0083 # v01-36
0084
0085 * 2026-03-20 Juan Miguel Carceller ([PR#1599](https://github.com/aidasoft/dd4hep/pull/1599))
0086 - Fix a few typos and remove unused includes that are not being used in the current file
0087
0088 * 2026-03-20 Wouter Deconinck ([PR#1598](https://github.com/aidasoft/dd4hep/pull/1598))
0089 - fix: Geant4ParticleGenerator: randomize non-zero polarization in optical photon gun
0090
0091 * 2026-03-18 Juan Miguel Carceller ([PR#1586](https://github.com/aidasoft/dd4hep/pull/1586))
0092 - `LCIOEventReader` and friends: make sure to release the collection returned by `readParticleCollection` when needed (`LCIOStdhepReader`) since we are the owners of it. Change the interface of the readers to use a `std::unique_ptr` with a deleter that it's either a no-op when we are not the owners or a deletion when we are the owners of the collection.
0093 - `LCDDConverter.cpp`: Use a `DocumentHolder` to make sure the document created will be released
0094 - Several tests: Use `std::unique_ptr` for objects that need to be deleted, call `Detector::destroyInstance()`, also remove a few unused includes flagged by clangd.
0095
0096 * 2026-03-17 Andre Sailer ([PR#1596](https://github.com/aidasoft/dd4hep/pull/1596))
0097 - EDM4hepInput: fix reading of input file parameters for MCParticleCollectionName, add edm4hep.mcParticleCollectionName Parameter to ddsim
0098 - EDM4hepInput: add edm4hep.eventHeaderCollectionName Parameter to ddsim
0099
0100 * 2026-03-13 Andre Sailer ([PR#1595](https://github.com/aidasoft/dd4hep/pull/1595))
0101 - Geant4UserParticleHandler: keep particles in the MCRecord if they start in the calo, leave a hit in the tracker and then end up in the calo again. Belongs to #471
0102
0103 * 2026-03-13 Andre Sailer ([PR#1593](https://github.com/aidasoft/dd4hep/pull/1593))
0104 - Tests: ignore pseudotrap on aarch64, relax condition for voxelisationtest
0105
0106 * 2026-03-13 Markus Frank ([PR#1592](https://github.com/aidasoft/dd4hep/pull/1592))
0107 - Geant4ParticleHandler: Keep particles back-scattered from calorimeters to tracker devices
0108 If a particle gets back-scattered from a calorimeter (aka starts in a calorimeter or has calorimeter hits) and ends in a tracking device, a new MCParticle is created for the handling of deposits in the entered tracker.
0109 For details also see issue: https://github.com/AIDASoft/DD4hep/issues/471
0110
0111 * 2026-03-13 Wouter Deconinck ([PR#1580](https://github.com/aidasoft/dd4hep/pull/1580))
0112 - fix: allow improved G4ParameterisedNavigation for pure 1D translation case
0113
0114 * 2026-03-09 Markus Frank ([PR#1591](https://github.com/aidasoft/dd4hep/pull/1591))
0115 - Implement overlayed constant field type limited to a given shape
0116 See issue https://github.com/AIDASoft/DD4hep/issues/1585 for details.
0117 - Backwards compatibility is preserved. If no shape is supplied for the validity of the constant field,
0118 the field by definition is valid for the entire world volume.
0119 - Implement overlayed constant field types for the compact xml notation.
0120 Usage:
0121 ```
0122 <fields>
0123 <!-- Constant magnetic field without boundaries valid for the entire world volume -->
0124 <field name="ConstantMagneticField" type="ConstantField" field="magnetic">
0125 <strength x="0*tesla" y="0*tesla" z="0.5*tesla"/>
0126 </field>
0127 <!-- Constant electric field without boundaries valid for the entire world volume -->
0128 <field name="ConstantElectricField" type="ConstantField" field="electric">
0129 <strength x="1000*V/m" y="1000*V/m" z="0*V/m"/>
0130 </field>
0131 <!-- Constant magnetic field valid for the solid defined by "shape" at position "position" -->
0132 <field name="LocalMagneticField" type="ConstantField" field="magnetic">
0133 <strength x="0*tesla" y="0*tesla" z="1.5*tesla"/>
0134 <shape type="Box" dx="10*cm" dy="10*cm" dz="25*cm">
0135 <position x="0*cm" y="0*cm" z="-50*cm"/>
0136 </shape>
0137 </field>
0138 <!-- Constant electric field valid for the solid defined by "shape" at position "position" -->
0139 <field name="LocalElectricField" type="ConstantField" field="electric">
0140 <strength x="0*V/m" y="0*V/m" z="5000*V/m"/>
0141 <shape type="Box" dx="10*cm" dy="10*cm" dz="25*cm">
0142 <position x="0*cm" y="0*cm" z="-50*cm"/>
0143 </shape>
0144 </field>
0145 </fields>
0146 ```
0147 Combined field strength at various points in `z` according to the above definition:
0148 ```
0149 PrintField +++ =========================================================
0150 PrintField +++ Electro-magnetic field strength at selected points from ../../DD4hep/examples/ClientTests/compact/ConstantField_points.xml
0151 PrintField +++ =========================================================
0152 PrintField +++ Position: 0.00 0.00 -100.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0153 PrintField +++ Position: 0.00 0.00 -90.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0154 PrintField +++ Position: 0.00 0.00 -80.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0155 PrintField +++ Position: 0.00 0.00 -70.00 [cm] electric field: 1.00e+03 1.00e+03 5.00e+03 [V/m] magnetic field: 0.00e+00 0.00e+00 2.00e+00 [tesla]
0156 PrintField +++ Position: 0.00 0.00 -60.00 [cm] electric field: 1.00e+03 1.00e+03 5.00e+03 [V/m] magnetic field: 0.00e+00 0.00e+00 2.00e+00 [tesla]
0157 PrintField +++ Position: 0.00 0.00 -50.00 [cm] electric field: 1.00e+03 1.00e+03 5.00e+03 [V/m] magnetic field: 0.00e+00 0.00e+00 2.00e+00 [tesla]
0158 PrintField +++ Position: 0.00 0.00 -40.00 [cm] electric field: 1.00e+03 1.00e+03 5.00e+03 [V/m] magnetic field: 0.00e+00 0.00e+00 2.00e+00 [tesla]
0159 PrintField +++ Position: 0.00 0.00 -30.00 [cm] electric field: 1.00e+03 1.00e+03 5.00e+03 [V/m] magnetic field: 0.00e+00 0.00e+00 2.00e+00 [tesla]
0160 PrintField +++ Position: 0.00 0.00 -20.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0161 PrintField +++ Position: 0.00 0.00 -10.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0162 PrintField +++ Position: 0.00 0.00 0.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0163 PrintField +++ Position: 0.00 0.00 10.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0164 PrintField +++ Position: 0.00 0.00 20.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0165 PrintField +++ Position: 0.00 0.00 30.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0166 PrintField +++ Position: 0.00 0.00 40.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0167 PrintField +++ Position: 0.00 0.00 50.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0168 PrintField +++ Position: 0.00 0.00 60.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0169 PrintField +++ Position: 0.00 0.00 70.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0170 PrintField +++ Position: 0.00 0.00 80.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0171 PrintField +++ Position: 0.00 0.00 90.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0172 PrintField +++ Position: 0.00 0.00 100.00 [cm] electric field: 1.00e+03 1.00e+03 0.00e+00 [V/m] magnetic field: 0.00e+00 0.00e+00 5.00e-01 [tesla]
0173 ```
0174 - The above printout is generated by the accompanying test `t_ClientTests_constant_overlayed_field`.
0175 - Creation of utility to print any electric and magnetic field at various space points.
0176 See factory `DD4hep_PrintField` in `examples/ClientTests/src/PrintField.cpp` for details.
0177
0178 * 2026-03-09 Wouter Deconinck ([PR#1584](https://github.com/aidasoft/dd4hep/pull/1584))
0179 - feat: use axis-aligned bounding box to pre-filter MultipoleField calls
0180
0181 * 2026-03-06 Juan Miguel Carceller ([PR#1589](https://github.com/aidasoft/dd4hep/pull/1589))
0182 - Clean up checks since the minimum C++ standard is 17 (https://github.com/AIDASoft/DD4hep/pull/1557), use `std::any` when possible, use `[[fallthrough]]` where `ATTR_FALLTHROUGH` was defined
0183
0184 * 2026-03-05 Thomas Madlener ([PR#1583](https://github.com/aidasoft/dd4hep/pull/1583))
0185 - Rename `defaultKeepParticle` to `defaultDropParticle` and `keepParticle` to `dropParticle` to match their names to what they are actually doing in their implementation.
0186
0187 * 2026-02-26 sss ([PR#1579](https://github.com/aidasoft/dd4hep/pull/1579))
0188 - Fix unused variable warnings seen with gcc16.
0189
0190 * 2026-02-26 sss ([PR#1578](https://github.com/aidasoft/dd4hep/pull/1578))
0191 - dd4hep::xml::setDetectorTypeFlag: Do not use exceptions to test for the presence of an attribute
0192
0193 * 2026-02-26 Wouter Deconinck ([PR#1577](https://github.com/aidasoft/dd4hep/pull/1577))
0194 - fix: consistently use dimensionless G4FieldManager epsilon min/max (`eps_min`, `eps_max`) in configuration files and examples
0195
0196 * 2026-02-25 Markus Frank ([PR#1576](https://github.com/aidasoft/dd4hep/pull/1576))
0197 - Remove some typos, improve printout in DDAlign.
0198
0199 * 2026-02-23 Andre Sailer ([PR#1574](https://github.com/aidasoft/dd4hep/pull/1574))
0200 - Geant4ParticleHandler: fix logic to keep secondary particles. All non-primary particles were removed from the event record unless keepAllParticles was set.
0201
0202 * 2026-02-23 Andre Sailer ([PR#1572](https://github.com/aidasoft/dd4hep/pull/1572))
0203 - Replace location of compact.xsd since the old location is no longer accessible: https://dd4hep.web.cern.ch/org/lcsim/schemas/compact/1.0/compact.xsd
0204
0205 * 2026-02-21 ruse-traveler ([PR#1573](https://github.com/aidasoft/dd4hep/pull/1573))
0206 - Add `BACKWARD`, `FAR` enums to `dd4hep::DetType` (see #1544)
0207
0208 * 2026-02-16 Juan Miguel Carceller ([PR#1571](https://github.com/aidasoft/dd4hep/pull/1571))
0209 - Use Clang 19 instead of 16 in CI, since these builds are going to be removed
0210
0211 * 2026-02-16 Juan Miguel Carceller ([PR#1566](https://github.com/aidasoft/dd4hep/pull/1566))
0212 - Use the generic `podio::Reader` and `podio::Writer` when podio is new enough to read and write EDM4hep files
0213 - Add a new parameter for ddsim: `--OutputConfig.useRNTuple` to overwrite the default behaviour of the Writer
0214
0215 * 2026-02-10 Markus Frank ([PR#1567](https://github.com/aidasoft/dd4hep/pull/1567))
0216 - Global reformatting: Replace TAB by spaces
0217 - Script to remove tabs in source files(.cpp) and headers (.h) [remove_tabs.sh](https://github.com/MarkusFrankATcernch/DD4hep/blob/master/etc/remove_tabs.sh)
0218 - Add utility script: [run_test_in_loop.sh](https://github.com/MarkusFrankATcernch/DD4hep/blob/master/etc/run_test_in_loop.sh). Run tests in a loop for stability debugging tests (Expert only)
0219
0220 * 2026-02-03 Markus Frank ([PR#1564](https://github.com/aidasoft/dd4hep/pull/1564))
0221 - Implement optional printout of hit VolumeIDs from Geant4Sensitive.
0222 - Add example to use the feature: t_CLICSiD_sim_DDG4_print_volids_LONGTEST
0223
0224 Helper for debugging Cell IDs of hits (See issue https://github.com/AIDASoft/DD4hep/issues/1535 for details where such a feature could help).
0225 To enable printouts use:
0226 ```
0227 DDG4.Geant4.setupDetector(self, name, action, debug_volid=True)
0228 ```
0229 or
0230 ```
0231 DDG4.Geant4.setupTracker(..., debug_volid=True)
0232 DDG4.Geant4.setupCalorimeter(..., debug_volid=True)
0233 ```
0234 Produced output fragment:
0235 ```
0236 ParticlePrint INFO +++ 0 +----------------------> ID: 0 geantino -1/0 YES NO 0 YES +1.000e+03 YES YES NO 0 [Primary] .SD.
0237 ParticlePrint INFO +++ MC Particles #Tracks: 1 ParticleType Parent/Geant4 Primary Secondary Energy in [MeV] Calo Tracker Process/Par Details
0238 ParticlePrint INFO +++ MC Particle Track ID: 0 geantino -1/0 YES NO 0 YES +1.000e+03 YES YES NO 0 [Primary] .SD.
0239 ParticlePrint INFO +++ MC Particles #Tracks: 1 ParticleType Parent/Geant4 Primary Secondary Energy Calo Tracker Process/Par
0240 ParticlePrint INFO +++ MC Particle Summary: 1 0 1 1 1 0 0
0241 ParticleHandler INFO +++ Event 2 Begin event action. Access event related information.
0242 SiVertexBarrelHandler Volume ID: 0000000020090801 -> system:0001 barrel:0000 layer:0001 module:0012 sensor:0001 side:0000 strip:0000
0243 SiVertexBarrelHandler Volume ID: 0000000020091001 -> system:0001 barrel:0000 layer:0002 module:0012 sensor:0001 side:0000 strip:0000
0244 SiVertexBarrelHandler Volume ID: 0000000020009801 -> system:0001 barrel:0000 layer:0003 module:0001 sensor:0001 side:0000 strip:0000
0245 SiVertexBarrelHandler Volume ID: 00000000200F2001 -> system:0001 barrel:0000 layer:0004 module:001e sensor:0001 side:0000 strip:0000
0246 SiVertexBarrelHandler Volume ID: 000000002000A801 -> system:0001 barrel:0000 layer:0005 module:0001 sensor:0001 side:0000 strip:0000
0247 SiTrackerBarrelHandler Volume ID: 0000000020038803 -> system:0003 barrel:0000 layer:0001 module:0007 sensor:0001 side:0000 strip:0000
0248 SiTrackerBarrelHandler Volume ID: 00000000213F1003 -> system:0003 barrel:0000 layer:0002 module:027e sensor:0001 side:0000 strip:0000
0249 SiTrackerBarrelHandler Volume ID: 0000000020049003 -> system:0003 barrel:0000 layer:0002 module:0009 sensor:0001 side:0000 strip:0000
0250 SiTrackerBarrelHandler Volume ID: 0000000022959803 -> system:0003 barrel:0000 layer:0003 module:052b sensor:0001 side:0000 strip:0000
0251 SiTrackerBarrelHandler Volume ID: 0000000020061803 -> system:0003 barrel:0000 layer:0003 module:000c sensor:0001 side:0000 strip:0000
0252 SiTrackerBarrelHandler Volume ID: 0000000024812003 -> system:0003 barrel:0000 layer:0004 module:0902 sensor:0001 side:0000 strip:0000
0253 SiTrackerBarrelHandler Volume ID: 000000002007A003 -> system:0003 barrel:0000 layer:0004 module:000f sensor:0001 side:0000 strip:0000
0254 SiTrackerBarrelHandler Volume ID: 0000000020092803 -> system:0003 barrel:0000 layer:0005 module:0012 sensor:0001 side:0000 strip:0000
0255 EcalBarrelHandler Volume ID: 000000000020D806 -> system:0006 barrel:0000 module:000b layer:0001 slice:0001 x:0000 y:0000
0256 EcalBarrelHandler Volume ID: 0000000000615806 -> system:0006 barrel:0000 module:000b layer:0002 slice:0003 x:0000 y:0000
0257 EcalBarrelHandler Volume ID: 000000000061D806 -> system:0006 barrel:0000 module:000b layer:0003 slice:0003 x:0000 y:0000
0258 EcalBarrelHandler Volume ID: 0000000000625806 -> system:0006 barrel:0000 module:000b layer:0004 slice:0003 x:0000 y:0000
0259 EcalBarrelHandler Volume ID: 000000000062D806 -> system:0006 barrel:0000 module:000b layer:0005 slice:0003 x:0000 y:0000
0260 EcalBarrelHandler Volume ID: 0000000000635806 -> system:0006 barrel:0000 module:000b layer:0006 slice:0003 x:0000 y:0000
0261 EcalBarrelHandler Volume ID: 000000000063D806 -> system:0006 barrel:0000 module:000b layer:0007 slice:0003 x:0000 y:0000
0262 EcalBarrelHandler Volume ID: 0000000000645806 -> system:0006 barrel:0000 module:000b layer:0008 slice:0003 x:0000 y:0000
0263 EcalBarrelHandler Volume ID: 000000000064D806 -> system:0006 barrel:0000 module:000b layer:0009 slice:0003 x:0000 y:0000
0264 ```
0265
0266 # v01-35
0267
0268 * 2026-01-27 Andre Sailer ([PR#1562](https://github.com/aidasoft/dd4hep/pull/1562))
0269 - Geant4TrackerWeighted: use pre momentum for pre step and post momentum for post step configuration
0270
0271 * 2026-01-27 Andre Sailer ([PR#1548](https://github.com/aidasoft/dd4hep/pull/1548))
0272 - Geant4InputHandling: Add Phys.DecayByGeant option to DDSim to let one configure for which particles the decay time should be randomly chosen by Geant4 according to the configured life-time instead of using the pre-assigned decay time. Fixes #1543.
0273
0274 * 2026-01-22 Markus Frank ([PR#1560](https://github.com/aidasoft/dd4hep/pull/1560))
0275 Update to the original PR https://github.com/AIDASoft/DD4hep/pull/1555
0276
0277 Do not pass a reference to the sensitive action sequence when marking a track. A track may be marked outside the callbacks of a sensitive actions and hence, the sensitive action sequence may not be valid if the volume the track is in
0278 is not not sensitive.
0279
0280 This should now also allow to mark a `G4Track/dd4hep::sim::Particle` from
0281 - Tracking actions,
0282 - Stepping actions,
0283 - Sensitive actions.
0284
0285 See here: https://github.com/AIDASoft/DD4hep/pull/1559 for a further discussion of the subject.
0286
0287 * 2026-01-21 Markus Frank ([PR#1558](https://github.com/aidasoft/dd4hep/pull/1558))
0288 Sometimes it is very useful to directly manipulate Geant4 class instances from python within DDG4.
0289 Such a feature helps e.g. when enhancing physics lists etc.
0290
0291 This PR allows to take advantage of this feature:
0292 ```
0293 $ > python
0294 Python 3.12.3 (main, Jan 8 2026, 11:30:50) [GCC 13.3.0] on linux
0295 Type "help", "copyright", "credits" or "license" for more information.
0296 >>> import DDG4
0297 >>> physics_constructor = DDG4.geant4.G4StoppingPhysics()
0298 +++ Successfully imported Geant4 class G4StoppingPhysics from header G4StoppingPhysics.hh
0299 >>> dir(physics_constructor)
0300 ['ConstructParticle', 'ConstructProcess', 'GetInstanceID', 'GetPhysicsName', 'GetPhysicsType', 'GetSubInstanceManager', 'GetVerboseLevel', 'SetMuonMinusCapture', 'SetPhysicsName', 'SetPhysicsType', 'SetVerboseLevel', 'TerminateWorker', '__add__', '__assign__', '__bool__', '__class__', '__delattr__', '__destruct__', '__dict__', '__dir__', '__dispatch__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__invert__', '__le__', '__lt__', '__module__', '__mul__', '__ne__', '__neg__', '__new__', '__pos__', '__python_owns__', '__radd__', '__reduce__', '__reduce_ex__', '__repr__', '__reshape__', '__rmul__', '__rsub__', '__rtruediv__', '__setattr__', '__sizeof__', '__smartptr__', '__str__', '__sub__', '__subclasshook__', '__truediv__', '__weakref__']
0301 >>>
0302 ```
0303
0304 * 2026-01-21 Andre Sailer ([PR#1557](https://github.com/aidasoft/dd4hep/pull/1557))
0305 - CMake: change minimal required c++ standard to 17. Implicitly this was already required by some of the c++ code.
0306
0307 * 2026-01-20 Markus Frank ([PR#1556](https://github.com/aidasoft/dd4hep/pull/1556))
0308 Implement the deployment of specialized physics constructors in DDG4.
0309 This feature was so far not supported by DDG4. The additional requirement is that specialized physics constructors (aka physics constructors, which can be configured by calling setters) have a ROOT dictionary, which exposes the functionality to python.
0310
0311 The basic calls to use such physics constructors are these:
0312 ```
0313 import DDG4
0314 ...
0315 kernel = DDG4.Kernel()
0316 ....
0317 phys = kernel.physicsList()
0318 phys.enableUI()
0319 # Add customizable Geant4PhysicsList to Geant4PhysicsListActionSequence
0320 # with G4VModularPhysicsList FTP_BERT
0321 phys_list = DDG4.PhysicsList(kernel, 'MyPhysics')
0322 phys_list.enableUI()
0323 phys.adopt(phys_list)
0324 #
0325 # Add G4StepLimiterPhysics constructor to the Geant4PhysicsList.
0326 # Will be registered to the G4VModularPhysicsList later
0327 limiter_physics = phys_list.addPhysicsConstructorType('G4StepLimiterPhysics')
0328 limiter_physics.SetApplyToAll(True)
0329 ```
0330
0331 - An example using G4StepLimiterPhysics can be found here: examples/ClientTests/scripts/MiniTel_steplimiter.py.
0332 - See DDG4/CmakeLists.txt how to create a dictionary for specialized physics constructors.
0333 - PR fixes issue: https://github.com/AIDASoft/DD4hep/issues/1515
0334
0335 Special feature:
0336 It is not mandatory to load compiled dictionaries of Geant4 classes as said above for the `G4StepLimiterPhysics` constructor. If on-the-fly linking after importing `DDG4` is possible, any class from `Geant4` can be imported and directly used in the python setup scripts of `dd4hep`:
0337 ```
0338 $ > python
0339 Python 3.12.3 (main, Jan 8 2026, 11:30:50) [GCC 13.3.0] on linux
0340 Type "help", "copyright", "credits" or "license" for more information.
0341 >>> import DDG4
0342 >>> from ROOT import gInterpreter
0343 >>> gInterpreter.ProcessLine('#include <G4StoppingPhysics.hh>')
0344 0
0345 >>> from ROOT import G4StoppingPhysics
0346 >>> phys=G4StoppingPhysics()
0347 >>> dir(phys)
0348 ['ConstructParticle', 'ConstructProcess', 'GetInstanceID', 'GetPhysicsName', 'GetPhysicsType', 'GetSubInstanceManager', 'GetVerboseLevel', 'SetMuonMinusCapture', 'SetPhysicsName', 'SetPhysicsType', 'SetVerboseLevel', 'TerminateWorker', '__add__', '__assign__', '__bool__', '__class__', '__delattr__', '__destruct__', '__dict__', '__dir__', '__dispatch__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__invert__', '__le__', '__lt__', '__module__', '__mul__', '__ne__', '__neg__', '__new__', '__pos__', '__python_owns__', '__radd__', '__reduce__', '__reduce_ex__', '__repr__', '__reshape__', '__rmul__', '__rsub__', '__rtruediv__', '__setattr__', '__sizeof__', '__smartptr__', '__str__', '__sub__', '__subclasshook__', '__truediv__', '__weakref__']
0349 >>> phys.SetVerboseLevel(1)
0350 >>> phys.GetVerboseLevel()
0351 1
0352 >>> phys.SetVerboseLevel(2)
0353 >>> phys.GetVerboseLevel()
0354 2
0355 >>>
0356 ```
0357 or
0358 ```
0359 >>> gInterpreter.ProcessLine('#include <G4SteppingManager.hh>')
0360 0
0361 >>> from ROOT import G4SteppingManager
0362 >>> mgr= G4SteppingManager()
0363 >>> dir(mgr)
0364 ['GetCorrectedStep', 'GetFirstStep', 'GetGeometricalStep', 'GetMAXofAlongStepLoops', 'GetMAXofAtRestLoops', 'GetMAXofPostStepLoops', 'GetMass', 'GetPhysicalStep', 'GetPreStepPointIsGeom', 'GetProcessNumber', 'GetSecondary', 'GetStep', 'GetStepControlFlag', 'GetTempInitVelocity', 'GetTempVelocity', 'GetTouchableHandle', 'GetTrack', 'GetUserAction', 'GetcurrentMinimumStep', 'GetfAlongStepDoItProcTriggered', 'GetfAlongStepDoItVector', 'GetfAlongStepGetPhysIntVector', 'GetfAtRestDoItProcTriggered', 'GetfAtRestDoItVector', 'GetfAtRestGetPhysIntVector', 'GetfCondition', 'GetfCurrentProcess', 'GetfCurrentVolume', 'GetfGPILSelection', 'GetfN2ndariesAlongStepDoIt', 'GetfN2ndariesAtRestDoIt', 'GetfN2ndariesPostStepDoIt', 'GetfNavigator', 'GetfParticleChange', 'GetfPostStepDoItProcTriggered', 'GetfPostStepDoItVector', 'GetfPostStepGetPhysIntVector', 'GetfPostStepPoint', 'GetfPreStepPoint', 'GetfPreviousStepSize', 'GetfSecondary', 'GetfSelectedAlongStepDoItVector', 'GetfSelectedAtRestDoItVector', 'GetfSelectedPostStepDoItVector', 'GetfSensitive', 'GetfStep', 'GetfStepStatus', 'GetfTrack', 'GetnumberOfInteractionLengthLeft', 'GetphysIntLength', 'GetsumEnergyChange', 'GetverboseLevel', 'SetInitialStep', 'SetNavigator', 'SetUserAction', 'SetVerbose', 'SetVerboseLevel', 'Stepping', '__add__', '__assign__', '__bool__', '__class__', '__delattr__', '__destruct__', '__dict__', '__dir__', '__dispatch__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__invert__', '__le__', '__lt__', '__module__', '__mul__', '__ne__', '__neg__', '__new__', '__pos__', '__python_owns__', '__radd__', '__reduce__', '__reduce_ex__', '__repr__', '__reshape__', '__rmul__', '__rsub__', '__rtruediv__', '__setattr__', '__sizeof__', '__smartptr__', '__str__', '__sub__', '__subclasshook__', '__truediv__', '__weakref__']
0365 ```
0366
0367 * 2026-01-19 Markus Frank ([PR#1555](https://github.com/aidasoft/dd4hep/pull/1555))
0368 The Geant4ParticleHandler to propagate Monte-Carlo information to the DDG4 output record has the deficiency that
0369 it is difficult for users to enhance the functionality. Effectively there is only one single user action possible and typically
0370 set to the `Geant4TCUserParticleHandler`.
0371 In this PR we allow to extend the functionality to a sequence of user actions. This functioanlity should enable the handling
0372 of a usage which was pointed out in PR https://github.com/AIDASoft/DD4hep/pull/1503.
0373
0374 In the AlephTPC example we show an example how to enhance the `Geant4UserParticleHandler` functionality.
0375 Execute:
0376 ```
0377 $> python ../../DD4hep/examples/AlignDet/scripts/AlephTPC.py -mask
0378 ```
0379 to execute an example. See the python script `DD4hep/examples/AlignDet/scripts/AlephTPC.py` for the setup of such enhancements.
0380
0381 * 2026-01-19 Markus Frank ([PR#1551](https://github.com/aidasoft/dd4hep/pull/1551))
0382 1) The simulation of misaligned geometries requires the geometry translation to Geant4 after global misalignments were
0383 applied using DDAlign. To use DD4hep e.g. in the processing of simulated energy deposits in the sensitive detectors of DDG4,
0384 it is necessary to propagate the re-aligned placed volumes (aka TGeoNodes) stored as placements of the DetElement structures.
0385 These updates were not performed completely: All detector elements in the volume path to be re-aligned must be updated.
0386 This fix is intended to fully update the DetElement pathes. The existing approach only updated DetElements of
0387 higher granularity.
0388 The problem did only manifest itself if the subdetector DetElement was attached to a DetElement leaf not directly connected
0389 to /world. Hence for all so far known detector constructs the problem did not manifest itself.
0390
0391 2) The AlephTPC alignment detector was modified so that the TPC is part of a `CentralRegion` element to model the
0392 above described behavior and a corresponding example named `AlignDet_sim_AlephTPC_global_alignment` was
0393 created to illustrate the required behavior.
0394
0395 3) Lower printout level when overwriting header structures while parsing compact files to INFO. Complaints came because FCC software often overwrites headers and the many warning messages were inconvenient.
0396
0397 * 2026-01-16 Thomas Madlener ([PR#1552](https://github.com/aidasoft/dd4hep/pull/1552))
0398 - Ensure DD4hep still configures with EDM4hep 1.0
0399 - Make sure to communicate the EDM4hep dependency also to DD4hep dependencies if `DD4HEP_USE_EDM4HEP` is true
0400
0401 * 2026-01-08 Seth R Johnson ([PR#1550](https://github.com/aidasoft/dd4hep/pull/1550))
0402 - CMake: `dd4hep_add_plugin`: Preserve `(LD|DYLD|ROOT)_LIBRARY_PATH` with `DD4HEP`-prefixed CMake variables to prevent environment changes from breaking builds when reconfiguring.
0403
0404 * 2026-01-07 Seth R Johnson ([PR#1545](https://github.com/aidasoft/dd4hep/pull/1545))
0405 - CMake: `add_dd4hep_plugin`: Preserve the `ROOT_LIBRARY_PATH` environment variable from the configuration stage to the build stage. This helps in cases where the configuration environment is not preserved.
0406
0407 * 2026-01-05 Wouter Deconinck ([PR#1547](https://github.com/aidasoft/dd4hep/pull/1547))
0408 - cmake: install python files into free-threaded python3.??t/site-packages prefix
0409
0410 * 2025-12-17 Markus Frank ([PR#1542](https://github.com/aidasoft/dd4hep/pull/1542))
0411 Sometimes it is necessary to execute a plugin when setting up DDG4. These changes allow to call such plugins from the python steering file:
0412 ```
0413 def run():
0414 args = DDG4.CommandLine()
0415 kernel = DDG4.Kernel()
0416 install_dir = os.environ['DD4hepExamplesINSTALL']
0417 kernel.loadGeometry(str("file:" + install_dir + "/examples/AlignDet/compact/AlephTPC.xml"))
0418 if args.align:
0419 kernel.runPlugin('DD4hep_GlobalAlignmentInstall', [])
0420 kernel.loadXML(str("file:" + install_dir + "/examples/AlignDet/compact/AlephTPC_alignment.xml"))
0421 ```
0422 or from the command prompt:
0423 ```
0424 Idle> ls /ddg4/UI
0425 ....
0426 run_plugin * Execute DD4hep plugin of the form <plugin-name>("arg1", "arg2", "arg3",....)
0427 ```
0428 to call:
0429 ```
0430 Idle> /ddg4/UI/run_plugin DD4hep_GlobalAlignmentInstall()
0431 UI Calling dd4hep plugin DD4hep_GlobalAlignmentInstall with arguments: ()
0432 ```
0433
0434 * 2025-12-15 Markus Frank ([PR#1541](https://github.com/aidasoft/dd4hep/pull/1541))
0435 Implement the necessary changes to use regular expressions to assign the sensitivity of volumes of a subdetector within ddsim.
0436
0437 Please take note, that the typical sensitive detector constructs provided by dd4hep are only limited suited for this approach, because they require the presence of the volume manager to determine the hit's cellID. This by construction cannot be provided by this approach, because the instantiation of the volume manager and it's Geant4 counter-part require too much
0438 resources. The basic approach simply uses the subdetector ID as a cellID and stores the global coordinates from the Geant4Step. This behaviour may be implemented and overridden by specific user defined implementations.
0439
0440 This implementation only allows to cast out the usage of the volume manager to not cause problems while processing Geant4 energy deposits.
0441
0442 * 2025-12-15 simonge ([PR#1540](https://github.com/aidasoft/dd4hep/pull/1540))
0443 - HepMC3Reader: Following #1495 the run metadata from the HepMC3 input files was not being read from root tree files. This fixes the loading of the metadata while not requiring the root file be reset and reopened.
0444
0445 # v01-34
0446
0447 * 2025-12-09 Thomas Madlener ([PR#1536](https://github.com/aidasoft/DD4hep/pull/1536))
0448 - Remove an unnecessary check in reading EDM4hep files
0449
0450 * 2025-12-09 Juan Miguel Carceller ([PR#1532](https://github.com/aidasoft/DD4hep/pull/1532))
0451 - Delay creating surfaces with the SurfaceManager plugin until they are actually needed by getting the map of surfaces with `SurfaceManager::map()`
0452
0453 * 2025-12-05 Ben Couturier ([PR#1534](https://github.com/aidasoft/DD4hep/pull/1534))
0454 - Fix to handle case where volume is created by its own constructor
0455
0456 * 2025-12-04 Markus Frank ([PR#1533](https://github.com/aidasoft/DD4hep/pull/1533))
0457 - Fix assembly handling in VolumeBuilder according to LHCb XML syntax: Logic is as follows:
0458 if `<volume/>` has a child (or attribute) of type `<shape/>` or `<solid/>` it is a true volume with a shape.
0459 if `<volume/>` has a child (or attribute) of type `<assembly/>` it is assumed to be an assembly.
0460 If both conditions match, the description is assumed to be inconsistent, the assembly branch wins and
0461 an error message is issued. See also PR https://github.com/AIDASoft/DD4hep/pull/1525
0462
0463 * 2025-12-04 Juan Miguel Carceller ([PR#1531](https://github.com/aidasoft/DD4hep/pull/1531))
0464 - DDEcalEndcapAlgo: Remove unused variable to prevent a compiler warning
0465
0466 * 2025-12-04 Juan Miguel Carceller ([PR#1530](https://github.com/aidasoft/DD4hep/pull/1530))
0467 - EDM4hep reader: Prepare for podio frame.get to throw an exception if a collection is not found
0468
0469 * 2025-11-26 Markus Frank ([PR#1528](https://github.com/aidasoft/DD4hep/pull/1528))
0470 Badly designed, not well balanced geometries require lots of resources during the voxelization step when
0471 closing the geometry. This can now be steered using an option tag in the steering element of the compact xml.
0472
0473 Example:
0474 ```
0475 <geometry close="true" option="nv"/>
0476 or
0477 <geometry option="closenv"/>
0478
0479 or (close=true is the default)
0480 <geometry option="nv"/>
0481 ```
0482 The options `nv` and `i` are directly routed to the call to `TGeoManager::CloseGeometry(option)`.
0483
0484 * 2025-11-19 Juan Miguel Carceller ([PR#1526](https://github.com/aidasoft/DD4hep/pull/1526))
0485 - ddsim: Add a `--gdb` argument to run ddsim inside gdb (debugger)
0486
0487 * 2025-11-14 Juan Miguel Carceller ([PR#1522](https://github.com/aidasoft/DD4hep/pull/1522))
0488 - Remove from .gitignore folders in the repository, in DDCore and DDG4
0489
0490 * 2025-11-14 Juan Miguel Carceller ([PR#1521](https://github.com/aidasoft/DD4hep/pull/1521))
0491 - Remove `from __future__ import` since we are using Python 3
0492
0493 * 2025-11-14 Stefano Fanchellucci ([PR#1519](https://github.com/aidasoft/DD4hep/pull/1519))
0494 - ddsim: UI commands passed as CLI arguments are now split by `;`, so that Geant4 commands requiring multiple arguments can be used in the CLI.
0495
0496 * 2025-11-14 Juan Miguel Carceller ([PR#1518](https://github.com/aidasoft/DD4hep/pull/1518))
0497 - Fix configure warnings about [CMP0167](https://cmake.org/cmake/help/latest/policy/CMP0167.html) and [CMP0177](https://cmake.org/cmake/help/latest/policy/CMP0177.html). CMP0167 makes `find_package(Boost)` to use the Config.cmake file provided by Boost instead of the `FindBoost.cmake` provided by CMake. CMP0177 complains about using relative paths in install. With this change, the cmake files do not go anymore to the `cmake` folder in the source directory but are installed directly from the build tree to the install tree.
0498
0499 * 2025-11-14 Juan Miguel Carceller ([PR#1498](https://github.com/aidasoft/DD4hep/pull/1498))
0500 - Modernize code related to Surfaces and the SurfaceManager. Simplify for loops, define default destructors with `=default`, pass arguments by const reference when possible
0501 - Make `DetectorSurfaces` not inherit from `DetElement` since it is not used nor needed
0502
0503 * 2025-11-13 Markus Frank ([PR#1525](https://github.com/aidasoft/DD4hep/pull/1525))
0504 - In #1478 VolumeBuilder.cpp a boolean variable was wrongly initialized. This deficiency is corrected with this merge request. Fixes #1524
0505
0506 # v01-33
0507
0508 * 2025-10-28 Juan Miguel Carceller ([PR#1517](https://github.com/aidasoft/DD4hep/pull/1517))
0509 - Add a new EDM4hep file after the changes to generator-related information in https://github.com/key4hep/EDM4hep/pull/446. The existing file is not readable. Change missing from https://github.com/AIDASoft/DD4hep/pull/1499.
0510
0511 * 2025-10-28 Juan Miguel Carceller ([PR#1516](https://github.com/aidasoft/DD4hep/pull/1516))
0512 - Fix a deprecation warning in EDM4hepFileReader.cpp by changing `collection.isValid()` to `collection.hasID()`.
0513
0514 * 2025-10-15 Juan Miguel Carceller ([PR#1507](https://github.com/aidasoft/DD4hep/pull/1507))
0515 - (1) Do not install twice (if `CMAKE_INSTALL_LIBDIR` is different from `lib`) some examples
0516 - (2) Do not install twice (if `CMAKE_INSTALL_LIBDIR` is different from `lib`) some plugins
0517 - (3) Use `CMAKE_INSTALL_LIBDIR` instead of hardcoding `lib`. However, if `CMAKE_INSTALL_LIBDIR` is unset, set it to `lib` to prevent it to be set when enabling `DDG4`.
0518
0519 * 2025-10-13 Juan Miguel Carceller ([PR#1512](https://github.com/aidasoft/DD4hep/pull/1512))
0520 - GeoWebDisplay: Add option "-maxnodes" for increasing the number of drawn nodes, Add a warning, if number of nodes is larger than the default number of displayed nodes, fixes #1505
0521
0522 * 2025-10-10 Andre Sailer ([PR#1510](https://github.com/aidasoft/DD4hep/pull/1510))
0523 - Geant4VolumeManager: in function volumeID: change INFO to DEBUG for message about Bad Path that also is insensitive, fixes #1506
0524
0525 * 2025-10-08 Thomas Madlener ([PR#1499](https://github.com/aidasoft/DD4hep/pull/1499))
0526 - EDM4hep Input / Output: Add the passing through of generator event information for EDM4hep, fixes #1373
0527
0528 * 2025-10-07 Juan Miguel Carceller ([PR#1508](https://github.com/aidasoft/DD4hep/pull/1508))
0529 - Fix two compiler warnings about an unqualified move and an unused var
0530
0531 * 2025-10-02 Juan Miguel Carceller ([PR#1500](https://github.com/aidasoft/DD4hep/pull/1500))
0532 - Add a [[maybe_unused]] to prevent a warning in ConditionExampleObjects.cpp
0533
0534 * 2025-10-02 Juan Miguel Carceller ([PR#1497](https://github.com/aidasoft/DD4hep/pull/1497))
0535 - Increase tolerance of a test to avoid failures
0536
0537 * 2025-09-07 Wouter Deconinck ([PR#1495](https://github.com/aidasoft/DD4hep/pull/1495))
0538 - HEPMC3FileReader : Remove double type deduce/open to avoid spurious errors with ROOT 6.36
0539
0540 * 2025-09-06 Wouter Deconinck ([PR#1496](https://github.com/aidasoft/DD4hep/pull/1496))
0541 - Remove logging of constants in checkOverlaps
0542
0543 * 2025-09-02 Andre Sailer ([PR#1494](https://github.com/aidasoft/DD4hep/pull/1494))
0544 - CI: mac: drop cmake, already installed
0545
0546 * 2025-09-02 Markus Frank ([PR#1493](https://github.com/aidasoft/DD4hep/pull/1493))
0547 if tessellated shapes are encountered ROOT material scans are unreliable, because tessellated shapes do not
0548 participate in tracking. For the graphical scan a warning message is issued to warn the user that the scan
0549 results are not reliable.
0550 This was mentioned in Issue https://github.com/AIDASoft/DD4hep/issues/1490 but there nothing
0551 we can do about in dd4hep, because this is a deficiency, which must be resolved in the ROOT geometry package.
0552
0553 * 2025-09-02 Juan Miguel Carceller ([PR#1491](https://github.com/aidasoft/DD4hep/pull/1491))
0554 - Examples: Remove the inclusion of `./include` for ClientTests since this folder doesn't exist
0555
0556 * 2025-08-15 Thomas Madlener ([PR#1488](https://github.com/aidasoft/DD4hep/pull/1488))
0557 - EDM4hep input and output: Use `edm4hep::MCParticle::helicity` once it is available instead of the potentially dangerous `spin`. See [key4hep/EDM4hep#404](https://github.com/key4hep/EDM4hep/pull/404) for the corresponding upstream changes
0558
0559 * 2025-08-12 Brieuc Francois ([PR#1486](https://github.com/aidasoft/DD4hep/pull/1486))
0560 - DDSim: State in the helper message that the physicsList argument is deprecated
0561
0562 * 2025-08-12 Juan Miguel Carceller ([PR#1485](https://github.com/aidasoft/DD4hep/pull/1485))
0563 - Testing: t_RICH_sim_number_of_hits: Increase the deviation of the number of hits to avoid test failures in the test.
0564
0565 * 2025-08-12 jmcarcell ([PR#1484](https://github.com/aidasoft/DD4hep/pull/1484))
0566 - DetectorImp.cpp: Clean up and modernize: Remove the unused struct TypePreserve, avoid calling find and then emplace in maps and call only emplace instead, use nullptr instead of 0, do not check pointers before deleting since deleting nullptr is a no-op, and simplify when possible.
0567
0568 * 2025-08-12 jmcarcell ([PR#1483](https://github.com/aidasoft/DD4hep/pull/1483))
0569 - Remove unused function in Geant4VolumeManager.cpp
0570 - Fix the C++ includes (including what is used in each file)
0571
0572 * 2025-08-04 Andre Sailer ([PR#1482](https://github.com/aidasoft/DD4hep/pull/1482))
0573 - Tests: make some tests that need pytest only run when pytest is available
0574 - Geant4Output2EDM4hep: fix type categorisation for EventParameters, previously all parameters ended up in the string parameter section.
0575
0576 * 2025-08-04 Sakib Rahman ([PR#1460](https://github.com/aidasoft/DD4hep/pull/1460))
0577 - Geant4Output2EDM4Hep: Add --meta.runParameters option to add run level metadata to edm4hep output files
0578
0579 * 2025-07-29 jmcarcell ([PR#1480](https://github.com/aidasoft/DD4hep/pull/1480))
0580 - Geant4Output2EDM4hep: Use . instead of -> for EDM4hep objects that are not pointers
0581
0582 * 2025-07-23 jmcarcell ([PR#1479](https://github.com/aidasoft/DD4hep/pull/1479))
0583 - Remove `from __future__ import` since we are using Python 3
0584
0585 * 2025-07-23 Andre Sailer ([PR#1476](https://github.com/aidasoft/DD4hep/pull/1476))
0586 - DDG4: Add possibility to call G4PrimaryTransformer::SetKETolerance to silence warnings about differences in dynamic particle masses from MC Generators. Fixes #1475
0587
0588 * 2025-07-21 Markus Frank ([PR#1478](https://github.com/aidasoft/DD4hep/pull/1478))
0589 - Compact parser:
0590 When a `<info>` tag is detected, do not always recreate a new header object, but rather update
0591 a possibly existing object. In addition also print a warning.
0592
0593 - When creating assemblies using the factory method a `TGeoAssemblyShape` was created and attached to the
0594 `TGeoAssemblyVolume`. This leaves on shape object orphaned and hence leads to a memory leak.
0595 Instead if a assembly volume is created, first create the volume and then register the implicitly created shape.
0596
0597 * 2025-07-21 jmcarcell ([PR#1477](https://github.com/aidasoft/DD4hep/pull/1477))
0598 - Remove a few empty files
0599
0600 * 2025-07-16 Andre Sailer ([PR#1474](https://github.com/aidasoft/DD4hep/pull/1474))
0601 - DDSim: longer docstring for Physics.PDGFile mentioning secondary vertices and pre-assigned decays.
0602
0603 * 2025-07-16 jmcarcell ([PR#1470](https://github.com/aidasoft/DD4hep/pull/1470))
0604 - Fix many typos in code comments
0605
0606 * 2025-07-15 Markus Frank ([PR#1471](https://github.com/aidasoft/DD4hep/pull/1471))
0607 Exit process with exit-code (128 + signal number) instead of NULL on non-recoverable signals.
0608 See https://github.com/AIDASoft/DD4hep/issues/1468 for details
0609
0610 * 2025-06-20 Thomas Madlener ([PR#1466](https://github.com/aidasoft/DD4hep/pull/1466))
0611 - Geant4Output2EDM4hep: Set the `stepLength` for the `CaloHitContribution`s in once it becomes possible (EDM4hep 0.99.3).
0612
0613 * 2025-06-19 jmcarcell ([PR#1465](https://github.com/aidasoft/DD4hep/pull/1465))
0614 - CI: Improve the Linux workflows:
0615 - Add scripts with the common build options to avoid repetitions
0616 - Display ccache stats to see if it's working
0617 - Use nproc instead of hardcoding the number of jobs
0618
0619 * 2025-06-18 jmcarcell ([PR#1464](https://github.com/aidasoft/DD4hep/pull/1464))
0620 - Add concurrency to the CI workflows, to stop previous runs if there are new commits
0621
0622 * 2025-06-16 Sebastien Ponce ([PR#1463](https://github.com/aidasoft/DD4hep/pull/1463))
0623 - Fixed destroyHandle usage for DetElement
0624 - Made sure once gets a compilation error in case destroyHandle is used when the underlying object type is not complete
0625
0626 * 2025-06-13 BrieucF ([PR#1462](https://github.com/aidasoft/DD4hep/pull/1462))
0627 - DDSim: Explicitly mention in the help message that the EDM4hep format is a supported input
0628
0629 * 2025-06-03 armin-ilg ([PR#1455](https://github.com/aidasoft/DD4hep/pull/1455))
0630 - Enable surfaces of TGeoTrd1 with normal vectors that are not pointing in y direction
0631
0632 * 2025-05-27 Dmitry Kalinkin ([PR#1456](https://github.com/aidasoft/DD4hep/pull/1456))
0633 - Wrap calls to grep in thisdd4hep.sh to make it source'able in scripts with `set -e`
0634
0635 # v01-32-01
0636
0637 * 2025-05-20 Andre Sailer ([PR#1453](https://github.com/aidasoft/dd4hep/pull/1453))
0638 - Checksum: fix assertions on vector length during checksum calculations in debug mode, fixes #1451
0639 - OpaqueData: fix return value for non-void function `template <typename T> inline T& OpaqueDataBlock::bind(T&& obj)`
0640
0641 * 2025-05-19 Andre Sailer ([PR#1450](https://github.com/aidasoft/dd4hep/pull/1450))
0642 - Objects: change printout for color creation from WARNING to INFO (fixup for #1449)
0643 - OpaqueData: fix compilation error with c++23 and gcc15.
0644
0645 * 2025-05-16 Dmitry Kalinkin ([PR#1449](https://github.com/aidasoft/dd4hep/pull/1449))
0646 - Fix a regression with certain colors not saved to .root files when using ROOT 6.32.0+.
0647
0648 # v01-32
0649
0650 * 2025-05-07 Andre Sailer ([PR#1447](https://github.com/aidasoft/dd4hep/pull/1447))
0651 - ddsim: add physics.alternativeStableStatus option to allow defining alternative stable status of MCParticles meant to be treated by Geant4, fixes #1446
0652
0653 * 2025-05-06 Wouter Deconinck ([PR#1445](https://github.com/aidasoft/dd4hep/pull/1445))
0654 - DDG4: Allow event readers to work with pre-existing (Event,Run)Parameters, written by other plugins.
0655
0656 * 2025-04-15 Thomas Madlener ([PR#1444](https://github.com/aidasoft/dd4hep/pull/1444))
0657 - CI: Switch to `run-lcg-view` action `v5` and inject `ccache` as compiler launcher via cmake to speed up CI builds.
0658
0659 * 2025-04-08 Wouter Deconinck ([PR#1440](https://github.com/aidasoft/dd4hep/pull/1440))
0660 - adopt properties of underlying Geant4GeneratorAction in Geant4SharedGeneratorAction
0661
0662 * 2025-04-07 Andre Sailer ([PR#1442](https://github.com/aidasoft/dd4hep/pull/1442))
0663 - WebDisplay: fix building against current ROOT master, need further FIXME
0664
0665 * 2025-04-04 Andre Sailer ([PR#1441](https://github.com/aidasoft/dd4hep/pull/1441))
0666 - CMake: drop use of ROOT:ROOTHistDraw
0667
0668 * 2025-04-02 Alvaro Tolosa Delgado ([PR#1439](https://github.com/aidasoft/dd4hep/pull/1439))
0669 - Modification of `Geant4Sensitive::cellID` base class function to handle properly the cases when the step corresponds to an optical photon and the option InvokeSD is enable, so only post-step information is used to calculate the volume/cell ID.
0670
0671 * 2025-03-28 Alvaro Tolosa Delgado ([PR#1438](https://github.com/aidasoft/dd4hep/pull/1438))
0672 - g4GraphicalScan: add option `-t` `--timeout` to make timeout configurable, fixes #1435
0673
0674 * 2025-03-27 Andre Sailer ([PR#1437](https://github.com/aidasoft/dd4hep/pull/1437))
0675 - Geant4TVUserParticleHandler: fix wrong contains check through unit conversion. Fixes #1434
0676
0677 * 2025-03-26 Andre Sailer ([PR#1433](https://github.com/aidasoft/dd4hep/pull/1433))
0678 - Geant4ParticleHandler: prevent the vertexIsNotEndpointOfParent bit set for particles that were not simulated by Geant4 for some reason.
0679
0680 * 2025-03-25 jmcarcell ([PR#1432](https://github.com/aidasoft/dd4hep/pull/1432))
0681 - Remove headers that are not being used in the current file and add headers that are being used.
0682
0683 * 2025-03-21 Andre Sailer ([PR#1429](https://github.com/aidasoft/dd4hep/pull/1429))
0684 - Cmake: UtilityApps: move G__eve dictionary to when we have ROOT::Eve, otherwise there is an installation error. Fixes #1424
0685
0686 * 2025-03-20 Andre Sailer ([PR#1428](https://github.com/aidasoft/dd4hep/pull/1428))
0687 - CMake: do not build DDEve if ROOT::Eve does not exist. Fixes #1424
0688
0689 * 2025-03-20 jmcarcell ([PR#1427](https://github.com/aidasoft/dd4hep/pull/1427))
0690 - Remove C++ preprocessor checks for a standard before C++14
0691
0692 * 2025-03-19 leggett ([PR#1426](https://github.com/aidasoft/dd4hep/pull/1426))
0693 - CMake: Suppress building of UtilityApps components that require ROOT::Eve if it's not available (e.g. if ROOT was built without X11 support)
0694
0695 * 2025-03-19 jmcarcell ([PR#1425](https://github.com/aidasoft/dd4hep/pull/1425))
0696 - Fix typos and other minor changes
0697 - Fix a few usage messages that were outdated or wrong
0698
0699 * 2025-03-18 jmcarcell ([PR#1422](https://github.com/aidasoft/dd4hep/pull/1422))
0700 - Remove checks for the C compiler when configuring
0701 - Remove `ENABLE_LANGUAGE` which is redundant when called after `PROJECT`
0702
0703 * 2025-03-17 leggett ([PR#1421](https://github.com/aidasoft/dd4hep/pull/1421))
0704 fix typo in CMakeLists.txt so that DD4HEP_DISABLE_PACKAGES list is properly parsed
0705
0706 * 2025-03-17 Markus Frank ([PR#1420](https://github.com/aidasoft/dd4hep/pull/1420))
0707 - Fix for issue https://github.com/AIDASoft/DD4hep/issues/1418.
0708 Individual DD4HEP sub-packages can be disable from the cmake command line:
0709 ```
0710 $> cmake <other options> -DDD4HEP_DISABLE_PACKAGES="DDRec DDEve DDDigi" ../DD4hep
0711 ```
0712 This will disable the sub-packages DDRec,DDEve,DDDigi:
0713 ```
0714 $> cmake -DDD4HEP_DISABLE_PACKAGES="DDRec DDEve DDDigi" ../DD4hep
0715 -- Could NOT find LATEX (missing: LATEX_COMPILER)
0716 -- No LaTeX/Biber found, cannot compile user manual.
0717 -- Disable package: DDEve
0718 -- Disable package: DDDigi
0719 -- Disable package: DDRec
0720 -- Will be building these packages: DDDetectors;DDCond;DDAlign;DDCAD;DDG4;UtilityApps
0721 -- Including DD4hepBuild.cmake
0722 ```
0723 Clearly no prevision can be done concerning package dependencies. This is up to the user.
0724 For example `DDG4` cannot be disabled if `DDDigi` should be kept.
0725
0726 * 2025-03-13 Wouter Deconinck ([PR#1417](https://github.com/aidasoft/dd4hep/pull/1417))
0727 - Support multithreading in Geant4EDM4hepOutput plugin
0728
0729 * 2025-03-13 jmcarcell ([PR#1414](https://github.com/aidasoft/dd4hep/pull/1414))
0730 - Fix the result of `innerMaterial()` and `outerMaterial()` depending on if the other is called first
0731 - Add a test that fails without this fix and passes with the fix
0732
0733 * 2025-03-12 Markus Frank ([PR#1416](https://github.com/aidasoft/dd4hep/pull/1416))
0734 - Improve the response of geoDisplay when invoked for help.
0735 - This PR fixes issue: https://github.com/AIDASoft/DD4hep/issues/1409
0736 - Now geoDisplay -h / -help / --help gives the following output:
0737 ```
0738 $ geoDisplay -h
0739 PersistencyIO INFO +++ Set Streamer to dd4hep::OpaqueDataBlock
0740 DD4hep INFO ++ Using globally Geant4 unit system (mm,ns,MeV)
0741 Info in <TGeoManager>: Changing system of units to Geant4 units (mm, ns, MeV).
0742 Info in <TGeoManager::TGeoManager>: Geometry default, Detector Geometry created
0743 Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
0744 geoPluginRun: No geometry input supplied. No geometry will be loaded.
0745 ------------------------------------------------------------------
0746 | Welcome to ROOT 6.35.01 https://root.cern |
0747 | (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
0748 | Built for linuxx8664gcc on Jan 20 2025, 14:50:44 |
0749 | From heads/master@v6-31-01-4781-gce5f87d2f4 |
0750 | With g++-12 (Ubuntu 12.3.0-17ubuntu1) 12.3.0 |
0751 | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q' |
0752 ------------------------------------------------------------------
0753
0754 Usage: -plugin DD4hep_GeometryDisplay -arg [-arg]
0755
0756 Invoke the ROOT geometry display using the factory mechanism.
0757
0758 -detector <string> Top level DetElement path. Default: '/world'
0759 -option <string> ROOT Draw option. Default: 'ogl'
0760 -level <number> Visualization level [TGeoManager::SetVisLevel] Default: 4
0761 -visopt <number> Visualization option [TGeoManager::SetVisOption] Default: 1
0762 -load Only load the geometry. Do not invoke the display
0763 -help Print this help output
0764 Arguments given: -help
0765
0766 ```
0767 - Unfortunately we were not really following the linux rules concerning options:
0768 - one letter options: `-<letter> <value>` or
0769 - multi letter options: `--<options>=<value>`
0770 - maybe we should at some time make an effort to homogenize the behavior.
0771
0772 * 2025-03-10 Markus Frank ([PR#1415](https://github.com/aidasoft/dd4hep/pull/1415))
0773 - Several transparent changes, which should improve the deficiencies of the coverity scans.
0774
0775 * 2025-03-07 Andre Sailer ([PR#1412](https://github.com/aidasoft/dd4hep/pull/1412))
0776 - HTML User Docs: remove margin from sectionToc, online this squashes the Toc lines more than offline for some reason
0777
0778 * 2025-03-07 Andre Sailer ([PR#1411](https://github.com/aidasoft/dd4hep/pull/1411))
0779 - HTML User Docs: move Table of Content toc to absolute position at 150% of page width. Let's table of content scroll along with the page.
0780
0781 * 2025-03-07 Andre Sailer ([PR#1410](https://github.com/aidasoft/dd4hep/pull/1410))
0782 - Documentation: fix relative location of CSS files in html user manuals
0783
0784 * 2025-03-05 Dmitry Kalinkin ([PR#1408](https://github.com/aidasoft/dd4hep/pull/1408))
0785 - `ROOT_LIBRARY_PATH` will now be updated by thisdd4hep.sh. This is needed to instruct Cling to prefer a particular dd4hep path. see https://github.com/root-project/root/blob/a588ea2cbc286afcc5e2b06dfdcae139b470da96/README/ReleaseNotes/v624/index.md?plain=1#L76
0786
0787 * 2025-02-18 Markus Frank ([PR#1405](https://github.com/aidasoft/dd4hep/pull/1405))
0788 Enable random seed printout to debug flaky BoxOfStraws example
0789
0790 * 2025-02-17 Markus Frank ([PR#1404](https://github.com/aidasoft/dd4hep/pull/1404))
0791 - Remove compiler warnings for MacOS
0792
0793 * 2025-02-17 Markus Frank ([PR#1403](https://github.com/aidasoft/dd4hep/pull/1403))
0794 - All tests in the examples directory using geant4 simulation and dependencies of these tests have the following convention:
0795 `<test-directory>_sim_<other unique name>`, where `test_directory` is `CLICSiD, ClientTests, DDDigi, DDG4, MySensDet, etc`.
0796 - This allows to consistently exclude all tests which require simulation as an input by running:
0797 `$> ctest -E _sim_`
0798
0799 * 2025-02-12 Daniel Jeans ([PR#1401](https://github.com/aidasoft/dd4hep/pull/1401))
0800 - Fixes incorrect assumption in g4GraphicalScan.py when parsing output of Geant4MaterialScanner.
0801
0802 * 2025-02-10 Daniel Jeans ([PR#1398](https://github.com/aidasoft/dd4hep/pull/1398))
0803 - this PR improves robustness of g4GraphicalScan tool
0804 -- run short pilot job with timeout, to catch mal-defined models which cause ddsim to hang
0805 -- remove assumption about the edge of world volume
0806 -- deal with case when requested point is outside world volume
0807
0808 * 2025-02-07 Daniel Jeans ([PR#1397](https://github.com/aidasoft/dd4hep/pull/1397))
0809 - add python utility g4GraphicalScan.py to produce 2-d scan of a detector model
0810 - similar to graphicalScan, but directly reads the g4 geometry (rather than the DDRec geometry used by graphicalScan)
0811 - this can therefore cope with CAD-based elements ( see https://github.com/AIDASoft/DD4hep/issues/1322 )
0812
0813 # v01-31
0814
0815 * 2025-01-27 Andrii Verbytskyi ([PR#1378](https://github.com/aidasoft/DD4hep/pull/1378))
0816 - Use standard locations if the LD_LIBRARY_PATH or ROOTSYS are empty, i.e. /usr/lib,usr/lib64, etc.
0817
0818 * 2025-01-25 Markus Frank ([PR#1390](https://github.com/aidasoft/DD4hep/pull/1390))
0819 - Optimize the Geant4VolumeManager. Instead of mapping the Geant4 pathes as vectors of pointers,
0820 hash64 the pointers of the path and lookup pathes from the touchable history using this key.
0821 - Relevant changes are in the files DDG4/Geant4GeometryInfo.h and src/Geant4VolumeManager.cpp.
0822 Everything else is only cosmetics.
0823
0824 * 2025-01-22 Dmitry Kalinkin ([PR#1376](https://github.com/aidasoft/DD4hep/pull/1376))
0825 - DDSim: Steering files can now omit instantiating a new `SIM = DD4hepSimulation()`, and instead use a pre-defined variable with name `SIM`. This allows for steering files that preserve the existing state of `DD4hepSimulation` that a custom user code had set prior to the `parseOptions()` call.
0826
0827 * 2025-01-21 Markus Frank ([PR#1387](https://github.com/aidasoft/DD4hep/pull/1387))
0828 Update the reference files for the Pseudotrap shape checks after mesh creation updates in ROOT.
0829 Pseudotrap tests are disabled for G4 units due to numerical discrepancies when using G4 units vs. TGeo units.
0830
0831 * 2025-01-20 Andre Sailer ([PR#1371](https://github.com/aidasoft/DD4hep/pull/1371))
0832 - DDSim: add a reader for EDM4hep files, fixes #1369
0833 - DDSim can now read EDM4hep files in root format.
0834
0835 * 2025-01-16 sss ([PR#1384](https://github.com/aidasoft/DD4hep/pull/1384))
0836 - DD4hep::Segmentations: add cellsSpanVolumes function to mark segmentations that that can have cells that span multiple volumes, such as the Allegro ECal.
0837
0838 * 2025-01-16 jmcarcell ([PR#1380](https://github.com/aidasoft/DD4hep/pull/1380))
0839 - Revert some of the changes of https://github.com/AIDASoft/DD4hep/pull/1375 to build a vector of floats instead of doubles since the necessary constructor doesn't exist in 0.10.X.
0840 - Use `edm4hep::labels::CellIDEncoding` only when they are available (starting at version 0.99)
0841
0842 * 2025-01-13 sss ([PR#1386](https://github.com/aidasoft/DD4hep/pull/1386))
0843 - Fix potential use of dangling temporary in exampe.
0844
0845 * 2025-01-13 scott snyder ([PR#1385](https://github.com/aidasoft/DD4hep/pull/1385))
0846 - DDSim.ACtion: Fix a wrong variable in a docstring.
0847
0848 * 2025-01-09 jmcarcell ([PR#1374](https://github.com/aidasoft/DD4hep/pull/1374))
0849 - Do not set or read the color flow for MCParticles from EDM4hep,
0850 needed after https://github.com/key4hep/EDM4hep/pull/389
0851
0852 * 2025-01-06 jmcarcell ([PR#1375](https://github.com/aidasoft/DD4hep/pull/1375))
0853 - Fix a few compiler warnings (clang 18) about:
0854 - Set but unused variables and unused variables or declarations
0855 - Deprecated constructor for a Vector3d from a Vector3f from EDM4hep
0856 - Missing override
0857 - Having a space after `operator""` is deprecated
0858
0859 * 2024-12-10 Andre Sailer ([PR#1368](https://github.com/aidasoft/DD4hep/pull/1368))
0860 - HitTupleAction: change how the tree is written and filled, because that caused segfaults in LCG stack runs of dd4hep example tests.
0861
0862 * 2024-12-10 Markus Frank ([PR#1367](https://github.com/aidasoft/DD4hep/pull/1367))
0863 - If memory is an issue, the Geant4 memory consumption can be reduced using the smartless option of
0864 G4LogicalVolume entities. This MR exposes this feature of Geant4 to dd4hep.
0865 Example fragment of the code:
0866 ```
0867 Volume vol = ....;
0868 // 2 is the Geant4 voxelization default. 0 means no voxelization,
0869 // values bigger than 2 will need more memory.
0870 int value = 0 .... 5;
0871 vol.setSmartlessValue(value);
0872 ```
0873 Fixes #1361
0874 - An example (+test) is supplied as well:
0875 - ClientTests/compact/DriftChamber.xml
0876 - ClientTests/scripts/DriftChamber.py
0877 where the voxelization is reduced.
0878
0879 * 2024-12-10 Andre Sailer ([PR#1366](https://github.com/aidasoft/DD4hep/pull/1366))
0880 - DDSim: Clarify that event processing includes Initialisation time, fixes #1364
0881
0882 * 2024-12-09 ybedfer ([PR#1365](https://github.com/aidasoft/DD4hep/pull/1365))
0883 - Adding a `CartesianGridUV` segmentation class, providing for a stereo readout, *i.e.* a readout at an angle w.r.t. the axes of the sensitive volume.
0884 - The class is a straightforward derivation of `CartesianGridXY`, with only few extras needed to register the _angle_ parameter and execute the rotation.
0885
0886 * 2024-12-05 Andre Sailer ([PR#1362](https://github.com/aidasoft/DD4hep/pull/1362))
0887 - Geant4AssemblyVolume: use the same copy ID for the Geant4 Volume as was set in DD4hep geometry construction, fixes #1360 .
0888
0889 * 2024-11-28 BrieucF ([PR#1359](https://github.com/aidasoft/DD4hep/pull/1359))
0890 - Increased the limit on the maximum number of particles one can provide with the hepevt format from 1 to 50 M, fixes #1356
0891
0892 * 2024-11-22 Alvaro Tolosa Delgado ([PR#1358](https://github.com/aidasoft/DD4hep/pull/1358))
0893 - Drift chamber data extension `DCH_info_struct` has been extended with functions to calculate the projection of a point into a wire
0894
0895 * 2024-11-21 ybedfer ([PR#1357](https://github.com/aidasoft/DD4hep/pull/1357))
0896 Bug fix in `CylindricalGridPhiZ`:
0897 - In the `cellId` member method, one now refrains from reducing the phi parameter modulo 2pi when its IDdescriptor is signed.
0898 - When the offset is null, this means that the phi range is now [-pi,pi], instead of the previously [0,2pi] which is not appropriate for a signed quantity.
0899
0900 * 2024-11-19 Andre Sailer ([PR#1355](https://github.com/aidasoft/DD4hep/pull/1355))
0901 - CMake: fix for using Geant4 with internal CLHEP, fix linking error where -lG4clhep was not found. Fixes #1354
0902
0903 * 2024-11-11 Andre Sailer ([PR#1352](https://github.com/aidasoft/DD4hep/pull/1352))
0904 - DDG4: add possibility to control verbosity for physics constructors
0905 - DDSim: add new `--output.physics` parameter to control output level for physics constructors, fixes #1351
0906
0907 * 2024-11-07 Andre Sailer ([PR#1349](https://github.com/aidasoft/DD4hep/pull/1349))
0908 - PythonPlugin: replace deprecated Eval with Exec (root 6.36 need)
0909
0910 * 2024-11-07 Alvaro Tolosa Delgado ([PR#1348](https://github.com/aidasoft/DD4hep/pull/1348))
0911 - DDRec/DCH_info.h: make inline definition of insertion operator of DCH_info class. This fixes 'multiple definition' compilation error when header is included more than once.
0912
0913 * 2024-11-04 Markus Frank ([PR#1347](https://github.com/aidasoft/DD4hep/pull/1347))
0914 - Remove plenty of override warnings from DDG4 compilation
0915 - Spotted by accidence when checking LHCb nightly builds.
0916
0917 * 2024-10-24 Andre Sailer ([PR#1342](https://github.com/aidasoft/DD4hep/pull/1342))
0918 - DDSim: add SignalHandler, add disableSignalHandler flag to turn it off (cf. #1330)
0919 - Examples: make RICH depend on DDG4 for the test
0920 - DDCad: make two tests depend on DDG4
0921
0922 * 2024-10-22 Markus Frank ([PR#1341](https://github.com/aidasoft/DD4hep/pull/1341))
0923 - Addendum to MR https://github.com/AIDASoft/DD4hep/pull/1300.
0924
0925 * 2024-10-21 Markus Frank ([PR#1339](https://github.com/aidasoft/DD4hep/pull/1339))
0926 - Addendum to MR https://github.com/AIDASoft/DD4hep/pull/1336 which fixes a compilation error on MACOS.
0927
0928 * 2024-10-21 Andre Sailer ([PR#1338](https://github.com/aidasoft/DD4hep/pull/1338))
0929 - CI: add macOS build again
0930
0931 * 2024-10-18 Andre Sailer ([PR#1337](https://github.com/aidasoft/DD4hep/pull/1337))
0932 - CMake: explicitly ask for ROOTEve component if it exists so we potentially find the non-builtin nlohmann_json
0933
0934 * 2024-10-18 Markus Frank ([PR#1336](https://github.com/aidasoft/DD4hep/pull/1336))
0935 Add implementation for signal handling.
0936 - The generic signal handler in DDCore may be used and specialized by applications as shon in the DDG4 package (see for details src/Geant4Kernel.h)
0937 - Use generic signal handler in DDG4 for controlled shutdown on CTRL-C.
0938 - Add test DDG4_SIGINT_handler in examples/DDG4
0939 to enable the signal handling use from python:
0940 ```
0941 geant4 = DDG4.Geant4(kernel, tracker='Geant4TrackerCombineAction')
0942 geant4.registerInterruptHandler()
0943 ```
0944 Please note: The signal handler must be explicitly installed. DDG4 is a library framework and does not intervene in actions which users possibly want to handle themselves! This mechanism looks simple enough that it should not be annoying.
0945 - This MR should implement [issue#1330](https://github.com/AIDASoft/DD4hep/issues/1330) and supposedly supersedes [PR#1300](https://github.com/AIDASoft/DD4hep/pull/1300)
0946
0947 * 2024-10-17 Andre Sailer ([PR#1334](https://github.com/aidasoft/DD4hep/pull/1334))
0948 - checkOverlaps: move from DDG4 to DDCore as this does not depend on Geant4, no impact on users
0949 - checkGeometry: move from DDG4 to DDCore as this does not depend on Geant4, no impact on users
0950 - CI: Key4hep: set CMAKE_INSTALL_LIBDIR=lib because Qt6 sets GNUInstallDir
0951
0952 * 2024-10-17 jmcarcell ([PR#1333](https://github.com/aidasoft/DD4hep/pull/1333))
0953 - Use `edm4hep::labels::CellIDEncoding` instead of "CellIDEncoding"
0954 - Use `podio::collMetadataParamName` instead of hardcoding the convention of adding `__`
0955
0956 * 2024-10-17 Andre Sailer ([PR#1332](https://github.com/aidasoft/DD4hep/pull/1332))
0957 - ImportTest: change 'error' to 'fehler' to avoid triggering test failures for spurious warning from gosam package in lcg stacks
0958
0959 * 2024-10-16 Andre Sailer ([PR#1331](https://github.com/aidasoft/DD4hep/pull/1331))
0960 - Conditions: change FIRST_KEY, LAST_KEY to constexpr instead of anonymous enum
0961
0962 * 2024-10-15 BrieucF ([PR#1329](https://github.com/aidasoft/DD4hep/pull/1329))
0963 - ddsim: Set `edm4hep` the default output format in case DD4hep is compiled with both `DDD4HEP_USE_LCIO` `DD4HEP_USE_EDM4HEP` ON
0964 - ddsim: Change the name of the default output file from dummyOutput to ddsimOutput
0965
0966 * 2024-10-15 Bohdan Dudar ([PR#1326](https://github.com/aidasoft/DD4hep/pull/1326))
0967 - Add xercesc parsing of environment variables in the xml path https://github.com/iLCSoft/Marlin/issues/60
0968
0969 * 2024-10-03 Dmitry Kalinkin ([PR#1327](https://github.com/aidasoft/DD4hep/pull/1327))
0970 * ASSIMPWriter: fix "warning: unqualified call to 'std::move'"
0971
0972 * 2024-09-19 Markus Frank ([PR#1324](https://github.com/aidasoft/DD4hep/pull/1324))
0973 Add warning if TGeo materialScan hits TGeoTessellated volumes.
0974
0975 The DDRec MaterialManager and hence the corresponding MaterialScan use TGeo tracking through volumes.
0976 Tracking in TGeo is not implemented for tessellated shapes as they result from CAD shapes. Though TGeo tracking is used
0977 in the material scanner.... In TGeo tessellated surfaces behave like their bounding box. Hence they have no real shape
0978 and for this reason you only see a "box".
0979 TGeo tracking for tessellated shapes will only be implemented once TGeo moves to VecGeom. This will still take some time.
0980
0981
0982 See github issue https://github.com/AIDASoft/DD4hep/issues/1322 for details about the discussion.
0983
0984 # v01-30
0985
0986 * 2024-08-25 Andre Sailer ([PR#1317](https://github.com/aidasoft/dd4hep/pull/1317))
0987 - DDSim: regexSD fix infinite loop, but change the interface from assignment to dictionary entries. Have to ensure only a single entry of a detector is given to the RegexSD
0988
0989 * 2024-08-15 Sanghyun Ko ([PR#1315](https://github.com/aidasoft/dd4hep/pull/1315))
0990 - DDSim: prevent Geometry.regexSensitiveDetector from always throwing exception when called with argument.
0991
0992 * 2024-08-13 Andre Sailer ([PR#1312](https://github.com/aidasoft/dd4hep/pull/1312))
0993 - GitlabCI: drop Flake check, since we have that on github as well
0994
0995 * 2024-08-12 Andre Sailer ([PR#1310](https://github.com/aidasoft/dd4hep/pull/1310))
0996 - GitlabCI: Use an el9 container to build documentation for the webpage
0997
0998 * 2024-08-12 Andre Sailer ([PR#1309](https://github.com/aidasoft/dd4hep/pull/1309))
0999 - CLICSiD AClick tests: avoid running in parallel, tests might break
1000
1001 * 2024-08-12 Andre Sailer ([PR#1308](https://github.com/aidasoft/dd4hep/pull/1308))
1002 - Geant4RegexSensitivesConstruction: allow using regex that don't match the full volume path, reduce time by 40% or so
1003 - DDSim: add interface for Geant4RegexSensitivesConstruction to geometry construction
1004
1005 * 2024-07-30 Leonhard Reichenbach ([PR#1303](https://github.com/aidasoft/dd4hep/pull/1303))
1006 - Added a Geant4TVUserParticleHandler that can utilise an arbitrary tracking volume as introduced in https://github.com/AIDASoft/DD4hep/pull/384
1007
1008 * 2024-07-24 ybedfer ([PR#1294](https://github.com/aidasoft/dd4hep/pull/1294))
1009 - Adding a "CylindricalGridPhiZ" segmentation class.
1010 - N.B.: the class has a "radius" data member, registered by the constructors.
1011
1012 * 2024-07-22 Markus Frank ([PR#1301](https://github.com/aidasoft/dd4hep/pull/1301))
1013 - See issue https://github.com/AIDASoft/DD4hep/issues/1292 and PR https://github.com/AIDASoft/DD4hep/pull/1293 , fix crash when action dictionary not hashable.
1014
1015 * 2024-07-22 Andre Sailer ([PR#1299](https://github.com/aidasoft/dd4hep/pull/1299))
1016 - CI: use alma9 stack for python lint check
1017 - CI: move key4hep stack to alma9
1018
1019 * 2024-07-22 Sanghyun Ko ([PR#1298](https://github.com/aidasoft/dd4hep/pull/1298))
1020 - Geant4Converter: Improve lookup speed of `GeoHandler::i_collect` by using `std::set` instead of `std::find` (issue #1291)
1021
1022 * 2024-07-06 jmcarcell ([PR#1290](https://github.com/aidasoft/dd4hep/pull/1290))
1023 - Add the missing header unistd.h in a file to find `::open` and `::close`
1024 - Fix a few warnings about unused variables or shadowing
1025 - Add .cache and compile_commands.json to .gitignore
1026
1027 * 2024-07-05 Markus Frank ([PR#1289](https://github.com/aidasoft/dd4hep/pull/1289))
1028 * Add RegexSD example for illustration: See https://github.com/AIDASoft/DD4hep/pull/1288
1029
1030 * 2024-07-05 Markus Frank ([PR#1288](https://github.com/aidasoft/dd4hep/pull/1288))
1031 - As reported in this issue https://github.com/AIDASoft/DD4hep/issues/1285 under certain circumstances the memory usage of DDG4 goes through the roof. This was traced back to the creation of excessive maps in the `Geant4VolumeManager`, if the number of sensitive pathes is very high like e.g. for straw detectors.
1032 - To solve the problem, geometry constructors may not declare any sensitive volumes. Hence the `Geant4VolumeManager` will not be populated. To still make Geant4 functioning, the sensitive volumes may be declared a posterior after conversion using regular expressions as implemented in the class `Geant4RegexSensitivesConstruction`. This class is only an example how such functionality may be achieved: other solutions are possible as well. This functionality can be switched at the level of each subdetector participating in the experiment setup.
1033 - To illustrate, an example detector `BoxOfStraws` was constructed with a flag in the xml description:
1034
1035 ```
1036 <detector id="1" name="BoxOfStrawsDet" type="DD4hep_BoxOfStraws" readout="BoxOfStrawsHits" vis="VisibleGreen" region="StrawRegion" limits="BoxOfStrawsLimitSet">
1037 <box x="1*m" y="1*m" z="1000*mm" limits="BoxOfStrawsLimitSet" vis="VisibleRed"/>
1038 <straw rmax="0.5*mm" y="1*m" thickness="0.1*mm" vis="VisibleBlue">
1039 <material name="Iron"/>
1040 </straw>
1041 <gas vis="VisibleGreen">
1042 <material name="Argon"/>
1043 <non_sensitive/>
1044 </gas>
1045 <position x="0*m" y="0*m" z="0*m"/>
1046 <rotation x="0" y="0" z="0"/>
1047 </detector>
1048 ```
1049
1050 Change `<non_sensitive/>` to `<sensitive/>` and the different behavor of memory allocation when starting Geant4 can be observed.
1051 The corresponding Geant4 python script can be found here:
1052
1053 ```
1054 <DD4hep>/examples/ClientTests/scripts/BoxOfStraws.py
1055 ```
1056
1057 The memory consumption differs then as follows (depending on the thickness of the straws, which determine the number of sensitive pathes):
1058
1059 ```
1060 With explicit sensitive volumes:
1061 before Geant4VolumeManager: Virtual: 903.3m resident: 690.5m
1062 after Geant4VolumeManager: Virtual: 1848.2m resident: 1.6g
1063
1064
1065 With Sensitives matching regex and not sensitive volumes declared:
1066 before Geant4VolumeManager: Virtual: 903.3m Resident: 690.6m
1067 after Geant4VolumeManager: Virtual: 903.3m Resident: 690.6m
1068 Simulating: Virtual: 903.5m Resident: 692.6m
1069 ```
1070
1071 Hence this is a possibility to significantly reduce memory consumption for highly granular subdetectors.
1072
1073 * 2024-07-01 Markus Frank ([PR#1287](https://github.com/aidasoft/dd4hep/pull/1287))
1074 - As noted by Ben, the global alignment does not work in the presence of assemblies.
1075 This PR together with https://github.com/root-project/root/pull/15905 fixes this deficiency.
1076 - An example was added to convert a globally misaligned geometry to Geant4:
1077 ` $ python examples/AlignDet/scripts/AlephTPC.py -batch -events 5 -alignments examples/AlignDet/compact/AlephTPC_alignment.xml`
1078
1079 * 2024-07-01 jmcarcell ([PR#1286](https://github.com/aidasoft/dd4hep/pull/1286))
1080 - Fix warnings related to unused variables and shadowing of already existing variables
1081 - Don't use the deprecated `PySys_SetArgv`
1082
1083 * 2024-06-26 Andre Sailer ([PR#1284](https://github.com/aidasoft/dd4hep/pull/1284))
1084 - DDG4.inputHandling: do not simulate rejectPDG particles even if they are called stable by the generator file, fixes #1282
1085
1086 * 2024-06-26 Andre Sailer ([PR#1283](https://github.com/aidasoft/dd4hep/pull/1283))
1087 - DDSim: Do not check for existence of files behind a URL like root://, fixes #1281
1088
1089 * 2024-06-24 jmcarcell ([PR#1280](https://github.com/aidasoft/dd4hep/pull/1280))
1090 - CMake: Allow finding version 1.0 (and newer) for podio
1091
1092 * 2024-06-21 Markus Frank ([PR#1279](https://github.com/aidasoft/dd4hep/pull/1279))
1093 - The conquest against tainted variables in coverity
1094
1095 * 2024-06-20 Markus Frank ([PR#1278](https://github.com/aidasoft/dd4hep/pull/1278))
1096 - Fight coverity tainted variables.
1097
1098 # v01-29
1099
1100 * 2024-06-06 Andre Sailer ([PR#1277](https://github.com/aidasoft/DD4hep/pull/1277))
1101 - Geant4Converter: fix the order of the TGeoNode conversion to Geant4 volumes, using vector instead of set. Maybe fixes #1271
1102
1103 * 2024-05-26 Andre Sailer ([PR#1276](https://github.com/aidasoft/DD4hep/pull/1276))
1104 - XMLElements: fix build when not using XercesC, failing to include header files
1105
1106 * 2024-05-23 Markus Frank ([PR#1275](https://github.com/aidasoft/DD4hep/pull/1275))
1107 - The battle agains coverity
1108 - The last defects I know how to solve. For the rest more expertise is required.
1109
1110 * 2024-05-23 MarkusFrankATcernch ([PR#1274](https://github.com/aidasoft/DD4hep/pull/1274))
1111 - Allow coverity scans being started manually
1112
1113 * 2024-05-23 Markus Frank ([PR#1272](https://github.com/aidasoft/DD4hep/pull/1272))
1114 - The battle agains coverity. Try to fix various defects.
1115
1116 * 2024-05-22 Markus Frank ([PR#1270](https://github.com/aidasoft/DD4hep/pull/1270))
1117 - The battle agains coverity: Attack and reduce coverity errors
1118
1119 * 2024-05-22 Markus Frank ([PR#1269](https://github.com/aidasoft/DD4hep/pull/1269))
1120 - Code maintenance: change quoted include statements to angular brackets in subpackage DDG4.
1121
1122 * 2024-05-22 Markus Frank ([PR#1268](https://github.com/aidasoft/DD4hep/pull/1268))
1123 Code maintenance:
1124 - change quoted include statements in DDCore to angular brackets
1125 - Add the odd licence statement
1126 - Remove obsolete file DD4hep/TGeoUnits.h: Take TGeoUnits from ROOT if needed.
1127 This file dates back to the time TGeoUnits.h did not exist in ROOT.
1128
1129 * 2024-05-21 Markus Frank ([PR#1267](https://github.com/aidasoft/DD4hep/pull/1267))
1130 - Try to eliminate more coverity code deficiencies
1131 (See https://scan.coverity.com/projects/dd4hep?tab=overview)
1132
1133 * 2024-05-16 Andre Sailer ([PR#1266](https://github.com/aidasoft/DD4hep/pull/1266))
1134 - DDSim: make setupUserFunction be documented in the steering file
1135 - Fix random typos in comments and doxygen strings
1136 - Geant4Handle: Fix error message when plugin casting did not succeed
1137
1138 * 2024-05-16 Markus Frank ([PR#1265](https://github.com/aidasoft/DD4hep/pull/1265))
1139 - Fix some coverity problems
1140
1141 * 2024-05-16 tmadlener ([PR#1264](https://github.com/aidasoft/DD4hep/pull/1264))
1142 - EDM4hepOUTPUT: Introduce pre-processor checks to transparently switch to the new `std::optional` return values of `podio::Frame::getParameter` (introduced with [AIDASoft/podio#580](https://github.com/AIDASoft/podio/pull/580))
1143
1144 * 2024-05-16 Thomas Latham ([PR#1263](https://github.com/aidasoft/DD4hep/pull/1263))
1145 - Enhance handling of transformations in VolumeBuilder
1146
1147 * 2024-05-15 Markus Frank ([PR#1262](https://github.com/aidasoft/DD4hep/pull/1262))
1148 - Add optional instantiation of the G4ScoringManager together with the G4RunManager.
1149 The instantiation can be steered by option to the Geant4Kernel:
1150 ```
1151 import DDG4
1152 g4 = DDG4.Geant4()
1153 g4.kernel().HaveScoringManager = True
1154 ```
1155 For rational, please see issue: https://github.com/AIDASoft/DD4hep/issues/1261
1156
1157 * 2024-05-13 Alvaro Tolosa Delgado ([PR#1253](https://github.com/aidasoft/DD4hep/pull/1253))
1158 - DDRec/DCH_info.h: Add data extension class for FCCee Drift Chamber. This class provides data storage and ancillary functionalities needed to build the geometry.
1159
1160 * 2024-05-10 Andre Sailer ([PR#1260](https://github.com/aidasoft/DD4hep/pull/1260))
1161 - DDG4/DDSim: allow configuring of the unstable generator status codes with SIM.physics.alternativeDecayStatuses. This allows one to tweak which particles are passed to the Geant4 simulation. Fixes #1256
1162 - DDG4: Geant4InputAction: move setting of generator status bits to a common place, reduce code duplication.
1163
1164 * 2024-05-07 Markus Frank ([PR#1259](https://github.com/aidasoft/DD4hep/pull/1259))
1165 - Protect Geant4 Primary creation against negative masses.
1166 - See issue https://github.com/AIDASoft/DD4hep/issues/1233 for a detailed discussion of the problem.
1167 - Allow shapes to be defined recursively using shape creation plugin.
1168 - Show how to properly use CAD shapes with a non-zero origin (Issue : https://github.com/AIDASoft/DD4hep/issues/1200)
1169 examples/DDCAD/compact/DD4hep_Issue_1134_resolved.xml
1170 Once the CAD shape (aka volume) is placed correctly into the origin of a mother mother, the mother can then be placed
1171 rotated and shifted according to the the boxed mother's origin like any other volume.
1172
1173 * 2024-05-07 Andre Sailer ([PR#1258](https://github.com/aidasoft/DD4hep/pull/1258))
1174 - DDSim: correct the number of events when running over all events (-1), fixes #1257
1175 - GenerationActionInit: declare properties to access number of processed runs (numberOfRuns) and events (numberOfEVents)
1176 - DDG4: decode or eval all properties out of str or cppyy.gbl.string types
1177
1178 * 2024-04-23 Andre Sailer ([PR#1255](https://github.com/aidasoft/DD4hep/pull/1255))
1179 - Geant4GFlashShowerModel: remove wrong unit conversions from particleBound properties. Caused particle bounds to be off by 1e3 when GEANT_UNITS were enabled.
1180
1181 * 2024-04-22 tmadlener ([PR#1252](https://github.com/aidasoft/DD4hep/pull/1252))
1182 - DDDigiEDM4hep: Switch to the correct podio pre-processor version checks for switching to the non-deprecated readers / writers. Also simplify this such that choosing which type(name) to use is handled in one place rather than several.
1183 - Geant4Output2EDM4hep: Switch to a non-deprecated setter for setting the MCParticle for a SimTrackerHit once EDM4hep ships with it.
1184
1185 * 2024-04-19 Andre Sailer ([PR#1254](https://github.com/aidasoft/DD4hep/pull/1254))
1186 - CMake: drop possible use of ROOT::PyROOT target, always use ROOT::ROOTTPython
1187 - Python: remove the use of (dd)six, fix issues pointed out by new version of flake8
1188
1189 * 2024-04-18 Andre Sailer ([PR#1242](https://github.com/aidasoft/DD4hep/pull/1242))
1190 - CI: change which LCG_releases/ROOT versions DD4hep is tested.
1191 - Fix various issues with latest version of ROOT (6-32-patches, master) and cppyy in ROOT.
1192 - :warning: : You may encounter issues with python setup complaining about mismatched types, strings, conversions
1193
1194 * 2024-04-04 Andre Sailer ([PR#1251](https://github.com/aidasoft/DD4hep/pull/1251))
1195 - EDM4hepOutput: determine momentum vector type automagically. Make it work with any EDM4hep version correctly, fixes #1250
1196
1197 * 2024-04-02 Andre Sailer ([PR#1248](https://github.com/aidasoft/DD4hep/pull/1248))
1198 - ddsim now exits with non-zero exit code when something went wrong during simulation
1199
1200 * 2024-04-02 Wouter Deconinck ([PR#1245](https://github.com/aidasoft/DD4hep/pull/1245))
1201 - fix adding individual planes to existing Polycone
1202
1203 * 2024-03-26 Andre Sailer ([PR#1247](https://github.com/aidasoft/DD4hep/pull/1247))
1204 - DDSim: add checks that input files and compact files exist before doing anything extensive and provide proper error message. Fixes #1246
1205
1206 * 2024-03-21 Markus Frank ([PR#1244](https://github.com/aidasoft/DD4hep/pull/1244))
1207 * The build type flag was lost when including files from compact. This PR fixes this deficiency and ensures the flag propagation. Example: 'box_shape_build_type'
1208
1209 * 2024-03-20 Alvaro Tolosa Delgado ([PR#1243](https://github.com/aidasoft/DD4hep/pull/1243))
1210 - Fixed TwistedTube when only half-length is provided, making the tube is symmetric along Z axis
1211
1212 * 2024-03-13 Andre Sailer ([PR#1241](https://github.com/aidasoft/DD4hep/pull/1241))
1213 - CMake: dd4hep_add_dictionary: use temporary files to create dictionary to allow dependencies to use COMPILE_LANGUAGE, fixes #1239 . Add USE_COMMAND_TO_GENERATE option to fall back to previous implementation
1214 - CMake: dd4hep_add_dictionary: remove duplicates from definition and include_directory options when calling rootcling
1215
1216 * 2024-02-29 Markus Frank ([PR#1238](https://github.com/aidasoft/DD4hep/pull/1238))
1217 - Adapt documentation for Tube(...) constructor to reality.
1218 See issue https://github.com/AIDASoft/DD4hep/issues/1236
1219
1220 # v01-28
1221
1222 * 2024-02-19 Markus Frank ([PR#1228](https://github.com/aidasoft/dd4hep/pull/1228))
1223 - Fix DD4hep_DetectorDump plugin to avoid crash if a DetElement placement is invalid,
1224 which is not allowed, but also should not end up in a crash.
1225 - Add test to check if DetElements have proper placement set using MiniTel example
1226 (see examples/ClientTests/compact/MiniTel_err_place.xml) and
1227 test MiniTel_check_missing_placements
1228 - The fake DD4hep object TwistedTube did not correctly emulate the different constructors when converted
1229 to Geant4. This should be fixed with this PR.
1230
1231 * 2024-02-16 Andre Sailer ([PR#1231](https://github.com/aidasoft/dd4hep/pull/1231))
1232 - CMake: use the LCIO::lcio target instead of LCIO::LCIO
1233
1234 * 2024-02-15 Andre Sailer ([PR#1230](https://github.com/aidasoft/dd4hep/pull/1230))
1235 - XML: add missing std:: when building with TinyXML
1236 - DetectorSurfaces: silence printout when creating SurfaceList, fixes #1229
1237
1238 * 2024-02-13 Wouter Deconinck ([PR#1225](https://github.com/aidasoft/dd4hep/pull/1225))
1239 - upgrade CI to checkout@v4, cvmfs@v4, upload-artifact@v4
1240
1241 * 2024-02-12 Alvaro Tolosa Delgado ([PR#1227](https://github.com/aidasoft/dd4hep/pull/1227))
1242 - Twisted tube: twisted angle unit conversion now works properly
1243
1244 * 2024-02-12 Markus Frank ([PR#1226](https://github.com/aidasoft/dd4hep/pull/1226))
1245 Multiple commits. Most important one (on user request):
1246 - Implement CONST properties to optical sufaces. (Requires new release of ROOT)
1247 See issue: https://github.com/AIDASoft/DD4hep/issues/1223
1248
1249 Otherwise:
1250 - Remove support for very old versions of ROOT < 6.10.0
1251 - Remove support for very old versions of ROOT < 6.26.0.
1252 - Remove default use of std namespace from most implementation files.
1253
1254 * 2024-02-12 Wouter Deconinck ([PR#1218](https://github.com/aidasoft/dd4hep/pull/1218))
1255 - add command line options to pass stepping (etc) action plugins to ddsim
1256
1257 * 2024-02-08 tmadlener ([PR#1219](https://github.com/aidasoft/dd4hep/pull/1219))
1258 - Make the upcoming renaming of `edm4hep::TrackerHit` to `edm4hep::TrackerHit3D` (https://github.com/key4hep/EDM4hep/pull/252) transparent as far as DD4hep is concerned.
1259
1260 * 2024-02-07 jmcarcell ([PR#1221](https://github.com/aidasoft/dd4hep/pull/1221))
1261 - Change ROOTFrame{Writer,Reader} to ROOT{Writer,Reader} following https://github.com/AIDASoft/podio/pull/549
1262
1263 * 2024-02-02 tmadlener ([PR#1198](https://github.com/aidasoft/dd4hep/pull/1198))
1264 - Set the momenta of the `edm4hep::MCParticle` as double instead of float once it becomes possible.
1265
1266 * 2024-01-18 Markus Frank ([PR#1217](https://github.com/aidasoft/dd4hep/pull/1217))
1267 - Enable energy deposit collection in FiberTubeCalorimeter example.
1268
1269 * 2024-01-18 Markus Frank ([PR#1216](https://github.com/aidasoft/dd4hep/pull/1216))
1270 - Update FiberTubeCalorimeter example
1271 - Fix overlapping volumes
1272
1273 * 2024-01-17 Markus Frank ([PR#1215](https://github.com/aidasoft/dd4hep/pull/1215))
1274 - Fix creation of tessellated shapes from CAD files.
1275 - Properly hand quadri-linear facets from CAD files.
1276 - See also: https://github.com/root-project/root/pull/14327
1277 - See also: https://github.com/AIDASoft/DD4hep/pull/1212
1278
1279 * 2024-01-16 Markus Frank ([PR#1214](https://github.com/aidasoft/dd4hep/pull/1214))
1280 - Fix to MR https://github.com/AIDASoft/DD4hep/pull/1212
1281
1282 * 2024-01-15 Markus Frank ([PR#1213](https://github.com/aidasoft/dd4hep/pull/1213))
1283 - Adapt material scan to be aware of the different compilation modes for TGeo units and Geant4 units.
1284 See also issue https://github.com/AIDASoft/DD4hep/issues/1163.
1285
1286 * 2024-01-15 Andre Sailer ([PR#1212](https://github.com/aidasoft/dd4hep/pull/1212))
1287 - Assimp: adapt to changes in TGeoTessellated for ROOT 6.32
1288 - ShapeUtilities: adapt to changes in TGeoTessellated for ROOT 6.32
1289
1290 * 2024-01-12 Markus Frank ([PR#1211](https://github.com/aidasoft/dd4hep/pull/1211))
1291 - Implement required chnges for new ROOT 6.31.X.
1292 See issue https://github.com/AIDASoft/DD4hep/issues/1210 for details.
1293
1294 * 2024-01-08 Markus Frank ([PR#1209](https://github.com/aidasoft/dd4hep/pull/1209))
1295 - Restore behavior of teveDisplay. See issue https://github.com/AIDASoft/DD4hep/issues/1208 for details.
1296
1297 * 2023-12-19 Andre Sailer ([PR#1206](https://github.com/aidasoft/dd4hep/pull/1206))
1298 - CI: Coverity: use el9 based stack
1299
1300 # v01-27-02
1301
1302 * 2023-12-15 Andre Sailer ([PR#1205](https://github.com/aidasoft/dd4hep/pull/1205))
1303 - Geant4PrimaryHandling: fix issue with multiple vertices in Geant4 GeneralParticleSource, fixes #1204
1304
1305 * 2023-12-14 Markus Frank ([PR#1201](https://github.com/aidasoft/dd4hep/pull/1201))
1306 - Incorporate type fix from https://github.com/AIDASoft/DD4hep/pull/1172
1307 - Propagate polish setting from ROOT surfaces to Geant4
1308 - Improve debugging capabilities of detector checksums by improved dumping possibilities.
1309
1310 * 2023-12-14 Andre Sailer ([PR#1196](https://github.com/aidasoft/dd4hep/pull/1196))
1311 - NestedBoxReflection_geo.cpp: use std::abs instead of abs
1312 - HexGrid: use std::abs instead of abs
1313 - DDSim: better logging of which sensitive detector is used when defaults are used
1314
1315 * 2023-12-14 Paul Gessinger ([PR#1195](https://github.com/aidasoft/dd4hep/pull/1195))
1316 - Replace usage of the `imp` module that was removed in Python 3.12 with `importlib` and `types`.
1317
1318 * 2023-11-24 Andre Sailer ([PR#1192](https://github.com/aidasoft/dd4hep/pull/1192))
1319 - DetectorChecksum: use fabs to check if values are 0.0, fixes #1188
1320
1321 # v01-27-01
1322
1323 * 2023-11-20 jmcarcell ([PR#1191](https://github.com/aidasoft/DD4hep/pull/1191))
1324 - CMake: Add a check for the c++ standard that Geant4 was compiled with, and fail if it is
1325 different from the one required for DD4hep.
1326
1327 * 2023-11-19 Wouter Deconinck ([PR#1190](https://github.com/aidasoft/DD4hep/pull/1190))
1328 - Use TROOT::GetIconPath to find icons in DDEve
1329
1330 * 2023-11-17 Markus Frank ([PR#1187](https://github.com/aidasoft/DD4hep/pull/1187))
1331 - Implement startup flags to set the visualization depth in teveDisplay like for geoDisplay.
1332 See Issue: See deeper hierarchy in teveDisplay https://github.com/AIDASoft/DD4hep/issues/1186 for details.
1333
1334 * 2023-11-17 Dmitry Kalinkin ([PR#1184](https://github.com/aidasoft/DD4hep/pull/1184))
1335 - Fixed runtime issues during initialization caused by incorrectly placed `DECLARE_SEGMENTATION` for CartesianGridXYStaggered and HexGrid.
1336
1337 # v01-27
1338
1339 * 2023-10-19 Alvaro Tolosa Delgado ([PR#1174](https://github.com/aidasoft/dd4hep/pull/1174))
1340 - Geant4OpticalTracker: Kill optical photons (instead of all other particles) as soon they enter into a Optical Tracker sensitive detector
1341
1342 * 2023-10-19 Wouter Deconinck ([PR#1148](https://github.com/aidasoft/dd4hep/pull/1148))
1343 - Allow several DDRec c'tors to work on `const Detector&` instead of `Detector&`
1344
1345 * 2023-10-18 Markus Frank ([PR#1181](https://github.com/aidasoft/dd4hep/pull/1181))
1346 Allow for XML processing of files relative to xml tag location:
1347 - For some tags the relative placement of include files was not possible.
1348 This pull request is supposed to close these missing include features.
1349 - See issue https://github.com/AIDASoft/DD4hep/issues/1180 for details)
1350 - See the examples ClientTests: minitel_config_plugins_include_command_xml
1351 with the compact file ClientTests/compact/IncludePlugins.xml for an example.
1352
1353 * 2023-10-17 Alvaro Tolosa Delgado ([PR#1179](https://github.com/aidasoft/dd4hep/pull/1179))
1354 - DDSim: Corrected documentation of `--gun.energy`. This corresponds to the total energy including the mass of the particle
1355
1356 * 2023-10-11 Andre Sailer ([PR#1176](https://github.com/aidasoft/dd4hep/pull/1176))
1357 - DDG4: G4VTouchable: for Geant4 11.1.ref09 cannot forward declare the class any more
1358
1359 * 2023-10-11 Markus Frank ([PR#1175](https://github.com/aidasoft/dd4hep/pull/1175))
1360 - Handle request from issue 1166: Allow to load CAD files with relative path w/r to declaring xml file
1361 - Add illustrating example: t_DDCAD_Check_Shape_RelativePath
1362
1363 * 2023-09-20 Dhevan Gangadharan ([PR#1170](https://github.com/aidasoft/dd4hep/pull/1170))
1364 - Extend usage of dumpBfield to asymmetric X,Y,Z ranges.
1365
1366 * 2023-09-20 Sebouh Paul ([PR#1161](https://github.com/aidasoft/dd4hep/pull/1161))
1367 - DDSegmentation: added segmentation HexGrid for hexagonal segmentation
1368 - DDSegmentation: added CartesionGridXYStaggered for rectangular segmentation that can be staggered for every other layer
1369
1370 * 2023-09-19 Dmitry Kalinkin ([PR#1171](https://github.com/aidasoft/dd4hep/pull/1171))
1371
1372
1373 * 2023-09-15 jmcarcell ([PR#1169](https://github.com/aidasoft/dd4hep/pull/1169))
1374 - CMake: DDG4: Check if the CLHEP target exists before creating it in DD4hepBuild.cmake, since if it exists cmake will error.
1375
1376 * 2023-09-15 Wouter Deconinck ([PR#1168](https://github.com/aidasoft/dd4hep/pull/1168))
1377 - ddsim: handle run header exception when the user has no username.
1378
1379 * 2023-08-31 Dmitry Kalinkin ([PR#1165](https://github.com/aidasoft/dd4hep/pull/1165))
1380 - DDG4: HepMC3Input: Fix loading of run info for RootTree HepMC3 input format
1381
1382 * 2023-08-25 Andre Sailer ([PR#1162](https://github.com/aidasoft/dd4hep/pull/1162))
1383 - DDEve Webdisplay: fix issue with ROOT master with RGeomViewer no longer being in the experimental namespace.
1384
1385 * 2023-08-24 Andre Sailer ([PR#1160](https://github.com/aidasoft/dd4hep/pull/1160))
1386 - SiliconBlockGFlash: add maximal energy for using parametrisation, for electron and positron, fixes #1153
1387
1388 * 2023-08-24 Markus Frank ([PR#1155](https://github.com/aidasoft/dd4hep/pull/1155))
1389 - Implement correct transparency handling of ROOT:
1390 The transparency setting was connected to the material of the volume.
1391 This led to the same transparency setting for all volumes of the same material.
1392 It was not possible to change them at the level of the volume though
1393 the API suggested so.
1394 See: https://github.com/AIDASoft/DD4hep/issues/1117
1395 See: https://github.com/root-project/root/pull/13402
1396 - Add test examples/ClientTests/compact/visTestEx.xml and visTest.xml.
1397 From the inversion of tubes with the same material, for ROOT >= 6.29
1398 the correct transparency settings are shown, whereas for ROOT < 6.29
1399 the transparency settings are the same for all volumes.
1400 Also see scripts/visTest.C
1401
1402 * 2023-08-23 Ben Couturier ([PR#1159](https://github.com/aidasoft/dd4hep/pull/1159))
1403 - Improved _getEnviron to deal with the case when multiple variables are to be evaluated in the string
1404
1405 * 2023-08-22 Dmitry Kalinkin ([PR#1158](https://github.com/aidasoft/dd4hep/pull/1158))
1406 - DDSim: Fix reading HepMC3 input files via xrootd, fixes #1156
1407
1408 * 2023-08-22 Wouter Deconinck ([PR#1157](https://github.com/aidasoft/dd4hep/pull/1157))
1409 - Geant4Output2EDM4hep: allow use of identical collection names across multiple detectors
1410
1411 * 2023-08-04 Andre Sailer ([PR#1152](https://github.com/aidasoft/dd4hep/pull/1152))
1412 - CI: use clang16 for header guards check
1413
1414 * 2023-08-04 jmcarcell ([PR#1151](https://github.com/aidasoft/dd4hep/pull/1151))
1415 - Limits object: fix string creation of Limit::toString, this will now also print the relevant "particles"
1416 - Shapes: remove "move" from return of dimensions()
1417
1418 # v01-26
1419
1420 * 2023-07-24 Andre Sailer ([PR#1147](https://github.com/aidasoft/DD4hep/pull/1147))
1421 - Add reading of HepMC3 run info and forwarding it to output files: fixes #1114. Reliably this will only work for HepMC3 >= 3.2.6.
1422
1423 * 2023-07-18 Markus Frank ([PR#1146](https://github.com/aidasoft/DD4hep/pull/1146))
1424 - By default do not keep hash string for detector checksum to minimize resource usage.
1425 As pointed out in Issue https://github.com/AIDASoft/DD4hep/issues/1143 keeping the hash string of detector
1426 components is very often too resource/memory consuming. Hence keep the hashed strings only if requested
1427 e.g. for debugging purposes. By default the hash strings are not kept.
1428 This means the produces hash sums are NOT backwards compatible, because during the checksum creation the
1429 hash strings from sub-components were used. These are now consequently replaced by the corresponding hash codes.
1430
1431 * 2023-07-18 Andre Sailer ([PR#1145](https://github.com/aidasoft/DD4hep/pull/1145))
1432 - DDSim: ConfigHelper: prevent using unknown properties everywhere but in Meta, where we want to allow adding arbitrary information, fixes #1072
1433
1434 * 2023-07-17 Andre Sailer ([PR#1144](https://github.com/aidasoft/DD4hep/pull/1144))
1435 - DDSim: change the default output file name on how DD4hep was built. Fixes #1101
1436 - Add outputConfig.forceLCIO, outputConfig.forceEDM4HEP, outputConfig.forceDD4HEP switches to force a particular output plugin
1437 - If LCIO was used, slcio is still the default
1438 - If EDM4hep was used but not LCIO, EDM4hep is the default and used for all root output files.
1439 - If neither LCIO or EDM4hep was used, then DD4hep's root output is used. Use the outputConfig.forceDD4HEP flag to use DD4hep's root output if EDM4hep is available as well
1440
1441 - DDSim: remove python2 legacy shims
1442 - Geant4UIManager: fail when pre or post run commands are not successfully executed.
1443
1444 * 2023-07-14 Andre Sailer ([PR#1142](https://github.com/aidasoft/DD4hep/pull/1142))
1445 - DDSim: add the possibility to configure execution of Geant4 UI commands during the different Geant4 UI phases (fixes #1010)
1446
1447 * 2023-07-13 Wouter Deconinck ([PR#1141](https://github.com/aidasoft/DD4hep/pull/1141))
1448 - Support TGeoTessellated volumes in DetectorChecksum
1449
1450 * 2023-07-13 tmadlener ([PR#1140](https://github.com/aidasoft/DD4hep/pull/1140))
1451 - Create a separate `metadata` Frame in the edm4hep output and put the `CellIDEncoding` strings there in order to follow the new convention for this introduced by key4hep/k4FWCore#100.
1452
1453 * 2023-06-24 Markus Frank ([PR#1139](https://github.com/aidasoft/DD4hep/pull/1139))
1454 - Add test for issue #1134
1455
1456 * 2023-06-23 tmadlener ([PR#1138](https://github.com/aidasoft/DD4hep/pull/1138))
1457 - Make the default return value of `DetElementCreator::process` non-zero to avoid erroneously raising an exception after finishing.
1458 - Add a test case that checks that things work
1459
1460 * 2023-06-22 Markus Frank ([PR#1136](https://github.com/aidasoft/DD4hep/pull/1136))
1461 - Adds missing parts to: https://github.com/AIDASoft/DD4hep/pull/1135
1462 - Enable CLICSiD GDML exports and import tests and fix the broken import test.
1463
1464 * 2023-06-22 Andre Sailer ([PR#1133](https://github.com/aidasoft/DD4hep/pull/1133))
1465 - DDSim: OutputConfig: correct the example to be valid python in all cases.
1466
1467 * 2023-06-21 tmadlener ([PR#1132](https://github.com/aidasoft/DD4hep/pull/1132))
1468 - Add conversion from of `TGeoPara` to `G4Para`
1469
1470 * 2023-06-16 Markus Frank ([PR#1131](https://github.com/aidasoft/DD4hep/pull/1131))
1471 - Fix compile error on MacOS
1472 See issue https://github.com/AIDASoft/DD4hep/issues/1130
1473
1474 * 2023-06-14 Wouter Deconinck ([PR#1129](https://github.com/aidasoft/DD4hep/pull/1129))
1475 - fix: exit(0) when --dumpParameter/dumpSteeringFile
1476
1477 * 2023-06-13 Markus Frank ([PR#1128](https://github.com/aidasoft/DD4hep/pull/1128))
1478 - Move DDDigi edm4hep I/O to new frame writing.
1479 - Improve DDG4 edm4hep I/O (remove debug statements)
1480 - Protect DDDigi edm4hep output against races
1481 - Fix some compiler warnings
1482
1483 * 2023-06-12 Wouter Deconinck ([PR#1108](https://github.com/aidasoft/DD4hep/pull/1108))
1484 - Delay writing EDM4hep collections until `commit` at end of event, allowing for multiple collections with same name
1485
1486 * 2023-06-09 Markus Frank ([PR#1125](https://github.com/aidasoft/DD4hep/pull/1125))
1487 - Define the CellID and the VolumeID data types of segmentations as uint64_t rather than signed integers.
1488 Reasoning: Please see issue: 1090 (https://github.com/AIDASoft/DD4hep/issues/1090)
1489
1490 * 2023-06-09 tmadlener ([PR#1113](https://github.com/aidasoft/DD4hep/pull/1113))
1491 - Remove the copy&past `DigiFrame.h` and use the upstream `podio/Frame.h` as all functionality is available from there.
1492 - Increase the minimum podio version to 0.16.3
1493
1494 * 2023-06-09 tmadlener ([PR#1112](https://github.com/aidasoft/DD4hep/pull/1112))
1495 - Use the templated `getMap` access functionality for `podio::GenericParameters` as the non-templated versions will be removed.
1496
1497 * 2023-06-08 Markus Frank ([PR#1126](https://github.com/aidasoft/DD4hep/pull/1126))
1498 - Allow to user-set world material in compact description:
1499 ```
1500 <world material="Steel235">
1501 </world>
1502 ```
1503 See issue https://github.com/AIDASoft/DD4hep/issues/1116 for details.
1504 - Add test t_minitel_config_world_material illustrating the feature.
1505
1506 * 2023-06-02 tmadlener ([PR#1124](https://github.com/aidasoft/DD4hep/pull/1124))
1507 - DDDigi: Make the `get{Value,}TypeName` calls work with the upcoming switch to `std::string_view` return types in podio.
1508
1509 * 2023-06-01 Andre Sailer ([PR#1123](https://github.com/aidasoft/DD4hep/pull/1123))
1510 - Volumes.h: rearrange implementation of classes, fix needed for gcc13/root 6.28/04, c++20
1511
1512 * 2023-06-01 Juraj Smiesko ([PR#1122](https://github.com/aidasoft/DD4hep/pull/1122))
1513 - ddsim: fix indentation from steeringfile produced by `ddsim --dumpSteeringFile`
1514
1515 * 2023-06-01 Dmitry Kalinkin ([PR#1089](https://github.com/aidasoft/DD4hep/pull/1089))
1516 - Add optional support for reading compressed files using HepMC3. Enabled with cmake flag DD4HEP_HEPMC3_COMPRESSION_SUPPORT. Needs at least HepMC3.2.5 and presence of zlib, lzma, bzip2
1517
1518 * 2023-05-31 Markus Frank ([PR#1120](https://github.com/aidasoft/DD4hep/pull/1120))
1519 - Fix example arguments
1520
1521 * 2023-05-31 Dmitry Kalinkin ([PR#1106](https://github.com/aidasoft/DD4hep/pull/1106))
1522 - DetectorImp::getRefChild() will no longer print to error context to std::cout, it will instead appear in the message of the runtime_exception thrown.
1523
1524 * 2023-05-30 Markus Frank ([PR#1119](https://github.com/aidasoft/DD4hep/pull/1119))
1525 - Disable DDCMS Geant4 example to resolve MR chain
1526
1527 * 2023-05-30 Paul Gessinger ([PR#1109](https://github.com/aidasoft/DD4hep/pull/1109))
1528 - Remove `using namespace std;` in `Printout.cpp`
1529
1530 * 2023-05-30 Andre Sailer ([PR#1100](https://github.com/aidasoft/DD4hep/pull/1100))
1531 - CMake: increase required version of Cmake from 3.12 to 3.14
1532
1533 * 2023-05-30 Markus Frank ([PR#1098](https://github.com/aidasoft/DD4hep/pull/1098))
1534 - MiniTel Generate example should replect the detector in issue (https://github.com/AIDASoft/DD4hep/issues/1091)
1535
1536 * 2023-05-04 Wouter Deconinck ([PR#1105](https://github.com/aidasoft/DD4hep/pull/1105))
1537 - allow rotation/position transformation on entire CAD_MultiVolume
1538
1539 * 2023-04-26 Andre Sailer ([PR#1099](https://github.com/aidasoft/DD4hep/pull/1099))
1540 - thisdd4hep.sh: make the Geant4 path discovery compatible with Geant4 11.1.1
1541
1542 * 2023-04-25 Andre Sailer ([PR#1097](https://github.com/aidasoft/DD4hep/pull/1097))
1543 - Geant4InputHandling: in case the MC generator gives us a negative mass, the proper_time_precision could be negative and we would not identify properTimeZero correctly. Fixes parts of #1094 when ddg4 smearing is used.
1544
1545 * 2023-04-21 scott snyder ([PR#1093](https://github.com/aidasoft/DD4hep/pull/1093))
1546 - ddsim: Fix handling of --meta.runNumberOffset and --meta.eventNumberOffset command-line switches.
1547
1548 * 2023-04-21 Frank Gaede ([PR#1088](https://github.com/aidasoft/DD4hep/pull/1088))
1549 - fix units in `Geant4FastSimShowerModel::constructSensitives`
1550 - used for energy check in `Geant4FastSimShowerModel::check_trigger` for fast simulation
1551
1552 * 2023-04-21 Andre Sailer ([PR#1074](https://github.com/aidasoft/DD4hep/pull/1074))
1553 - DDSim: add explicit configuration of the Geometry construction, exposing many debug options for elements, materials, volumes, shapes, placements, Reflections, Regions, and Surfaces. See ddsim --help or --dumpSteeringFile
1554
1555 * 2023-03-31 Markus Frank ([PR#1087](https://github.com/aidasoft/DD4hep/pull/1087))
1556 - Improve plugin information
1557 - inline in StandardPlugins.cpp and ShapePlugins.cpp
1558 - In DD4hep manual
1559
1560 * 2023-03-30 Andre Sailer ([PR#1086](https://github.com/aidasoft/DD4hep/pull/1086))
1561 - HepMC3: use all vertex information to create primary vertices, including time, fixes #1082
1562
1563 * 2023-03-29 Markus Frank ([PR#1084](https://github.com/aidasoft/DD4hep/pull/1084))
1564 - Upgrade standard plugins. Add some help information
1565
1566 * 2023-03-29 Markus Frank ([PR#1083](https://github.com/aidasoft/DD4hep/pull/1083))
1567 - Add plugin to assign VolumIDs to DetElements
1568 Normally this functionality id done by the VolumeManager. However, some clients prefer to not use the volume manager.
1569 With this plugin this basic functionality can be maintained.
1570 - Update plugin DD4hep_DetectorDump to optionally output the accumulated volume identifiers when traversing
1571 the DetElement tree.
1572
1573 To test both, invoke e.g.:
1574 ```
1575 $> geoPluginRun -input ../DD4hep/DDDetectors/compact/SiD.xml \
1576 -plugin DD4hep_DetElementVolumeIDs -detector /world \
1577 -plugin DD4hep_DetectorDump -sensitive -volids
1578 ```
1579
1580 * 2023-03-23 Markus Frank ([PR#1081](https://github.com/aidasoft/DD4hep/pull/1081))
1581 Allow users to add track user information to G4 tracks, which then moves to Geant4Particle for saving
1582 Use class Geant4ParticleInformation to extend the Geant4Particle object.
1583 Wrapper to store any user information as a `G4VUserTrackInformation` in a `G4Track`.
1584 The data of type `ParticleExtension` is moved from the `G4Track` to the `Geant4Particle` in the `Geant4ParticleHandler` if present. This automatically make the `G4Track` instance persistent as a `Geant4Particle`.
1585 Hence: Be careful to not assign the entity by default!
1586
1587 The data in the subclass of `ParticleExtension` defined by the user
1588 requires a dictionary to be stored to ROOT.
1589
1590 - Example: examples/DDG4_MySensDet. See examples/DDG4_MySensDet/src/MyTrackerSDAction.cpp for details.
1591 - Great thanks to ROOT for now being able to store std::unique_ptr<T>!
1592 - This is sort of a sub-issue to https://github.com/AIDASoft/DD4hep/issues/1073
1593
1594 * 2023-03-23 Christopher Dilks ([PR#1069](https://github.com/aidasoft/DD4hep/pull/1069))
1595 - rename `OpticalTracker` example to `RICH`
1596
1597 * 2023-03-22 Markus Frank ([PR#1080](https://github.com/aidasoft/DD4hep/pull/1080))
1598 - Fix bug in B field component access after a space transformation of multipole fields.
1599 See issue MultipoleMagnet rotation #1073 https://github.com/AIDASoft/DD4hep/issues/1073 for details.
1600
1601 * 2023-03-22 Markus Frank ([PR#1079](https://github.com/aidasoft/DD4hep/pull/1079))
1602 - Optimize sensitive detector callbacks in DDG4.
1603 Many operations were performed twice: once in the sensitive detector, and once again in the computation of
1604 the MC contribution to the hit. This MR removes multiple computations and uses the results from the MC
1605 contribution to create the hit.
1606 The change should be fully compatible and delivers numerically identical results.
1607
1608 - Remove deprecated DetElement factories.
1609 To not clutter the global namespace with factory names, factories in the DDDetectors area were declared
1610 deprecated many years ago. At a time these factories were replaced by identical factoris with a name prefix "DD4hep_".
1611 These factories are "official" and should be used instead.
1612 On creation such factories issued a warning message.
1613 It is now time to remove these factories completely.
1614
1615 * 2023-03-21 Christopher Dilks ([PR#1065](https://github.com/aidasoft/DD4hep/pull/1065))
1616 - Add test for average energy deposition in `OpticalTracker` example, for `Geant4SensitiveAction<Geant4OpticalTracker>`
1617
1618 * 2023-03-15 Markus Frank ([PR#1078](https://github.com/aidasoft/DD4hep/pull/1078))
1619 - See issue 1076 https://github.com/AIDASoft/DD4hep/issues/1076
1620
1621 * 2023-03-15 Wouter Deconinck ([PR#1075](https://github.com/aidasoft/DD4hep/pull/1075))
1622 - ddsim: Support for setting etaMin and etaMax. These override the respective theta settings!
1623
1624 * 2023-03-03 Markus Frank ([PR#1071](https://github.com/aidasoft/DD4hep/pull/1071))
1625 - Verify and enhance the possibility to import plugin definitions from an external XML file
1626 (See isue: https://github.com/AIDASoft/DD4hep/issues/1062).
1627 The corresponding examples are:
1628 -- minitel_config_plugins_include_command_line, which shows how to perform the task by parsing sequentially the
1629 XML input files like:
1630 ```
1631 $> geoPluginRun -input <path>/compact/MiniTel.xml -input <path>/compact/ExamplePlugins.xml
1632 ```
1633 -- minitel_config_plugins_include_command_xml, where the second XML file is simply included:
1634
1635 <includes>
1636 <file ref=<path>/examples/ClientTests/compact/BoxTrafos.xml/>
1637 <file ref=<path>/examples/ClientTests/compact/ExamplePlugins.xml/>
1638 </includes>
1639 where `BoxTrafos` is the entire original XML containing the geometry.
1640 - Add plugins: configure Volume/SensitiveDetector object instances from information in XML Nodes. Given an XML tag like:
1641 ```
1642 <plugin type="config" name="DD4hep_DetElementConfig" path="/world" debug="true">
1643 <volume>
1644 <regionref name="world_region"/>
1645 <limitsetref name="world_limits"/>
1646 <visref name="world_vis"/>
1647 </volume>
1648 </plugin>```
1649 Can be used directly to modify the settings of s DetElement identified by its path. Similar for sensitive detector objects:
1650 ```
1651 <plugin type="config" name="DD4hep_SensitiveDetectorConfig" detector="MyLHCBdetector5" debug="true">
1652 <combine_hits value="true"/>
1653 <verbose value="true"/>
1654 <type value="tracker"/>
1655 <ecut value="5*keV"/>
1656 <hits_collection value="hits_collection_5"/>
1657 </plugin>
1658 ```
1659 - This construct also allows to configure the world volume as part of the resolution of issue https://github.com/AIDASoft/DD4hep/issues/1064
1660 ```
1661 <world debug="true">
1662 <regionref name="world_region"/>
1663 <limitsetref name="world_limits"/>
1664 <visref name="world_vis"/>
1665 </world>
1666 ```
1667 Technically the implementation are XML utilities, which are used both by the plugin and the Compact converter.
1668
1669 - Propagate the changes to the world volume to Geant4, which was not possible with DDG4 before, because production cuts and region settings for the world volume belong to Geant4 and are managed by Geant4. (also https://github.com/AIDASoft/DD4hep/issues/1064)
1670 - Side product: Add debug flags for the G4 LimitSet conversion. To enable the flags in the python setup:
1671
1672 ```
1673 seq, act = m.geant4.addDetectorConstruction("Geant4DetectorGeometryConstruction/ConstructGeo")
1674 act.DebugLimits = True
1675 ```
1676 - Have the maps in DetectorData being named to ease debugging.
1677 - Add some XML attribute conversions (more user friendliness)
1678 - Add accessors to the PlacedVolume and the Volume handles to access the class name of the implementing class.
1679 - DDDigi: Add passing event parameters to the output and from the input record to the store. Needs testing though,
1680 but this requires a new release of podio.
1681
1682 * 2023-03-02 Markus Frank ([PR#1070](https://github.com/aidasoft/DD4hep/pull/1070))
1683 - PR 1068 was incomplete (OpticalTracker). Add the missing pieces.
1684
1685 * 2023-03-01 Christopher Dilks ([PR#1068](https://github.com/aidasoft/DD4hep/pull/1068))
1686 - fix: fill energy deposition for `Geant4SensitiveAction<Geant4OpticalTracker>`
1687
1688 * 2023-03-01 Markus Frank ([PR#1066](https://github.com/aidasoft/DD4hep/pull/1066))
1689 - Add include directive in <plugins> section
1690 (https://github.com/AIDASoft/DD4hep/commit/43b66bfd145c9e58c91f2189c2a3671ef9b2ef8e)
1691 See Issue 1062 (https://github.com/AIDASoft/DD4hep/issues/1062)
1692 - With test: /examples/ClientTests/compact/IncludePlugins.xml
1693 - Some (mostly cosmetic) refactorization in DDDigi
1694
1695 # v01-25-01
1696
1697 * 2023-02-24 Andre Sailer ([PR#1063](https://github.com/aidasoft/dd4hep/pull/1063))
1698 * DDG4: fix -Wnon-pod-varargs in Geant4Output2EDM4hep, which fails on clang
1699
1700 # v01-25
1701
1702 * 2023-02-23 Thomas Madlener ([PR#1059](https://github.com/aidasoft/dd4hep/pull/1059))
1703 - Propagate HepMC event weights to EDM4hep and LCIO outputs of ddsim
1704 - Store all available weights and their names into the Frame / Event parameters, additionally store the first weight into the `weight` field of the `edm4hep::EventHeader`, resp. the `LCEvent`.
1705 - Add a possibility to store `double` values in `DDG4::EventParameters`
1706
1707 * 2023-02-23 Andre Sailer ([PR#920](https://github.com/aidasoft/dd4hep/pull/920))
1708 - DDG4: Geant4InputHandling: Try to address the simulation of Excited Ions. Print a warning if we encounter excited Ions that Geant4 cannot handle. Waiting for something else to provide the excitation energy information that is needed in this case. Fixes #918 and #1051
1709 - DDSim: Catch and log exceptions for physics/userFunctions.
1710
1711 * 2023-02-21 Ben Couturier ([PR#1060](https://github.com/aidasoft/dd4hep/pull/1060))
1712 - Prevent a compact file from being loaded twice if the debug option "incguard" has been set.
1713
1714 * 2023-02-16 Andre Sailer ([PR#1061](https://github.com/aidasoft/dd4hep/pull/1061))
1715 - ddsim: make it possible to use batchmode with userInputPlugins only
1716
1717 * 2023-02-09 Markus Frank ([PR#1058](https://github.com/aidasoft/dd4hep/pull/1058))
1718 The export of dd4hep::units is problematic in the presence of identical libraries from DD4hep in the LD_LIBRARY_PATH:
1719 - The ROOT auto-class loading tends to falsely load these libraries if constants from the dd4hep namespace are requested in python. This is clearly wrong: the original libraries may not be binary compatible. The
1720 - The export of the units using a helper class fixes this and ensures that the auto load mechanism is not automatically triggered. This is at least a formally correct solution until the auto load mechanism is better understood.
1721
1722 - In the ROOT loader for DDDigi the `TBranch::SetAutoDelete(true)` was not set causing eventually double deletion and arbitrary crashes. Data read by DDDigi are put on the store and deleted by the application to allow subsequent reading for feeding other threads. If ROOT would take care of the deletion, multi-threaded processing is not possible.
1723
1724 * 2023-02-06 Dmitry Kalinkin ([PR#1055](https://github.com/aidasoft/dd4hep/pull/1055))
1725 - Pass `DYLD_LIBRARY_PATH` environment to listcomponents_dd4hep when generating rootmaps in CMake
1726
1727 * 2023-01-31 Paul Gessinger ([PR#1053](https://github.com/aidasoft/dd4hep/pull/1053))
1728 - Check podio version for compatibility in cmake
1729
1730 * 2023-01-30 Dmitry Kalinkin ([PR#1052](https://github.com/aidasoft/dd4hep/pull/1052))
1731 - Removed not implemented declaration of member function `PlacedVolume::flags()`
1732
1733 * 2023-01-26 Thomas Madlener ([PR#1050](https://github.com/aidasoft/dd4hep/pull/1050))
1734 - DDG4 EDM4hep Output: Write Frames into the `"runs"` category of the output file to store some run information.
1735
1736 # v01-24
1737
1738 * 2023-01-20 Andre Sailer ([PR#1048](https://github.com/AIDASoft/DD4hep/pull/1048))
1739 - add -Wno-psabi to compiler flags to ignore warnings about ABI changes that we will never have issues with. Fixes #1043
1740
1741 * 2023-01-20 Andre Sailer ([PR#1046](https://github.com/AIDASoft/DD4hep/pull/1046))
1742 - ParticleHandler: account for modified stepping actions, where tracking of a particle could be paused and later restarted.
1743
1744 * 2023-01-18 Andre Sailer ([PR#1045](https://github.com/AIDASoft/DD4hep/pull/1045))
1745 - thisdd4hep: fix an issue with environment paths getting dropped when they contain a complete substring of a path that is going to be added
1746
1747 * 2023-01-18 Markus Frank ([PR#1044](https://github.com/AIDASoft/DD4hep/pull/1044))
1748 - This PR addresses issue https://github.com/AIDASoft/DD4hep/issues/1037
1749 Rather than adding the beta as a double it was chosen to add at each step the track momentum
1750 in floats which for 4 more bytes offers more information.
1751
1752 * 2023-01-18 Andre Sailer ([PR#1042](https://github.com/AIDASoft/DD4hep/pull/1042))
1753 - ddsim: fix exception when a compactFile path not containing any slashes was given (fixes #1039 )
1754
1755 * 2023-01-17 Markus Frank ([PR#1041](https://github.com/AIDASoft/DD4hep/pull/1041))
1756 - Make DDDigi I/O interface more common and add edm4hep write/read example
1757 - Move DDG4 edm4hep writer to use podio Frames
1758
1759 * 2023-01-11 Markus Frank ([PR#1038](https://github.com/AIDASoft/DD4hep/pull/1038))
1760 - Improve DDDigi documentation when opening code sub-page
1761 - Silence flak8 warning from python
1762 - Fix a bug in the detector checksum module. Tested with TGeo units and G4 units of the CLICSiD model.
1763 - Propagate the configuration flag `DD4HEP_USE_EDM4HEP` to the generated dd4hep cmake of client projects.
1764 - Add DDDigi output module for the edm4hep format
1765 - Add DDDigi output module for the native ROOT objects including required dictionaries.
1766
1767 * 2022-12-15 Markus Frank ([PR#1032](https://github.com/AIDASoft/DD4hep/pull/1032))
1768 - Improve GDML export procedures
1769 -- Allow to set export precision in the plugin
1770 -- New ROOT release needed to properly export surfaces (current ROOT GDML export does not handle this currectly)
1771 See ROOT PR https://github.com/root-project/root/pull/11886
1772 See ROOT PR https://github.com/root-project/root/pull/11887
1773 See ROOT PR https://github.com/root-project/root/pull/11888
1774 See ROOT PR https://github.com/root-project/root/pull/11889
1775 See ROOT PR https://github.com/root-project/root/pull/11895
1776 - Remove some build errors for MAC
1777
1778 * 2022-12-09 Markus Frank ([PR#1030](https://github.com/AIDASoft/DD4hep/pull/1030))
1779 - Program GDML writer (requires new ROOT release to take advantage)
1780
1781 * 2022-12-09 Markus Frank ([PR#1029](https://github.com/AIDASoft/DD4hep/pull/1029))
1782 - Improve DDDigi package doc
1783 - Bug fix in detector checksum
1784 - Remove flak8 warnings
1785
1786 * 2022-12-06 Markus Frank ([PR#1028](https://github.com/AIDASoft/DD4hep/pull/1028))
1787 - Add detector checksum facility as plugin: Compare different detector setups
1788 - Gives identical hash results for TGeo units and G4 units
1789 - Supports detector dumps with "unified" strings for debugging
1790 ```
1791 Usage: -plugin DD4hepDetectorChecksum -arg [-arg]
1792
1793 -detector <string> Top level DetElement path. Default: '/world'
1794 -readout also hash the detector's readout properties
1795 (sensitive det, id desc, segmentation)
1796 default: false
1797
1798 Debugging: Dump individual hash codes (debug>=1)
1799 Debugging: and the hashed string (debug>2)
1800 -dump_elements Dump hashes of used elements
1801 -dump_materials Dump hashes of used materials
1802 -dump_solids Dump hashes of used solids
1803 -dump_volumes Dump hashes of used volumes
1804 -dump_placements Dump hashes of used placements
1805 -dump_detelements Dump hashes of used detelements
1806 -dump_sensitive Dump hashes of sensitive detectors
1807 -dump_readout Dump hashes of readout entities
1808 -dump_iddescriptors Dump hashes of ID descriptors
1809 -dump_segmentations Dump hashes of readout segmentations
1810
1811 Modify units in the created hash strings (deprecated):
1812 -length_unit <value> Unit of length as literal. default: mm
1813 -angle_unit <value> Unit of angle as literal. default: deg
1814 -energy_unit <value> Unit of energy as literal. default: GeV
1815 -density_unit <value> Unit of density as literal. default: g/cm3
1816 -atomic_unit <value> Unit of atomic weight as literal. default: g/mole
1817
1818 -debug <number> Enable debug printouts.
1819 -help Print this help output
1820 ```
1821
1822 * 2022-11-30 Kolja Kauder ([PR#1017](https://github.com/AIDASoft/DD4hep/pull/1017))
1823 - Final state HepMC particles were all attached to (0,0,0). Fixed by switching vertex creation for parentless particles to using their end-point instead, fixes #1013
1824
1825 * 2022-11-26 Markus Frank ([PR#1026](https://github.com/AIDASoft/DD4hep/pull/1026))
1826 - Fixed some coverity defects recently reported
1827 - Fix Geant4Converter bug: Protect for reflected assembly shapes.
1828 - Added feature to Geant4Output2ROOT to change file when the run number changes (ie. for each /run/beamOn command)
1829 - Modify and enhance the MiniTel example in ClientTests to serve as a small, but flexible testbed for DDDigi
1830 - Add multiple DDDigi tests using the modified MiniTel
1831 o Data generator using DDG4
1832 o See examples/DDDigi/scripts for the tests:
1833 o multiple interactions
1834 o spillover events
1835 o Container parallelization
1836 o Segmentation parallization
1837 - Started to implement a checksum mechanism based on well formatted XML dumps similar to GDML, but with
1838 well defined floating point precision.
1839 o See https://github.com/AIDASoft/DD4hep/issues/994 for details
1840 o first and incomplete dump for shapes.
1841 o to be completed eventually
1842 o whoever feels like it can become involved to implement such dumps for other objects:
1843 - elements, isotopes, materials, DetElements, Volumes, Placements etc.
1844
1845 * 2022-11-25 jmcarcell ([PR#1024](https://github.com/AIDASoft/DD4hep/pull/1024))
1846 - Fix compiler warning about unused variable
1847 - Fix warning in example test and fix also the test, it was comparing `char* == char*` which is almost never true
1848
1849 * 2022-11-24 Wouter Deconinck ([PR#1012](https://github.com/AIDASoft/DD4hep/pull/1012))
1850 - DDG4: Geant4TCUserParticleHandler: Allow for asymmetric tracking region with `tracker_region_zmin`
1851
1852 * 2022-11-22 Markus Frank ([PR#1023](https://github.com/AIDASoft/DD4hep/pull/1023))
1853 Take into account suggestions from PR https://github.com/AIDASoft/DD4hep/pull/1021
1854
1855 * 2022-11-22 Markus Frank ([PR#1021](https://github.com/AIDASoft/DD4hep/pull/1021))
1856 - Implemented issue https://github.com/AIDASoft/DD4hep/issues/1010: Changing Geant4 physics flags
1857 o Extended the Geant4UIManager to support command queues at various stages of the program:
1858 -- configure
1859 -- initialize
1860 -- pre-run
1861 -- post-run
1862 -- terminate
1863 o Added interface function to directly communicate with the G4UI using string commands at any time
1864 from python.
1865 o Extended Geant4Kernel functionality to allow client actions to subscribe to stages of the program
1866 and perform dedicated actions on:
1867 -- configure
1868 -- initialize
1869 -- terminate
1870 As an example please see DDG4/src/Geant4UIManager.cpp
1871
1872 - Dropped issue https://github.com/AIDASoft/DD4hep/issues/1004 after some tests and investigation:
1873 This issue cannot be resolved, because MC records may also be read without Geant4 and a physics list being initialized.
1874 Hence the event readers cannot implement such a feature if the event record does not support charge, but only the PDG code.
1875 Conclusion is to best update the charge of particles at the output stage using the PDG code or to implement an event action,
1876 which performs this actions right before the output stage.
1877 - Simplified component properties.
1878 - Improvements to DDDigi (work in progress)
1879
1880 * 2022-11-17 Andre Sailer ([PR#1019](https://github.com/AIDASoft/DD4hep/pull/1019))
1881 - LCIOConversions: fix attaching SimCaloHit collections to event, this was accidentally dropped in #922
1882
1883 * 2022-11-16 Jonas Hahnfeld ([PR#1018](https://github.com/AIDASoft/DD4hep/pull/1018))
1884 - Fix build with GCC 8
1885
1886 * 2022-11-11 Wouter Deconinck ([PR#1011](https://github.com/AIDASoft/DD4hep/pull/1011))
1887 - Allow HepMC3 ROOT input files in ddsim when they end with `.hepmc3.tree.root`
1888
1889 * 2022-11-10 Wouter Deconinck ([PR#989](https://github.com/AIDASoft/DD4hep/pull/989))
1890 - ddsim: Automatically interpret '.hepmc3' input files
1891
1892 * 2022-11-03 Andre Sailer ([PR#1005](https://github.com/AIDASoft/DD4hep/pull/1005))
1893 - Examples: OpticalTracker: declare dependency on DDRec
1894 - Docs: fix some typos noted in #1003
1895
1896 * 2022-10-30 Markus Frank ([PR#1002](https://github.com/AIDASoft/DD4hep/pull/1002))
1897 - Fix to issue https://github.com/AIDASoft/DD4hep/issues/1000 and https://github.com/AIDASoft/DD4hep/issues/999
1898
1899 * 2022-10-29 Markus Frank ([PR#998](https://github.com/AIDASoft/DD4hep/pull/998))
1900 - DDCore
1901 -- Add string hash function for 8 and 16 bit hash results
1902 -- Add position transformations (world, detector element) to volume manager
1903
1904 - DDG4
1905 -- Fix interface to Geant4StackingAction. Add missing function interface to allow access to ClassifyNewTrack.
1906 Also pass the current stacking manager reference to all user callbacks.
1907 -- Add simple example to test the functionality examples/DDG4/scrips/TestStacking.py
1908
1909 - DDDigi
1910 -- Add some processor plugins for simple data processing.
1911 -- Enhance the usage of the Key identifier.
1912 -- Add several test scripts in the example area.
1913
1914 - examples
1915 -- Reduce the test execution time of the top CPU consumers by reducing the number of simulated events.
1916
1917 * 2022-10-24 Paul Gessinger ([PR#997](https://github.com/AIDASoft/DD4hep/pull/997))
1918 - DD4HEP_RELAX_PYVER is exported to `DD4hepConfig.cmake`.
1919
1920 * 2022-10-22 Andre Sailer ([PR#996](https://github.com/AIDASoft/DD4hep/pull/996))
1921 - DDSim: fix bug preventing the use of integers for the verbosity level (-v/--printLevel, --output.input etc.) fixes #992
1922
1923 * 2022-10-17 Andre Sailer ([PR#987](https://github.com/AIDASoft/DD4hep/pull/987))
1924 - DDEve: Adapt to renamed header in upcoming ROOT 6.28
1925
1926 * 2022-10-17 Wouter Deconinck ([PR#986](https://github.com/AIDASoft/DD4hep/pull/986))
1927 - Shapes::Trap: Fix the 4-argument trapezoidal prism constructor (again)
1928
1929 * 2022-10-10 Wouter Deconinck ([PR#983](https://github.com/AIDASoft/DD4hep/pull/983))
1930 - Ensure that closed tessellated solids are converted to closed solids in geant4
1931
1932 # v01-23
1933
1934 * 2022-09-28 Wouter Deconinck ([PR#982](https://github.com/aidasoft/dd4hep/pull/982))
1935 - ddsim: set eta_min, eta_max correctly for `ddsim --gun.distribution eta`
1936
1937 * 2022-09-23 Markus Frank ([PR#980](https://github.com/aidasoft/dd4hep/pull/980))
1938 Remove using declarations in root-cling dictionary files to avoid interpreter clashes with the global namespace
1939
1940 Affected files:
1941 - DDCore/src/GeoDictionary.h
1942 - DDCore/src/PropertyDictionary.h
1943 - DDCore/src/RootDictionary.h
1944 - DDCore/src/SegmentationDictionary.h
1945 - DDEve/include/DDEve/Dictionary.h
1946 - DDG4/include/DDG4/DDG4Dict.h
1947
1948 * 2022-09-23 Marco Clemencic ([PR#979](https://github.com/aidasoft/dd4hep/pull/979))
1949 - Use explicit namespaces in DDCond dictionary
1950
1951 * 2022-09-19 Wouter Deconinck ([PR#976](https://github.com/aidasoft/dd4hep/pull/976))
1952 - `geoConverter -compact2tgeo` to write TGeo geometry to ROOT file
1953
1954 * 2022-09-19 Christopher Dilks ([PR#974](https://github.com/aidasoft/dd4hep/pull/974))
1955 - add example RICH detector, demonstrating and testing `Geant4OpticalTrackerAction`
1956
1957 * 2022-09-16 Wouter Deconinck ([PR#975](https://github.com/aidasoft/dd4hep/pull/975))
1958 - materialBudget: enable use with asymmetric detectors: adding thetaMin/thetaMax/etaMin to the steering file
1959
1960 * 2022-09-15 Wouter Deconinck ([PR#967](https://github.com/aidasoft/dd4hep/pull/967))
1961 - Geant4OpticalTrackerAction which stops-and-kills optical photons for e.g. SiPM sensor planes
1962
1963 * 2022-09-12 Christopher Dilks ([PR#973](https://github.com/aidasoft/dd4hep/pull/973))
1964 - fix typo in `examples/README.md`: `cmake` option `DD4HEP_BUILD_EXAMPLES` should be `DD4HEP_EXAMPLES`
1965
1966 * 2022-09-07 Dmitry Kalinkin ([PR#972](https://github.com/aidasoft/dd4hep/pull/972))
1967 - Refactor thisdd4hep.sh to use local variables where possible to prevent user environment corruption.
1968
1969 * 2022-09-01 Andre Sailer ([PR#969](https://github.com/aidasoft/dd4hep/pull/969))
1970 - DDSim: ddsim now prints out if the defaultFilter or if no filter is used for a sensitive detector
1971
1972 * 2022-09-01 Wouter Deconinck ([PR#968](https://github.com/aidasoft/dd4hep/pull/968))
1973 - ddsin: Add `--runType qt` support for enabling the graphical Qt interface for geant4
1974 - ddsim: change shell type to tcsh: enabling tab completion when Geant4 offers it
1975
1976 * 2022-08-26 Andre Sailer ([PR#962](https://github.com/aidasoft/dd4hep/pull/962))
1977 - DDCore: DetectorInfo: make INFO attributes optional, fixes #960
1978
1979 * 2022-08-25 Andre Sailer ([PR#963](https://github.com/aidasoft/dd4hep/pull/963))
1980 - ChannelingCrystalMaterial: fix crystal_orientation to be constPropertyRef
1981
1982 * 2022-08-25 Andre Sailer ([PR#961](https://github.com/aidasoft/dd4hep/pull/961))
1983 - DDSim: fix example for adding user physics list extension
1984
1985 # v01-22
1986
1987 * 2022-08-16 Andre Sailer ([PR#957](https://github.com/aidasoft/dd4hep/pull/957))
1988 - CI: add check for header guards
1989
1990 * 2022-08-15 Andre Sailer ([PR#956](https://github.com/aidasoft/dd4hep/pull/956))
1991 - CI: Add test with Geant4Units enabled
1992
1993 * 2022-08-15 Andre Sailer ([PR#946](https://github.com/aidasoft/dd4hep/pull/946))
1994 - CI changes, for discussion
1995
1996 * 2022-08-11 Markus Frank ([PR#954](https://github.com/aidasoft/dd4hep/pull/954))
1997 Before starting to parse XML files, programatically set the locale to "C" if any of the three
1998 - LC_NUMERIC,
1999 - LC_TIME,
2000 - LC_CTYPE
2001 Is not set to "C".
2002
2003 Addresses issue https://github.com/AIDASoft/DD4hep/issues/913.
2004
2005 * 2022-08-11 Andre Sailer ([PR#953](https://github.com/aidasoft/dd4hep/pull/953))
2006 - DDSim: find the python executable used during build and set that for the hashbang, e.g. python3.9 instead of python. Fixes #952
2007
2008 * 2022-08-10 Markus Frank ([PR#951](https://github.com/aidasoft/dd4hep/pull/951))
2009 - Allow to set MeanExcEnergy, MeanEnergyPerIonPair and BirksConstant in G4Materials ionisation parameters.
2010 Specify values in the compact description of the materials:
2011 ```
2012 <material name="Ice">
2013 <D type="density" value="1.0" unit="g/cm3"/>
2014 <composite n="2" ref="H"/>
2015 <composite n="1" ref="O"/>
2016 <constant name="BirksConstant" value="123.456*mm/MeV"/>
2017 <constant name="MeanExcitationEnergy" value="79.7*eV"/>
2018 <constant name="MeanEnergyPerIonPair" value="50*eV"/>
2019 </material>
2020 ```
2021 Units will be converted to Geant4 units in the converter.
2022 See issue https://github.com/AIDASoft/DD4hep/issues/890 for details.
2023
2024 If in DDG4 the the material debugging is enabled:
2025 ```
2026 # Configure G4 geometry setup
2027 seq, act = geant4.addDetectorConstruction("Geant4DetectorGeometryConstruction/ConstructGeo")
2028 act.DebugMaterials = True
2029 ```
2030 this gives the following output:
2031 ```
2032 Ice ++ Created G4 material Material: Ice density: 1.000 g/cm3 RadL: 36.083 cm Nucl.Int.Length: 75.375 cm
2033 Imean: 79.700 eV temperature: 293.15 K pressure: 1.00 atm
2034
2035 ---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
2036 ---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
2037 ---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
2038 ElmMassFraction: 11.19 % ElmAbundance 66.67 %
2039
2040 ---> Element: O (O) Z = 8.0 N = 16 A = 15.999 g/mole
2041 ---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
2042 ---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
2043 ---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
2044 ElmMassFraction: 88.81 % ElmAbundance 33.33 %
2045 log(MEE): -9.437 Birk's constant: 123.5 [mm/MeV] Mean Energy Per Ion Pair: 50 [eV]
2046 ```
2047
2048 * 2022-08-10 Markus Frank ([PR#950](https://github.com/aidasoft/dd4hep/pull/950))
2049 On request from out LHC colleagues DD4hep supports channeling physics in Geant4.
2050 To support channeling physics in Geant4 it is necessary to enable the transparent
2051 creation of G4ExtendedMaterial and G4LogicalCrystalVolume instances.
2052 This can be done in DD4hep with the supply of material and volume properties in DD4hep.
2053
2054 Material properties can be supplied in the compact description like here:
2055 ```
2056 <material name="Ice">
2057 <D type="density" value="1.0" unit="g/cm3"/>
2058 <composite n="2" ref="H"/>
2059 <composite n="1" ref="O"/>
2060 <constant name="Geant4-plugin:material" option="ChannelingCrystalMaterial"/>
2061 <constant name="Geant4-ignore:crystal_data" option="${DD4hepExamplesINSTALL}/examples/DDG4/data/Si220pl/Si220pl"/>
2062 <constant name="Geant4-ignore:crystal_orientation" option="(1,0,0)"/>
2063 </material>
2064 ```
2065 The property starting with the tag `Geant4-plugin` is used to determine the proper plugin
2066 preparing the G4ExtendedMaterial instance.
2067 All properties with tags `Geant4-ignore` are not passed as material properties to Geant4.
2068 Properties starting with this tag can be used by users to configure the G4ExtendedMaterial instance.
2069
2070 Volumes can as well have properties as this C++ example shows:
2071 ```
2072 Volume vol = Volume("Volume", solid, material);
2073 xml_elt_t ec = ...;
2074 vol.addProperty(ec.attr<std::string>(_U(name)), ec.attr<std::string>(_U(value)));
2075 ```
2076 with values supplied by XML:
2077 ```
2078 <property name="Geant4-plugin" value="ChannelingCrystalVolume"/>
2079 ```
2080 For more details see the example `<DD4hep>/examples/DDG4/compact/Channeling.xml`.
2081 Again the property `Geant4-plugin` is used to call a plugin to create sub-classes
2082 of G4LogicalVolume like G4LogicalCrystalVolume.
2083
2084 An example was prepared in `<DD4hep>/examples/DDG4` containing:
2085 - a compact description: `compact/Channeling.xml`
2086 - an example factory for the G4ExtendedMaterial: `src/ChannelingCrystalMaterial.cpp`
2087 - an example factory for the G4LogicalCrystalVolume: `src/ChannelingCrystalVolume.cpp`
2088 - A script invoking Geant4 to test this setup: `scripts/Channeling.py`
2089
2090 * 2022-08-09 Dmitry Kalinkin ([PR#949](https://github.com/aidasoft/dd4hep/pull/949))
2091 - DDSim: restore the fixed momentum behaviour of `--gun.energy`, independent of the isotrop setting for the particle gun. If gun.energy is set, the momentum will have this value. If it is not set, momentumMin and momentumMax will be used to pick a value.
2092
2093 * 2022-08-05 Andre Sailer ([PR#942](https://github.com/aidasoft/dd4hep/pull/942))
2094 - DDSim: add option to set userInputPlugin for simulation by adding a plugin for themselves, and this to the ddsim steering file (for #940)
2095 ```python
2096 def exampleUserPlugin(dd4hepSimulation):
2097 '''Example code for user created plugin.
2098
2099 :param DD4hepSimulation dd4hepSimulation: The DD4hepSimulation instance, so all parameters can be accessed
2100 :return: GeneratorAction
2101 '''
2102 from DDG4 import GeneratorAction, Kernel
2103 # Geant4InputAction is the type of plugin, Cry1 just an identifier
2104 gen = GeneratorAction(Kernel(), 'Geant4InputAction/Cry1' , True)
2105 # CRYEventReader is the actual plugin, steeringFile its constructor parameter
2106 gen.Input = 'CRYEventReader|' + 'steeringFile'
2107 # we can give a dictionary of Parameters that has to be interpreted by the setParameters function of the plugin
2108 gen.Parameters = {'DataFilePath': '/path/to/files/data'}
2109 gen.enableUI()
2110 return gen
2111
2112 SIM.inputConfig.userInputPlugin = exampleUserPlugin
2113 ```
2114
2115 * 2022-08-04 Andrea Ciarma ([PR#944](https://github.com/aidasoft/dd4hep/pull/944))
2116 * Mask_o1: Added the possibility to have sensitive elements of type Mask_o1_v01_geo by adding a `sensitive="sensitiveType"` attribute
2117
2118 * 2022-08-02 Juraj Smiesko ([PR#941](https://github.com/aidasoft/dd4hep/pull/941))
2119 * checkOverlaps.py: Adding possibility to provide multiple compact files
2120 * checkOverlaps.py: replace optparse by argparse for up-to-date python
2121
2122 * 2022-08-01 Markus Frank ([PR#939](https://github.com/aidasoft/dd4hep/pull/939))
2123 - Follow up of https://github.com/AIDASoft/DD4hep/pull/938.
2124 Improves the DetectorCheck plugin.
2125 - Add example with an "ill" detector description that triggers the DetectorCheck plugin
2126 to complain and to eject pathes to problematic detector elements ect.
2127
2128 * 2022-07-29 Markus Frank ([PR#938](https://github.com/aidasoft/dd4hep/pull/938))
2129 - Fix type in DDCore/src/DD4hepRootPersistency.cpp
2130 - Add operator== and operator != to handles of DetElement, SensitiveDetector
2131 Volume and PlacedVolume. Check pointer values for equality.
2132 - Add plugin DD4hep_DetectorCheck. Improves and replaces DD4hep_VolumeMgrTest.
2133 o Test checks the strutural tree of a given top element
2134 o Test checks the geometry tree of a given top element
2135 o If physical volume ids are properly placed these can also be checked.
2136 ```
2137 DD4hep_DetectorCheck -option [-option]
2138 -help Print this help message
2139 -name <subdetector name> Name of the subdetector to be checked
2140 "ALL" or "all": loop over known subdetectors
2141 "world" start from the mother of all...
2142 -structure Check structural tree consistency
2143 -geometry Check geometry tree consistency
2144 -sensitve Check consistency between detector and volume
2145 settings of sensitive detectors.
2146 -volmgr Check volume manager entries against volIDs of
2147 sensitive volume placements.
2148
2149 NOTE: Option requires proper PhysVolID setup
2150 of the sensitive volume placements !
2151 ```
2152
2153 * 2022-07-27 Juraj Smiesko ([PR#937](https://github.com/aidasoft/dd4hep/pull/937))
2154 - Improving error message when setting detector type flags
2155
2156 * 2022-07-27 Andre Sailer ([PR#935](https://github.com/aidasoft/dd4hep/pull/935))
2157 - ddsim: Fix setting of zeroTimePDGs, previously this value was not forwarded from config to the program
2158 - particle.tbl: change 523 to unstable (fixes #909)
2159 - Geant4InputHandling: add exception when encountering stable particles with daughters that are marked for simulation (implements feature of #909)
2160 - Geant4InputHandling: reject particles with GEN_DOC, GEN_BEAM, GEN_OTHER (fixes part of #918)
2161
2162 * 2022-07-26 Markus Frank ([PR#936](https://github.com/aidasoft/dd4hep/pull/936))
2163 - Recursive calls to apply-plugins overwrote the return code.
2164 - This MR fixes issue https://github.com/AIDASoft/DD4hep/issues/875
2165
2166 - Support for 1D, 2D and 3D parameterised volumes.
2167 (Outstanding request by S.Ko)
2168 1. TGeo does not support parametrized volumes intrinsically.
2169 On the dd4hep/TGeo side these are implemented by multiple placements
2170 according to the user supplied transformation matrices.
2171 For details see the calls in `dd4hep::Volume::paramVolume<dim>D(...)`
2172 2. When translated to Geant4, the structures are identified and
2173 the proper Geant4 parameterisation is created.
2174 3. An example can be found in:
2175 - `examples/ClientTests/src/ParamVolume_geo.cpp`
2176 - to display: `geoDisplay examples/ClientTests/compact/ParamVolume<dim>D.xml`
2177 - the Geant4 conversion is excercised with the scripts:
2178 ```
2179 python examples/ClientTests/scripts/ParamVolume.py \
2180 -geometry examples/ClientTests/compact/ParamVolume<dim>D.xml \
2181 -vis -macro examples/ClientTests/compact/ParamVolume.mac ```
2182
2183 # v01-21
2184
2185 * 2022-07-19 Markus Frank ([PR#933](https://github.com/aidasoft/DD4hep/pull/933))
2186 The fast simulation handling in Geant4 includes the GFlash interface
2187 as implemented in `<geant40-source>/source/parameterisations/gflash`
2188 and a fast simulation interface as provided by
2189 `<geant40-source>/source/processes/parameterisation`
2190
2191 This MR allows to handle both mechanisms using the same callbacks
2192 in the Geant4SensitiveActions using the callback specialization:
2193 ```
2194 /// GFLASH/FastSim interface: Method for generating hit(s) using the information of the fast simulation spot object.
2195 virtual bool processFastSim(const Geant4FastSimSpot* spot, G4TouchableHistory* history) final;
2196 ```
2197 in addition to the regular callback for full simulation:
2198 ```
2199 /// G4VSensitiveDetector interface: Method for generating hit(s) using the G4Step object.
2200 virtual bool process(const G4Step* step,G4TouchableHistory* history) final;
2201 ```
2202 The `Geant4FastSimSpot` is inspired by the `G4GFlashSpot`, but avoids the specialization towards GFlash
2203 given that the `G4FastHit` and the `G4GFlashEnergySpot` are equivalent.
2204 Together with the helper class `Geant4FastSimHandler` simple sensitive detector callbacks
2205 can be implemented like:
2206 ```
2207 /// GFlash/FastSim interface: Method for generating hit(s) using the information of Geant4FastSimSpot object.
2208 template <> bool
2209 Geant4SensitiveAction<Geant4Tracker>::processFastSim(const Geant4FastSimSpot* spot,
2210 G4TouchableHistory* /* hist */)
2211 {
2212 typedef Geant4Tracker::Hit Hit;
2213 Geant4FastSimHandler h(spot);
2214 Hit* hit = new Hit(h.trkID(), h.trkPdgID(), h.deposit(), h.track->GetGlobalTime());
2215 hit->cellID = cellID(h.touchable(), h.avgPositionG4());
2216 hit->energyDeposit = h.deposit();
2217 hit->position = h.avgPosition();
2218 hit->momentum = h.momentum();
2219 hit->length = 0e0;
2220 collection(m_collectionID)->add(hit);
2221 return true;
2222 }
2223 ```
2224 Callbacks with this signature are called both for GFlash and the G4 fast simulation.
2225
2226 To simplify the user defined construction of fast simulation shower models
2227 the helper class `Geant4FastSimShowerModel` is implemented as a `Geant4Action`
2228 and hence allows to have options to be set by the user (including python).
2229
2230 As an illustration two fast simulation shower models were implemented in
2231 `<dd4hep>/DDG4/plugins/Geant4P1ShowerModel.cpp` which were directly deduced
2232 from the Geant4 example `<geant4-source>/examples/extended/parameterisations/Par01`.
2233 Please see the source files for details.
2234
2235 To execute GFlash or fast simulation to simple python examples are provided
2236 using simple silicon blocks as sensitive volumes:
2237 - GFlash `<dd4hep-dir>/examples/ClientTests/scripts/SiliconBlockGFlash.py`
2238 - Fast simulation `<dd4hep-dir>/examples/ClientTests/scripts/SiliconBlockFastSim.py`
2239
2240 To enable either the following actions are required:
2241 1. Enable fast simulation for certain particles in the physics list:
2242 ``` # Build the physics list:
2243 phys = geant4.setupPhysics('FTFP_BERT')
2244 ph = DDG4.PhysicsList(kernel, str('Geant4FastPhysics/FastPhysicsList'))
2245 ph.EnabledParticles = ['e+', 'e-']
2246 ph.enableUI()
2247 phys.adopt(ph)
2248 ```
2249 This step is identical for GFlash and fast simulation physics.
2250 2. Enable the shower mode:
2251 ``` model = DDG4.DetectorConstruction(kernel, str('Geant4Par01EMShowerModel/ShowerModel'))
2252 # Mandatory model parameters
2253 model.RegionName = 'SiRegion'
2254 model.Material = 'Silicon'
2255 model.ApplicableParticles = ['e+', 'e-']
2256 model.Etrigger = {'e+': 0.1 * GeV, 'e-': 0.1 * GeV}
2257 model.Enable = True
2258 model.enableUI()
2259 ```
2260 Here the options must be set according to the parameters required by the shower models.
2261
2262 The G4 fast simulation interface is only functional for Geant4 version >= 10.07.
2263 For lower versions of Geant4 missing classes are stubbed to allow the compilation.
2264
2265 * 2022-07-18 Paul Gessinger ([PR#931](https://github.com/aidasoft/DD4hep/pull/931))
2266 - Update `VariantParameters`: `value_or` is const (returns by value anyway), add non-const `get` method
2267
2268 * 2022-07-15 Markus Frank ([PR#930](https://github.com/aidasoft/DD4hep/pull/930))
2269 - Fix some handler
2270 - Add 2 examples to test the functionality
2271
2272 * 2022-07-14 Markus Frank ([PR#929](https://github.com/aidasoft/DD4hep/pull/929))
2273 - First attempt to implement GFlash parametrization for DDG4
2274 - Example is in examples/ClientTests/scripts/SiliconBlockGFlash.py
2275 Relevant code changes are for the detector construction:
2276 ```
2277 seq, act = geant4.addDetectorConstruction('Geant4DetectorGeometryConstruction/ConstructGeo')
2278 ....
2279 # Enable GFlash shower model
2280 model = DDG4.DetectorConstruction(kernel, str('Geant4GFlashShowerModel/ShowerModel'))
2281 model.Parametrization = 'GFlashHomoShowerParameterisation'
2282 # Mandatory model parameters
2283 model.RegionName = 'SiRegion'
2284 model.Material = 'Silicon'
2285 model.Enable = True
2286 # Energy boundaries are optional
2287 model.Emin = {'e+': 0.1*GeV, 'e-': 0.1*GeV } # Units in GeV
2288 model.Ekill = {'e+': 0.1*MeV, 'e-': 0.1*MeV }
2289 model.enableUI()
2290 seq.adopt(model)
2291 ```
2292 and the physics list.
2293 ```
2294 # Now build the physics list:
2295 phys = geant4.setupPhysics('FTFP_BERT')
2296 ph = DDG4.PhysicsList(kernel, str('Geant4FastPhysics/FastPhysicsList'))
2297 ph.EnabledParticles = ['e+', 'e-']
2298 ph.BeVerbose = True
2299 ph.enableUI()
2300 phys.adopt(ph)
2301 ```
2302 The setup of the regions is crucial for GFlash to work, because it applies to regions.
2303 For concrete detector constructors the proper regional setting are mandatory, but do not affect
2304 this implementation.
2305
2306 * 2022-07-12 Andre Sailer ([PR#928](https://github.com/aidasoft/DD4hep/pull/928))
2307 - CI: Due to incompatibilities we can no longer test macOS on github
2308
2309 * 2022-07-12 Markus Frank ([PR#927](https://github.com/aidasoft/DD4hep/pull/927))
2310 Easy possibility to store condition payloads as std::any.
2311 - Use of specialized handle class `dd4hep::ConditionAny` to support the functionality.
2312 The payload is automatically bound to an object of type std::any.
2313 Example code of constructor and how to access data:
2314 ```
2315 /// Emplacement construction
2316 std::vector<int> value;
2317 ... // fill data
2318 ConditionAny c2("name", "type", std::move(value));
2319
2320 /// Construct conditions object with empty std::any
2321 ConditionAny c2("name", "type");
2322 /// Assign data (empty vector<int>) to the payload:
2323 c2.get() = vector<int>();
2324
2325 /// Access data:
2326 vector<int>& data = c2.as<vector<int> >();
2327 ```
2328 as a corollary to this approach these conditions can only be stored and retrieved from ROOT storage
2329 if the requirement for ROOT are satisfied. Otherwise no other restrictions are imposed.
2330 The corresponding grammar instance is part of the library.
2331
2332 - Add example to illustrate the functionality in example/conditions:
2333 o examples/Conditions/src/ConditionAnyExampleObjects.cpp
2334 o examples/Conditions/src/ConditionAnyExampleObjects.h
2335 o plugin: examples/Conditions/src/ConditionAnyExample_populate.cpp
2336 Invocation:
2337 ```
2338 $> geoPluginRun -destroy -plugin DD4hep_ConditionAnyExample_populate \
2339 -input ../../DD4hep/examples/AlignDet/compact/Telescope.xml -iovs 1
2340 ```
2341
2342 - Plugin example to test basic functionality and verify proper assignment works
2343 o examples/Conditions/src/Conditions_any_basic.cpp
2344 Invocation:
2345 ```
2346 $> geoPluginRun -destroy -volmgr -plugin DD4hep_Conditions_any_basic
2347
2348 ```
2349 - Add 2 tests illustrating this functionality.
2350
2351 * 2022-07-09 Markus Frank ([PR#925](https://github.com/aidasoft/DD4hep/pull/925))
2352 Easy possibility to store condition payloads as std::any.
2353 - Use of specialized handle class `dd4hep::ConditionAny` to support the functionality.
2354 The payload is automatically bound to an object of type std::any.
2355 Example code of constructor and how to access data:
2356 ```
2357 /// Emplacement construction
2358 std::vector<int> value;
2359 ... // fill data
2360 ConditionAny c2("name", "type", std::move(value));
2361
2362 /// Construct conditions object with empty std::any
2363 ConditionAny c2("name", "type");
2364 /// Assign data (empty vector<int>) to the payload:
2365 c2.get() = vector<int>();
2366
2367 /// Access data:
2368 vector<int>& data = c2.as<vector<int> >();
2369 ```
2370 as a corollary to this approach these conditions can only be stored and retrieved from ROOT storage
2371 if the requirement for ROOT are satisfied. Otherwise no other restrictions are imposed.
2372 The corresponding grammar instance is part of the library.
2373
2374 - Add example to illustrate the functionality in example/conditions:
2375 o examples/Conditions/src/ConditionAnyExampleObjects.cpp
2376 o examples/Conditions/src/ConditionAnyExampleObjects.h
2377 o plugin: examples/Conditions/src/ConditionAnyExample_populate.cpp
2378 Invocation:
2379 ```
2380 $> geoPluginRun -destroy -plugin DD4hep_ConditionAnyExample_populate \
2381 -input ../../DD4hep/examples/AlignDet/compact/Telescope.xml -iovs 1
2382 ```
2383
2384 - Plugin example to test basic functionality and verify proper assignment works
2385 o examples/Conditions/src/Conditions_any_basic.cpp
2386 Invocation:
2387 ```
2388 $> geoPluginRun -destroy -volmgr -plugin DD4hep_Conditions_any_basic
2389
2390 ```
2391
2392 * 2022-07-07 Andre Sailer ([PR#922](https://github.com/aidasoft/DD4hep/pull/922))
2393 - LCIOOutput: Fix exception when trying to use a readout for different sub-detectors
2394 - EDM4hepOutput: Fix memory leak when re-using readouts for different sub-detectors
2395
2396 * 2022-06-16 Markus Frank ([PR#917](https://github.com/aidasoft/DD4hep/pull/917))
2397 -- Improve error reporting if derived condition dependencies cannot be resolved
2398 -- Add illustrating example
2399
2400 * 2022-06-14 Paul Gessinger ([PR#911](https://github.com/aidasoft/DD4hep/pull/911))
2401 - Add `VariantParameters` extension + plugin to assign parameters to it by name.
2402
2403 * 2022-06-08 Andre Sailer ([PR#914](https://github.com/aidasoft/DD4hep/pull/914))
2404 - DDSim: add possibility to use individual compact files, e.g.:
2405 ddsim --compactFile $DD4hep/examples/CLICSiD/compact/SiD_multiple_inputs.xml $DD4hep/examples/CLICSiD/compact/SiD_detectors_1.xml $DD4hep/examples/CLICSiD/compact/SiD_detectors_2.xml $DD4hep/examples/CLICSiD/compact/SiD_close.xml --runType shell
2406
2407 * 2022-05-18 Andre Sailer ([PR#912](https://github.com/aidasoft/DD4hep/pull/912))
2408 - Detector: some corrections to the function docstrings
2409
2410 * 2022-05-09 Marco Clemencic ([PR#910](https://github.com/aidasoft/DD4hep/pull/910))
2411 - Plugin Service: check that the `LD_LIBRARY_PATH` (or `PATH` or `DYLD_LIBRAY_PATH`) are actually set before trying to use them (to avoid a crash)
2412
2413 * 2022-04-29 Andre Sailer ([PR#908](https://github.com/aidasoft/DD4hep/pull/908))
2414 - CMake: add a message about how to avoid errors when manuals cannot be build, fixes #907
2415
2416 * 2022-04-28 Juraj Smiesko ([PR#906](https://github.com/aidasoft/DD4hep/pull/906))
2417 - bootstrap script runs all tests
2418
2419 * 2022-04-28 Andre Sailer ([PR#905](https://github.com/aidasoft/DD4hep/pull/905))
2420 - SegmentationInterna: fix shadow warning for `s`
2421 - DDEve: fix shadow warnings for menuBar (bar), s
2422
2423 # v01-20-02
2424
2425 * 2022-04-04 Sanghyun Ko ([PR#902](https://github.com/aidasoft/dd4hep/pull/902))
2426 - Fix a bug that cannot set G4 const property, following up #884
2427
2428 * 2022-03-30 Valentin Volkl ([PR#899](https://github.com/aidasoft/dd4hep/pull/899))
2429 - cmake: DD4hepConfig: Drop unnecessary call to DD4HEP_SETUP_BOOST_TARGETS
2430
2431 * 2022-03-30 Markus Frank ([PR#898](https://github.com/aidasoft/dd4hep/pull/898))
2432 - Reduce coverity warnings
2433
2434 * 2022-03-21 Markus Frank ([PR#897](https://github.com/aidasoft/dd4hep/pull/897))
2435 See for the example
2436 -- /examples/ClientTests/src/MaterialTester_geo.cpp
2437 -- /examples/OpticalSurfaces/compact/ReadMaterialProperties.xml
2438 -- /examples/OpticalSurfaces/scripts/ReadMaterialProperties.py
2439
2440 The python file is only there to show that the G4 simulation does not get screwed.....
2441 Otherwise: to define properties, which do not participate in Geant4:
2442 ```
2443 <material name="Water">
2444 <D type="density" value="1.0" unit="g/cm3"/>
2445 <composite n="2" ref="H"/>
2446 <composite n="1" ref="O"/>
2447 <!-- Properties used by Geant4 -->
2448 <property name="RINDEX" ref="RINDEX__0x123aff00"/>
2449 <property name="ABSLENGTH" ref="ABSLENGTH__0x123aff00"/>
2450 <property name="FASTCOMPONENT" ref="FASTCOMPONENT__0x123aff00"/>
2451 <property name="SLOWCOMPONENT" ref="SLOWCOMPONENT__0x123aff00"/>
2452 <!-- Properties ignored by Geant4 -->
2453 <property name="Property_of_mine" ref="Water__0x123aff00"/>
2454 <constant name="BirksConstant" ref="Birk__Water|Geant4-ignore"/>
2455 <!-- Constants ignored by Geant4 -->
2456 <constant name="Constant_of_mine" ref="Water__Mine|Geant4-ignore"/>
2457 </material>
2458 ```
2459 where:
2460 ```
2461 <properties>
2462 <constant name="Birk__Water|Geant4-ignore" value="12.345678"/>
2463 <constant name="Water__Mine|Geant4-ignore" value="87.654321"/>
2464 </properties>
2465 ```
2466 and
2467 ```
2468 <matrix name= "Water__0x123aff00" option="Geant4-ignore" coldim="1" values="
2469 2.034*eV
2470 2.068*eV
2471 2.103*eV
2472 2.139*eV
2473 2.177*eV
2474 2.216*eV
2475 "/>
2476 </properties>
2477 ```
2478 For non-const properties you have to set the option to "Geant4-ignore",
2479 otherwise you append the string to the name. The "ref" string in the material
2480 and the property must match.
2481 In the program you can then access the propertiers by name like this:
2482 ```
2483 Material material(...)
2484 double v = material->GetConstProperty("BirksConstant");
2485 TGDMLMatrix* m = material->GetProperty("Property_of_mine");
2486 ```
2487 like any other property. See for details:
2488 /examples/ClientTests/src/MaterialTester_geo.cpp lines 78-108
2489
2490 * 2022-03-21 Wouter Deconinck ([PR#896](https://github.com/aidasoft/dd4hep/pull/896))
2491 - edm4hep: don't add particle as parent to its daughters, and vice versa
2492
2493 * 2022-03-15 Paul Gessinger ([PR#895](https://github.com/aidasoft/dd4hep/pull/895))
2494 - Allow relaxing the python version requirements at CMake level via option `DD4HEP_RELAX_PYVER`.
2495
2496 # v01-20-01
2497
2498 * 2022-03-08 Markus FRANK ([PR#894](https://github.com/AIDASoft/DD4hep/pull/894))
2499 - The refactoring of namespaces (some years ago) left some factory name discrepancies in DDEve.
2500 This PR fixes them and re-enables the various views and projections.
2501 See issue https://github.com/AIDASoft/DD4hep/issues/893.
2502 - There are still some issues when loading a new file, which are not yet entirely understood.
2503 The suspicion is that the displayed 2D histograms somehow "reside" in the opened file and disappear
2504 when the file is closed. This however needs confirmation (and eventually fixing).
2505
2506 * 2022-03-04 Wouter Deconinck ([PR#892](https://github.com/AIDASoft/DD4hep/pull/892))
2507 - Support `ddsim --gun.momentumMin 1*GeV --momentumMax 10*GeV` (default remains momentumMin = 0.0)
2508
2509 * 2022-02-25 Andre Sailer ([PR#891](https://github.com/AIDASoft/DD4hep/pull/891))
2510 - DDParsers: do not use deprecated boost headers with boost 1.78
2511 - DDG4 Particle.tbl: drop some diffr(active) particles causing warnings with Geant4 11.0
2512 - DetectorIMP: Changing message about Geant4 unit system to INFO, fixes #844
2513 - Volumes: Changing message about REFLECTION to DEBUG, fixes #844
2514
2515 # v01-20
2516
2517 * 2021-12-21 Markus Frank ([PR#888](https://github.com/aidasoft/DD4hep/pull/888))
2518 - Changes for Geant4 11.0.0.
2519 Propagate additional setup properties for optical parameters in Geant4ScintillationPhysics.
2520 Other required changes were already included when preparing for the Geant4 beta release.
2521 - Allow for Geant4 builds without GDML.
2522 Enable conditional build if the Geant4 build does not support GDML
2523
2524 * 2021-12-16 Thomas Madlener ([PR#887](https://github.com/aidasoft/DD4hep/pull/887))
2525 - Rework the EDM4hep output action. The major reason is the renaming of the default types in AIDASoft/podio#205 and its effects on EDM4hep (key4hep/EDM4hep#132). These changes are:
2526 - Use `auto` wherever possible to remove any explicit mentioning of EDM4hep types.
2527 - Switch to range-based for-loops where possible
2528 - Keep an internal map of the collections to get rid of the `const_cast`s that were used before.
2529 - EDM4hep output: Make sure that the daughter relations are also set, because that is not done automatically in EDM4hep but is in LCIO.
2530
2531 * 2021-12-02 Wouter Deconinck ([PR#886](https://github.com/aidasoft/DD4hep/pull/886))
2532 - Add diquarks to default DDG4 rejectPDGs list
2533
2534 * 2021-11-26 Markus Frank ([PR#885](https://github.com/aidasoft/DD4hep/pull/885))
2535 - Remove another occurrency of a call to G4::GetPropertyIndex() with 2nd argument.
2536 - This PR is an addendum to the already closed request https://github.com/AIDASoft/DD4hep/pull/884
2537
2538 * 2021-11-22 Markus Frank ([PR#884](https://github.com/aidasoft/DD4hep/pull/884))
2539 - Issue https://github.com/AIDASoft/DD4hep/issues/881
2540 Next attempt for resolution. Avoid explicit use of the second argument in
2541 ```
2542 G4int GetConstPropertyIndex(const G4String& key,
2543 G4bool warning = false) const;
2544 // Get the constant property index from the key-name
2545
2546 G4int GetPropertyIndex(const G4String& key, G4bool warning = false) const;
2547 // Get the property index by the key-name.
2548 ```
2549 Should satisfy existing and future snapshots of Geant4.
2550
2551 # v01-19
2552
2553 * 2021-11-12 Markus Frank ([PR#882](https://github.com/aidasoft/DD4hep/pull/882))
2554 - See issue in github: https://github.com/AIDASoft/DD4hep/issues/881
2555 - Material properties have changed in Geant4 between version 10 and 11.
2556 - This fix should fix the compilation problems and take new properties in Geant4.11 into account.
2557
2558 * 2021-11-12 MarkusFrankATcernch ([PR#876](https://github.com/aidasoft/DD4hep/pull/876))
2559 - Fix cmake issue when using cmake 3.16.3 (or any of the other versions of cmake that require special python version handling presumably) in a dependent package.
2560
2561 * 2021-11-10 Ben Couturier ([PR#880](https://github.com/aidasoft/DD4hep/pull/880))
2562 - Added the default move constructor and default move assignment operator to dd4hep::detail::ConditionObject and dd4hep::NamedObject
2563
2564 * 2021-11-03 Markus Frank ([PR#877](https://github.com/aidasoft/DD4hep/pull/877))
2565 - To not compromize client code with an enforced termination handler, the DD4hep termination handler
2566 moved to DDG4, where it actually is needed. In DDG4 the termination handler is activated when the main
2567 Geant4Kernel instance is created.
2568 Reasoning: Please see issue https://github.com/AIDASoft/DD4hep/issues/874 .
2569 - Throw an exception if clients ask a DetElement handle for a child by name if such a child is not present or the handle is invalid. This is the new default now. The old behaviour is kept with a second accessor for children by name, with an explicit statement that an exception is unwanted such as: child = DetElement::child("name", false)
2570 Please see issue: https://github.com/AIDASoft/DD4hep/issues/878.
2571
2572 * 2021-10-13 Markus Frank ([PR#873](https://github.com/aidasoft/DD4hep/pull/873))
2573 - Remove internal classes from evaluator. Use STL provided classes
2574 - Remove hidden clashes with CLHEP evaluator (move internal class Item to anonymous namespace)
2575
2576 * 2021-09-22 Wouter Deconinck ([PR#872](https://github.com/aidasoft/DD4hep/pull/872))
2577 - Allow for specifying MomentumMin and MomentumMax in Geant4IsotropeGenerator
2578
2579 * 2021-09-15 Markus Frank ([PR#871](https://github.com/aidasoft/DD4hep/pull/871))
2580 - Finalize CAD stuff.
2581 - Fix issue https://github.com/AIDASoft/DD4hep/issues/870
2582
2583 # v01-18
2584
2585 * 2021-09-07 Wouter Deconinck ([PR#869](https://github.com/aidasoft/DD4hep/pull/869))
2586 - Use G4OpticalParameters in geant4.10.7 and newer
2587
2588 * 2021-09-06 Andre Sailer ([PR#863](https://github.com/aidasoft/DD4hep/pull/863))
2589 - DDSim: add possibility for users to inject configurations for their own output plugins. See example in OutputConfig section of the steering file
2590
2591 * 2021-08-31 Markus Frank ([PR#867](https://github.com/aidasoft/DD4hep/pull/867))
2592 - Mainly update reference files for CAD shape tests, since the order of the vertices changed when adding facets
2593 with vertex indices rather than coordinates.
2594
2595 * 2021-08-30 Markus Frank ([PR#866](https://github.com/aidasoft/DD4hep/pull/866))
2596 - The export of beoolean shapes (union, subtraction, intersection) to was not properly working
2597 and actually casued segment vialotions. This PR fixes the problem and handles these shapes
2598 properly using the RootCsg operations for boolean shapes.
2599 - Examples geometries were provided by Gerri from FCC: examples/ClientTests/compact/FCCmachine and files thereein.
2600 - Test example is in DDCAD: DDCAD_export_FCC_machine and DDCAD_import_FCC_machine
2601 - This PR addresses the issues: https://github.com/AIDASoft/DD4hep/issues/813 , https://github.com/AIDASoft/DD4hep/issues/858
2602
2603 * 2021-08-25 Markus Frank ([PR#865](https://github.com/aidasoft/DD4hep/pull/865))
2604 - In cmake tests use the macro ${Python_EXECUTABLE} to invoke the python interpreter rather than
2605 only `python`.
2606 - if `FIND_PACKAGE(Python ${REQUIRE_PYTHON_VERSION} EXACT QUIET COMPONENTS Interpreter)`
2607 does not resolve the python executable fall back to `python${Python_VERSION_MAJOR}`.
2608
2609 * 2021-08-24 Markus FRANK ([PR#864](https://github.com/aidasoft/DD4hep/pull/864))
2610 - Support for multiple readouts or (G4VUserParallelWorld equivalent)
2611 Issue https://github.com/AIDASoft/DD4hep/issues/861
2612 Example:
2613 examples/CLICSiD/compact/SiD_ECAL_Parallel_Readout.xml +
2614 examples/CLICSiD/scripts/SiD_ECAL_Parallel_Readout.py
2615
2616 For a given subdetector the sequence of sensitive actions can be enhanced
2617 having multiple sensitive actions where each one can have its own Readout
2618 definition. Hence each action can produce its own set of hits depending on the
2619 readout geometry (segmentation).
2620 in XML these readout structures must first be defined:
2621 ```
2622 <readouts>
2623 <readout name="EcalBarrelHits">
2624 <segmentation type="CartesianGridXY" grid_size_x="3.5" grid_size_y="3.5" />
2625 <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
2626 </readout>
2627
2628 <readout name="EcalBarrelHits_0">
2629 <segmentation type="CartesianGridXY" grid_size_x="1" grid_size_y="1" />
2630 <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
2631 </readout>
2632 ....
2633 </readouts>
2634
2635 ```
2636 and can then be assigned to the sensitive actions in the python setup:
2637 ``` det = str('EcalBarrel')
2638 typ = sid.geant4.sensitive_types['calorimeter']
2639 seq = DDG4.SensitiveSequence(sid.kernel, str('Geant4SensDetActionSequence/') + det)
2640 seq.enableUI()
2641 act = DDG4.SensitiveAction(sid.kernel, str(typ + '/EcalBarrelHandler'), det)
2642 act.enableUI()
2643 seq.add(act)
2644 # Add extra parallel readout action with readout EcalBarrelHits_0
2645 act = DDG4.SensitiveAction(sid.kernel, str(typ + '/EcalBarrelHandler_0'), det)
2646 act.ReadoutName = 'EcalBarrelHits_0'
2647 act.enableUI()
2648 seq.add(act)
2649 # Add extra parallel readout action with readout EcalBarrelHits_1
2650 act = DDG4.SensitiveAction(sid.kernel, str(typ + '/EcalBarrelHandler_1'), det)
2651 act.ReadoutName = 'EcalBarrelHits_1'
2652 ...
2653 ```
2654
2655 * 2021-08-10 Wouter Deconinck ([PR#860](https://github.com/aidasoft/DD4hep/pull/860))
2656 - Optionally import gdml physvol below top level, avoiding world
2657
2658 * 2021-08-03 Valentin Volkl ([PR#855](https://github.com/aidasoft/DD4hep/pull/855))
2659 - [testing] separate import test for ddg4 and rest of dd4hep
2660
2661 * 2021-07-29 Markus FRANK ([PR#853](https://github.com/aidasoft/DD4hep/pull/853))
2662 - Implement fix as proposed in issue https://github.com/AIDASoft/DD4hep/issues/850.
2663
2664 * 2021-07-27 Whitney Armstrong ([PR#851](https://github.com/aidasoft/DD4hep/pull/851))
2665 - Using `ref="OtherVisName"` attribute with the `vis` tag, the visualization attribute is an extension of
2666 `"OtherVisName"` which is used to initialize the new vis attribute.
2667 - The new VisAttr inherits all the properties of the ref and additional arguments override these values.
2668
2669 Example where the only difference is the `alpha` value.
2670
2671 ```
2672 <vis name="SiVertexBarrelModuleVis"
2673 alpha="1.0" r="1.0" g="0.75" b="0.76"
2674 drawingStyle="wireframe"
2675 showDaughters="false"
2676 visible="true"/>
2677
2678 <vis name="SiVertexEndcapModuleVis"
2679 ref="SiVertexBarrelModuleVis"
2680 alpha="0.5"/>
2681 ```
2682
2683 * 2021-07-22 Whitney Armstrong ([PR#849](https://github.com/aidasoft/DD4hep/pull/849))
2684 - Fix G4Sphere construction to use delta theta/phi instead of TGeo's ending angles phi2/theta2.
2685
2686 * 2021-07-21 Placido Fernandez Declara ([PR#847](https://github.com/aidasoft/DD4hep/pull/847))
2687 - EDM4hepOutput: On collection creation for EDM4hep, save CellIDEncodingString
2688
2689 * 2021-06-24 Thomas Madlener ([PR#843](https://github.com/aidasoft/DD4hep/pull/843))
2690 - Explicitly enable `C` as language to avoid problems in the build file generation step of cmake (see spack/spack#24232)
2691
2692 # v01-17-00
2693
2694 * 2021-06-02 Andre Sailer ([PR#838](https://github.com/aidasoft/DD4hep/pull/838))
2695 - Geant4ShapeConverter: ExtrudedSolid: convert all vertices, fix #836, https://github.com/cms-sw/cmssw/issues/33656
2696
2697 * 2021-06-01 Marko Petric ([PR#840](https://github.com/aidasoft/DD4hep/pull/840))
2698 - Do not propagate CMAKE_BUILD_TYPE in DD4hepConfig.cmake
2699
2700 * 2021-05-27 Markus FRANK ([PR#835](https://github.com/aidasoft/DD4hep/pull/835))
2701 - On divisions the created solids did not carry the proper tag to identify them.
2702 This PR fixes this issue when multi-volumes are imported in dd4hep.
2703 See issue https://github.com/AIDASoft/DD4hep/issues/833
2704
2705 * 2021-05-17 Markus FRANK ([PR#829](https://github.com/aidasoft/DD4hep/pull/829))
2706 - Add missing Solid instantiation for TGeoCtub
2707
2708 * 2021-05-12 Andre Sailer ([PR#823](https://github.com/aidasoft/DD4hep/pull/823))
2709 - DDSim: add possibility for users to extend the physics setup with Physics.setupUserFunction
2710
2711 * 2021-05-07 Markus FRANK ([PR#825](https://github.com/aidasoft/DD4hep/pull/825))
2712 - Fix as reported from CMS
2713
2714 * 2021-05-01 Markus FRANK ([PR#821](https://github.com/aidasoft/DD4hep/pull/821))
2715 - Fix issue #820
2716
2717 * 2021-04-27 Andre Sailer ([PR#817](https://github.com/aidasoft/DD4hep/pull/817))
2718 - Move `create_segmentation` to DDCore/include/DD4hep/detail/SegmentationsInterna.h to allow segmentation creation in other libraries
2719 - Removed REGISTER_SEGMENTATION macro and DDSegmentation::SegmentationFactory class because they are obsolete. Use DECLARE_SEGMENTATION to create a plugin entry for segmentations.
2720
2721 * 2021-04-24 Markus FRANK ([PR#816](https://github.com/aidasoft/DD4hep/pull/816))
2722 - Following requests, the support to output Volumes as CAD meshes.
2723 Depending on the underlying technology material names and visual attributes are supported
2724 - Improve CAD imports to take into account material names and visual attributes if supported
2725 by the underlying CAD format.
2726 - Add two examples showing the import and export technique.
2727
2728 * 2021-04-15 Markus FRANK ([PR#809](https://github.com/aidasoft/DD4hep/pull/809))
2729 - DDG4: Extend existing sensitive detectors to be used for GFlash parametrized fast simulations
2730 - DDG4: Remove legacy sensitive detectors, since they are no longer used by FCC
2731
2732 * 2021-04-15 Markus FRANK ([PR#808](https://github.com/aidasoft/DD4hep/pull/808))
2733 - Disable copy and move construction/assignment in Geant4 data
2734 See issue https://github.com/AIDASoft/DD4hep/issues/807
2735 - Adopt new naming convention for Geant4 assembly imprints
2736 See issue https://github.com/AIDASoft/DD4hep/issues/804
2737 - Add G4FastSimulationManagerProcess for GFlash
2738
2739 * 2021-04-12 Marko Petric ([PR#803](https://github.com/aidasoft/DD4hep/pull/803))
2740 - Fix bug in evaluator reported by Coverity
2741
2742 # v01-16-01
2743
2744 * 2021-03-26 Andre Sailer ([PR#799](https://github.com/AIDASoft/DD4hep/pull/799))
2745 - DDG4: flush the geant4 strstream buffer after run. fixes #798
2746
2747 * 2021-03-26 Marko Petric ([PR#793](https://github.com/AIDASoft/DD4hep/pull/793))
2748 - Account for possible units rounding bug in Tube creation (address #784 )
2749
2750 * 2021-03-23 Andre Sailer ([PR#797](https://github.com/AIDASoft/DD4hep/pull/797))
2751 - DDG4Dict: Adapt to changes in Root 6.24
2752
2753 * 2021-03-23 Andre Sailer ([PR#796](https://github.com/AIDASoft/DD4hep/pull/796))
2754 - RootDictionary: fix incompatibility with Root 6.24
2755
2756 * 2021-03-23 Andre Sailer ([PR#795](https://github.com/AIDASoft/DD4hep/pull/795))
2757 - Geant4Input: Add debug output for accepting or rejecting Particles
2758
2759 * 2021-03-14 Markus FRANK ([PR#794](https://github.com/AIDASoft/DD4hep/pull/794))
2760 - Address Coverity issues
2761
2762 * 2021-03-12 Marko Petric ([PR#792](https://github.com/AIDASoft/DD4hep/pull/792))
2763 - Use `CMAKE_SHARED_LIBRARY_SUFFIX` to define suffix of assimp libs
2764 - Define `BUILD_BYPRODUCTS` for compatibility with `ninja`
2765
2766 * 2021-03-12 Markus FRANK ([PR#791](https://github.com/AIDASoft/DD4hep/pull/791))
2767 - Remove a bunch of Coverity warnings.
2768
2769 * 2021-03-12 MarkusFrankATcernch ([PR#790](https://github.com/AIDASoft/DD4hep/pull/790))
2770 - update materialBudget utility
2771 - allow to optionally use pseudo rapidity eta rather than polar angle
2772
2773 * 2021-03-12 Marko Petric ([PR#788](https://github.com/AIDASoft/DD4hep/pull/788))
2774 - Use flag `--as-needed` for GNU linkers
2775
2776 * 2021-03-11 Markus FRANK ([PR#789](https://github.com/AIDASoft/DD4hep/pull/789))
2777 - Fix several coverity warnings
2778 - Fix bug in extracting unsigned int/long from xml: conversion to unsigned values had a bug.
2779 - Remove unnecessary printout in Geant4Converter
2780
2781 # v01-16
2782
2783 * 2021-03-02 Markus FRANK ([PR#787](https://github.com/AIDASoft/DD4hep/pull/787))
2784 - Resolves #786. Also add an example to reproduce the Fix.
2785 - Add protection in Detector object against registering DetElements without placement
2786 - Modernize loop handling according to C++ 17 standards
2787
2788 * 2021-02-15 Andre Sailer ([PR#783](https://github.com/AIDASoft/DD4hep/pull/783))
2789 - Adapt to new ROOT mechanism for switching the unit system.
2790 Units can be switched now multiple times provided the units are unlocked in the TGeoManager.
2791 See TGeoManager::LockDefaultUnits(Bool_t new_value).
2792 This is only available for ROOT versions >= 6.22.08
2793 - Improve examples/Conditions. Allow for more complex dependencies. Not enabled by default.
2794
2795 * 2021-01-31 Markus FRANK ([PR#779](https://github.com/AIDASoft/DD4hep/pull/779))
2796 - Propagate changes in ComponentCast to the EDM module
2797
2798 * 2021-01-30 Markus FRANK ([PR#778](https://github.com/AIDASoft/DD4hep/pull/778))
2799 - Move the header DD4hep/detail/Grammar_parsed.h to DD4hep/GrammarParsed.h
2800 - Move the header DD4hep/detail/Grammar_unparsed.h to DD4hep/GrammarUnparsed.h
2801 - Try to improve type agnostic ABI cast. Works for down casts only.
2802
2803 * 2021-01-08 Markus FRANK ([PR#772](https://github.com/AIDASoft/DD4hep/pull/772))
2804 - 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.
2805 - 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.
2806 - 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.
2807 - Remove inclusions of `Plugins.h` from being processed by rootcling. Plugins.h uses `#include <any>`, which cannot be processed.
2808
2809 * 2020-12-18 Marko Petric ([PR#771](https://github.com/AIDASoft/DD4hep/pull/771))
2810 - Expand list of cmake versions that have bug in detecting python version (see AIDASoft/podio#162)
2811
2812 # v01-15
2813
2814 * 2020-12-08 Frank Gaede ([PR#740](https://github.com/AIDASoft/DD4hep/pull/740))
2815 - add back the Geant4Output2EDM4hep plugin from EDM4hep
2816 - use optional flag `D4HEP_USE_EDM4HEP` to build this
2817 - requires podio and EDM4hep to be present
2818 - fix treatment of units in Geant4Output2EDM4hep
2819 - DDTest: add optional ddsim tests with edm4hep and lcio output (A.Sailer)
2820 - enable `D4HEP_USE_EDM4HEP` in CI for dev (A.Sailer)
2821
2822 * 2020-12-07 Christopher Jones ([PR#767](https://github.com/AIDASoft/DD4hep/pull/767))
2823 - Made internal classes used by Evaluator to be less stateful
2824 - Switch to using a read/write lock as modifications to the Evaluator are much less frequent than reads.
2825 - Added unit test for Evaluator
2826
2827 * 2020-12-04 Andre Sailer ([PR#766](https://github.com/AIDASoft/DD4hep/pull/766))
2828 - DDG4: hepmc3reader: add checks for read and skip success
2829 - DDTest: test hepmc3 reader, make lcio and hepmc3 reader tests depend on configuration.
2830
2831 * 2020-12-04 Andre Sailer ([PR#765](https://github.com/AIDASoft/DD4hep/pull/765))
2832 - 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
2833
2834 * 2020-12-03 MarkusFrankATcernch ([PR#753](https://github.com/AIDASoft/DD4hep/pull/753))
2835 - Always use `CLHEP/Units/SystemOfUnits.h` and never `G4SystemOfUnits.hh`
2836 - in `G4SystemOfUnits.hh`units are directly in the top level namespace
2837 - in `CLHEP/Units/SystemOfUnits.h` units are in the `CLHEP::` namespace
2838 - Remove all usage `using namespace CLHEP` and `using CLHEP::__some_unit__` to clarify which unit is used
2839
2840 * 2020-12-02 MarkusFrankATcernch ([PR#764](https://github.com/AIDASoft/DD4hep/pull/764))
2841 - Make scaled shapes includes conditional on Geant4 version (>=10.3)
2842 - Improve thread safety of expression evaluator
2843
2844 * 2020-12-02 Andre Sailer ([PR#754](https://github.com/AIDASoft/DD4hep/pull/754))
2845 - ddsim: fix problem with `--dumpSteeringFile` in python3
2846 - ddsim: fix issue in where isotrop was False, when distribution was set (python3)
2847 - ddsim: fix exception in exceptions for gun direction and position
2848 - ddsim: fix problem where `hepmc.useHepMC3` was always True by default
2849 - 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.
2850 - DDG4Dict: remove `dd4hep::sim::Geant4InputAction::Particles;` as this is available under a different name, fixes warning
2851 - 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
2852
2853 * 2020-11-24 MarkusFrankATcernch ([PR#757](https://github.com/AIDASoft/DD4hep/pull/757))
2854 - 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.
2855
2856 * 2020-11-24 Marko Petric ([PR#751](https://github.com/AIDASoft/DD4hep/pull/751))
2857 - Resolve which type of linker is used and assign proper linking flags
2858
2859 * 2020-11-21 Markus FRANK ([PR#756](https://github.com/AIDASoft/DD4hep/pull/756))
2860 - Remove from Geant4 conversion of scaled shapes artifacts of the prior implementation of reflections.
2861 This was a wrong implementation and should now be fixed.
2862 This PR should fix issue https://github.com/AIDASoft/DD4hep/issues/750
2863 - Introduce the Scale (based on TGeoScaledShape) as a separate shape om DD4hep.
2864 - Add test for scaled shape
2865
2866 * 2020-11-19 Marko Petric ([PR#749](https://github.com/AIDASoft/DD4hep/pull/749))
2867 - Add explanation of the system of units to the user manual
2868
2869 * 2020-11-19 MarkusFrankATcernch ([PR#748](https://github.com/AIDASoft/DD4hep/pull/748))
2870 - Review documentation
2871 o Add chapter to describe MC truth handling for DDG4
2872 o Review shape and shape plugin section in the DD4hep manual
2873 - Adapt ConeSegment shape plugin to allow for standard syntax
2874 - Fix Torus shape plugin and test
2875 - Add copyright notice to various test files
2876
2877 * 2020-11-19 Ole Hansen ([PR#745](https://github.com/AIDASoft/DD4hep/pull/745))
2878 - 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
2879
2880 * 2020-11-19 Ole Hansen ([PR#743](https://github.com/AIDASoft/DD4hep/pull/743))
2881 - Fix compilation warnings from Apple Clang 12
2882 - Fix broken `t_CLICSiD_DDG4_g4geometry_scan_LONGTEST` test condition which always matched.
2883
2884 * 2020-11-18 Ole Hansen ([PR#744](https://github.com/AIDASoft/DD4hep/pull/744))
2885 - CMake: Fix regression that examples and example tests can now be built and run together with the main project
2886
2887 * 2020-11-16 Markus FRANK ([PR#747](https://github.com/AIDASoft/DD4hep/pull/747))
2888 - Add documentation of DDG4 Monte-Carlo truth handler
2889 - Add documentation of DDG4 ROOT output module
2890
2891 * 2020-11-13 Markus FRANK ([PR#742](https://github.com/AIDASoft/DD4hep/pull/742))
2892 - Add example for CMS CSC: tests divisions
2893 - Add example for CMS ECAL: tests reflections
2894 - 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 https://github.com/AIDASoft/DD4hep/issues/703
2895 The example also includes a small script to read back the data generated with this example:
2896 Command line usage:
2897 * $> root.exe
2898 * ....
2899 * root [0] gSystem->Load("libDDG4Plugins.so");
2900 * root [1] gSystem->Load("libDDG4_MySensDet.so");
2901 * root [2] SomeExperiment::Dump::dumpData(<num-ebents>,<file-name>);
2902
2903 - Remove the odd shadowing warning.
2904 - Improve visualization attributes:
2905 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.
2906 This should be fixed by asking for the transparent color only once at the level of the attribute rather then for each volume.
2907
2908 * 2020-11-11 Frank Gaede ([PR#738](https://github.com/AIDASoft/DD4hep/pull/738))
2909 - fix units in DDG4/LCIO conversions
2910 - prepend namespace CLHEP where missing
2911
2912 * 2020-11-10 Markus FRANK ([PR#736](https://github.com/AIDASoft/DD4hep/pull/736))
2913 - Update DDCMS example to take into account new xml tags.
2914 - Improve some core object helpers
2915
2916 * 2020-11-06 Markus FRANK ([PR#734](https://github.com/AIDASoft/DD4hep/pull/734))
2917 - No new implementation for reflections. Still uses TGeo way with scaled shape.
2918 This implementation is not supposed to be used.
2919 - Added test to debug reflections
2920
2921 * 2020-11-05 Ianna Osborne ([PR#732](https://github.com/AIDASoft/DD4hep/pull/732))
2922 - Examples.DDCMS: add CMS EcalEndcap description to test reflected volumes
2923
2924 * 2020-11-03 Andre Sailer ([PR#731](https://github.com/AIDASoft/DD4hep/pull/731))
2925 - Tests: Always run AClick tests sequentially, fixes #730
2926
2927 * 2020-11-03 Andre Sailer ([PR#728](https://github.com/AIDASoft/DD4hep/pull/728))
2928 * CMake: fix python version compatibility check between python and root used for python. Add exception for CMake 3.17.1
2929 * Tests: fix some test configuration to run all tests after `-D DD4HEP_BUILD_EXAMPLES=ON`
2930 * Tests: fix tests for root 6.22.04 and master
2931
2932 * 2020-11-02 Andre Sailer ([PR#725](https://github.com/AIDASoft/DD4hep/pull/725))
2933 - CMake: fail if ROOT and DD4hep python disagree
2934
2935 * 2020-10-14 Ianna Osborne ([PR#723](https://github.com/AIDASoft/DD4hep/pull/723))
2936 - SpecParRegistry: remove need for TBB
2937 - TBB has a slight overhead compare to std containers
2938 - Using std containers allows to return references to the containers in the registry
2939
2940 - Reverse the plan to process XML files in parallel
2941
2942 # v01-14-01
2943
2944 * 2020-10-02 Markus Frank ([PR#720](https://github.com/AIDASoft/DD4hep/pull/720))
2945 - Add the ability to access the `DetElement` in a derived condition. Access to it is enabled now for all
2946 compilations (Debug + Release).
2947 - When parsing compact, it is possible to inject plugins to create tables with tabulated properties in C++
2948 - When parsing compact, it is possible to inject plugins to assign property tables to materials.
2949
2950 * 2020-09-28 Marko Petric ([PR#718](https://github.com/AIDASoft/DD4hep/pull/718))
2951 - Replace deprecated `PyOS_AfterFork` with `PyOS_AfterFork_Child` for python 3.7 and above
2952
2953 # v01-14
2954
2955 * 2020-09-26 Markus Frank ([PR#717](https://github.com/aidasoft/dd4hep/pull/717))
2956 - Propagate condition names for printouts. Names are enabled by default. The feature can be disabled
2957 to minimize conditions memory footprint. Comment `DD4HEP_CONDITIONS_HAVE_NAME` in `DD4hep/config.h`
2958
2959 - 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.
2960
2961 - Update and fix some tests, which were assuming names
2962
2963 * 2020-09-25 Marko Petric ([PR#715](https://github.com/aidasoft/dd4hep/pull/715))
2964 - Rename `TruncatedTube` `zHalf` accessor with `dZ` resolves #714
2965 - Add to `Trap` missing `dZ` accessor resolves #713
2966
2967 * 2020-09-23 Andre Sailer ([PR#712](https://github.com/aidasoft/dd4hep/pull/712))
2968 - Cmake: add configuration option DD4HEP_BUILD_DEBUG, if ON or OFF enable or disable the DD4HEP_DEBUG definition
2969 if not set, enable if BuildType is Debug, fixes #708
2970
2971 * 2020-09-23 bcouturi ([PR#709](https://github.com/aidasoft/dd4hep/pull/709))
2972 - Added geoWebDisplay command that uses jsroot to render the Geometry, requires ROOT7 ROOTEve
2973
2974 * 2020-09-23 Andre Sailer ([PR#707](https://github.com/aidasoft/dd4hep/pull/707))
2975 - DDG4.HepEvtReader: fix reading of input particles, fixes #706
2976 - DDG4.HepEvtReader: fix the units, expecting GeV, mm as units of input files.
2977 - DDG4.HepEvtReader: add abort if the file cannot be read, e.g., when the content doesn't match what is expected
2978
2979 * 2020-09-22 Marko Petric ([PR#710](https://github.com/aidasoft/dd4hep/pull/710))
2980 - Fix variable name`SIGNATURE` in `Plugins.h` and `Plugins.inl` that conflicts with `#define` from `utmpx.h` in macOS libc implementation. Resolves #700
2981 - Migrate CI from Travis-CI to GitHub Actions and include macOS and ubuntu18 tests
2982
2983 * 2020-09-17 Marko Petric ([PR#704](https://github.com/aidasoft/dd4hep/pull/704))
2984 - Apply `clang-tidy` `llvm-header-guard` fixer
2985
2986 * 2020-09-16 Andre Sailer ([PR#705](https://github.com/aidasoft/dd4hep/pull/705))
2987 - DDSim: add options to select which sensitive detectors are trackers and calorimeters, defaults unchanged
2988 - DDSim: tweak log output formatting, logging goes now to stdout instead of stderr
2989 - SiD example: remove `track_length_max` and `time_max` from silicon limits (fixes part of #703 )
2990
2991 * 2020-09-07 Markus Frank ([PR#702](https://github.com/aidasoft/dd4hep/pull/702))
2992 - Add `starttheta`, `endtheta`, `endphi` xml accessors.
2993 - Fix sphere shape creator and update shape example.
2994
2995 * 2020-09-04 Markus Frank ([PR#697](https://github.com/aidasoft/dd4hep/pull/697))
2996 - 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.
2997
2998 * 2020-09-03 Marko Petric ([PR#699](https://github.com/aidasoft/dd4hep/pull/699))
2999 - Set search order for python on macOS to search for system/framework python last (change in behavior of cmake 3.14->3.15)
3000
3001 * 2020-07-31 Markus Frank ([PR#692](https://github.com/aidasoft/dd4hep/pull/692))
3002 - Protect XML file handling against non-existing files.
3003
3004 * 2020-07-30 Markus Frank ([PR#691](https://github.com/aidasoft/dd4hep/pull/691))
3005 - Improve matrix helpers: Add extractors for scale and translation as `XYZVector` from `TGeoMatrix`.
3006 - Add example to simulate the MiniTel with DDG4 using a HepMC input file
3007 - Add example to load a sub-detector geometry from gdml.
3008
3009 * 2020-07-27 Markus Frank ([PR#690](https://github.com/aidasoft/dd4hep/pull/690))
3010 1) New example to show the usage of multiple compact input files being processed from the command line.
3011 The example illustrates how to maniplulate the opening and the closing of the geometry using the compact notation.
3012 ```
3013 geoDisplay -input file:SiD_multiple_inputs.xml \
3014 -input file:SiD_detectors_1.xml \
3015 -input file:SiD_detectors_2.xml \
3016 -input file:SiD_close.xml \
3017 -print INFO -destroy -volmgr -load```
3018 2) New example to scan the geometry starting from a given position in a certain direction. Command line like for g4MaterialScan.
3019 The output shows then the pathes to the volumes traversed, the shape and the material of these volumes.
3020
3021 `g4GeometryScan --compact=DDDetectors/compact/SiD.xml --position=0,0,0 --direction=0,1,0`
3022
3023 Resulting output:
3024 ```
3025 GeometryScan WARN Starting tracking action for track ID=1
3026 +--------------------------------------------------------------------------------------------------------------------------------------------------
3027 | Material scan between: x_0 = ( 0.00, 0.00, 0.00) [cm] and x_1 = ( 0.00,3000.00, 0.00) [cm] TrackID:1:
3028 +--------------------------------------------------------------------------------------------------------------------------------------------------
3029 | \ Path
3030 | Num. \ Thickness Length Endpoint Volume , Shape , Material
3031 | Layer \ [cm] [cm] ( cm, cm, cm)
3032 +--------------------------------------------------------------------------------------------------------------------------------------------------
3033 | 1 2.4500 2.450 ( 0.00, 2.45, 0.00) Path:"/world/BeamPipeVacuum_62" Shape:G4Polycone Mat:Vacuum
3034 | 2 0.0500 2.500 ( 0.00, 2.50, 0.00) Path:"/world/Beampipe_53" Shape:G4Polycone Mat:Beryllium
3035 | 3 0.1802 2.680 ( 0.00, 2.68, 0.00) Path:"/world/av_3_impr_1_layer1_pv_0" Shape:G4Tubs Mat:Air
3036 | 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
3037 | 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
3038 | 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
3039 | 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
3040 | 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
3041 | 9 0.1596 2.900 ( 0.00, 2.90, 0.00) Path:"/world/av_3_impr_1_layer1_pv_0" Shape:G4Tubs Mat:Air
3042 | 10 0.7000 3.600 ( 0.00, 3.60, 0.00) Path:"/world" Shape:G4Box Mat:Air
3043 | 11 0.1844 3.784 ( 0.00, 3.78, 0.00) Path:"/world/av_3_impr_1_layer2_pv_1" Shape:G4Tubs Mat:Air
3044 | 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
3045 ....
3046 ```
3047
3048 # v01-13-01
3049
3050 * 2020-07-10 Markus Frank ([PR#686](https://github.com/AIDASoft/DD4hep/pull/686))
3051 - Fix bug in `VolumeBuilder` where `VolIDs` were not properly set to physical volumes if the `xml` supported an `id` tag.
3052
3053 # v01-13
3054
3055 * 2020-07-02 MarkusFrankATcernch ([PR#684](https://github.com/AIDASoft/DD4hep/pull/684))
3056 - Fix compiler issue for clang 3.9 (resolves #683)
3057
3058 * 2020-07-02 Andre Sailer ([PR#682](https://github.com/AIDASoft/DD4hep/pull/682))
3059 - CMake: add option `DD4HEP_USE_TBB` to require TBB or not
3060 - `Filter` and `SpecParRegistry` classes from CMSSW (see #675)
3061
3062 * 2020-07-01 vvolkl ([PR#679](https://github.com/AIDASoft/DD4hep/pull/679))
3063 - Add CPack Configuration
3064
3065 * 2020-06-30 Markus Frank ([PR#680](https://github.com/AIDASoft/DD4hep/pull/680))
3066 - adopt IOV changes from @pikacic to work on macOS (see #678).
3067
3068 * 2020-06-30 Marco Clemencic ([PR#678](https://github.com/AIDASoft/DD4hep/pull/678))
3069 - Modernization and clean up of `dd4hep::IOV` (`using` instead of `typedef`, `constexpr` instead of `enum`)
3070 - Make `dd4hep::IOV::Key` uniform wrt first and second type
3071 - Use `std::int64_t`instead of `long` for `dd4hep::IOV::Key` elements
3072
3073 * 2020-06-18 lintao ([PR#677](https://github.com/AIDASoft/DD4hep/pull/677))
3074 - Fixed the `CLHEP::mm` to `dd4hep::mm` conversion problem in `DDG4/src/Geant4SensitiveDetector.cpp`
3075
3076 * 2020-06-11 Markus FRANK ([PR#676](https://github.com/AIDASoft/DD4hep/pull/676))
3077 - Fix problem with missing header in DDEve appearing in ROOT head.
3078
3079 * 2020-06-08 Marko Petric ([PR#673](https://github.com/AIDASoft/DD4hep/pull/673))
3080 - Use unique include guard in `BitFieldCoder.h`
3081 - fix ambiguity in test between `BitField64` in LCIO and DD4hep
3082 - Cast to string `coll_nam` in `DDG4.py` before using further, otherwise string concatenation does not work
3083
3084 * 2020-05-29 Andre Sailer ([PR#672](https://github.com/AIDASoft/DD4hep/pull/672))
3085 - Use unique include guards
3086
3087 * 2020-04-24 Frank Gaede ([PR#663](https://github.com/AIDASoft/DD4hep/pull/663))
3088 - fix compilation of `DigiKernel.cpp` with TBB
3089
3090 * 2020-04-09 Andre Sailer ([PR#660](https://github.com/AIDASoft/DD4hep/pull/660))
3091 - DDG4: fix behaviour of ParticleRejectFilter and ParticleSelectFilter, They now properly select or reject the given particle type, instead of the opposite. Fixes #657
3092
3093 * 2020-04-09 Markus FRANK ([PR#659](https://github.com/AIDASoft/DD4hep/pull/659))
3094 - 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.
3095
3096 * 2020-04-09 Marko Petric ([PR#654](https://github.com/AIDASoft/DD4hep/pull/654))
3097 - Rewrite rpath usage on macOS and make it relocatable with help of `@rpath`
3098 - itroduce new option `DD4HEP_SET_RPATH` default `ON`
3099 - adopt `thisdd4hep.sh` and other `.sh` scripts to work with zsh (new default for macOS 10.15)
3100 - Drop `MakeGaudiMap.cmake` and call directly `listcomponents`
3101 - fix env settings for macOS
3102 - Drop deprecated `-std=` flag in dictionary creation
3103
3104 * 2020-03-23 Andre Sailer ([PR#652](https://github.com/AIDASoft/DD4hep/pull/652))
3105 - Documentation: fix broken mathml, fixes #651
3106
3107 * 2020-03-20 Andre Sailer ([PR#649](https://github.com/AIDASoft/DD4hep/pull/649))
3108 - 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)"
3109
3110 * 2020-03-20 Andre Sailer ([PR#632](https://github.com/AIDASoft/DD4hep/pull/632))
3111 - CMake: Adapt to ROOT 6.22 python library ROOTTPython
3112
3113 * 2020-03-18 Andre Sailer ([PR#636](https://github.com/AIDASoft/DD4hep/pull/636))
3114 - DDG4: add reader for HepMC3 files
3115 - DDG4: add generic EventParameters class to pass event level parameters from different input sources to different output sources, supercedes the LCIOEventParameters class
3116
3117 * 2020-03-11 Markus Frank ([PR#647](https://github.com/AIDASoft/DD4hep/pull/647))
3118 - 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:
3119 ```xml
3120 <XXX ref="file-name" material="material-name">
3121 <material name="material-name"/> <!-- alternative: child or attr -->
3122
3123 Envelope: Use special envelop shape (default: assembly)
3124 The envelope tag must match the expected pattern of the utility
3125 dd4hep::xml::createStdVolume(Detector& desc, xml::Element e)
3126 <envelope name="volume-name" material="material-name">
3127 <shape name="shape-name" type="shape-type" args....>
3128 </shape>
3129 </envelope>
3130
3131 Option 1: No additional children. use default material
3132 and place all children in the origin of the envelope
3133
3134 Option 2: Volume with default material
3135 <volume name="vol-name"/>
3136
3137 Option 3: Volume with non-default material
3138 <volume name="vol-name" material="material-name"/>
3139
3140 Option 4: Volume with optional placement. No position = (0,0,0), No rotation = (0,0,0)
3141 <volume name="vol-name" material="material-name"/>
3142 <position x="0" y="0" z="5*cm"/>
3143 <rotation x="0" y="0" z="0.5*pi*rad"/>
3144 </volume>
3145
3146 For sensitive volumes: add physical volume IDs:
3147 <volume name="vol-name" material="material-name"/>
3148 <physvolid name="layer" value="1"/>
3149 <physvolid name="slice" value="10"/>
3150 </volume>
3151 </XXX>
3152 ```
3153
3154 # v01-12-01
3155
3156 * 2020-03-03 Marko Petric ([PR#641](https://github.com/AIDASoft/DD4hep/pull/641))
3157 - DDSim: make the output of `ddsim --dumpSteeringFile` visible again
3158 - DDSim: fix exception in ConfigHelper.printOptions, called by `--dumpParameters` option
3159 - DDSim: fix parsing of vector command line parameters, gun.position, gun.direction etc.
3160 - DDSim: better testing of command line parameters
3161
3162 * 2020-03-03 vvolkl ([PR#640](https://github.com/AIDASoft/DD4hep/pull/640))
3163 - DDSim: add option to use edm4hep output
3164
3165 # v01-12
3166
3167 * 2020-02-26 Andre Sailer ([PR#637](https://github.com/aidasoft/dd4hep/pull/637))
3168 - LcioEventReader: fix setting of color flow, second coordinate was never set
3169
3170 * 2020-02-25 Markus Frank ([PR#633](https://github.com/aidasoft/dd4hep/pull/633))
3171 - 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](https://indico.cern.ch/event/885083/contributions/3758180/attachments/1990793/3318984/2020-02-20-DD4hep-Tessellated-Shapes.pdf). This feature is only available if build against ROOT 6.22 or higher.
3172 - DDCAD used the [assimp](https://github.com/assimp/assimp) librray to interprete the CAD files.
3173 - Simplify grammar instantiation.
3174 - For grammars to be parsed with `boost::spirit` simply include
3175 `#include "DD4hep/detail/Grammar_parsed.h"`
3176 - For Grammars which should **not be parsed** with `boost::spirit` include
3177 `#include "DD4hep/detail/Grammar_unparsed.h"`
3178 - To instantiate the code and to register the instantiation call:
3179 `template <> dd4hep::Grammar<my-class>;`
3180 - If the Grammar is supposed to be registered call instead/in addition:
3181 `static auto s_registry = GrammarRegistry::pre_note<my-class>();`
3182 - All other macros are gone.
3183
3184 * 2020-02-21 Andre Sailer ([PR#631](https://github.com/aidasoft/dd4hep/pull/631))
3185 - Only build DDG4 Python dependent libraries and pcms if Python and PyROOT are found
3186
3187 * 2020-02-21 Andre Sailer ([PR#627](https://github.com/aidasoft/dd4hep/pull/627))
3188 - MakeGaudiMap: better inference of listcomponents and library location by using target properties
3189 - MakeGauiMap: Detailed information about the command is not only printed when VERBOSE=1
3190
3191 * 2020-02-19 Marko Petric ([PR#626](https://github.com/aidasoft/dd4hep/pull/626))
3192 - Check in python modules that load `libglapi` is only called if the library is not already loaded.
3193
3194 * 2020-02-19 Sebastien Ponce ([PR#624](https://github.com/aidasoft/dd4hep/pull/624))
3195 - 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.
3196
3197 * 2020-02-19 Marko Petric ([PR#622](https://github.com/aidasoft/dd4hep/pull/622))
3198 - Add missing conversion from `unicode` to `str` for python 2 case in `DDrec.py`
3199 - Add test to check dd4hep python module imports
3200 - Fixes for tests from examples:
3201 - typo in tessellated example
3202 - make gdml read test dependent on the gdml write test
3203 - 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)
3204
3205 * 2020-02-17 Andre Sailer ([PR#621](https://github.com/aidasoft/dd4hep/pull/621))
3206 - Cmake: dd4hep_add_dictionary: directly use command, no longer created bash script to be called. See details of call with `make VERBOSE=1`
3207 - PluginServiceV2: use `boost::split` instead of walking of char arrays, fix bug when two colons are in the environment variable. Fixes #600
3208
3209 * 2020-02-13 Sebastien Ponce ([PR#620](https://github.com/aidasoft/dd4hep/pull/620))
3210 - added missing dependency of Persist_CLICSiD_Geant4 test on Persist_CLICSiD_Save_LONGTEST
3211
3212 * 2020-02-11 Marko Petric ([PR#618](https://github.com/aidasoft/dd4hep/pull/618))
3213 - Fix from which version of ROOT `TGeoTessellated` is supported (starting only in 6.22)
3214 - Fix location of test file in tessellated example
3215
3216 * 2020-02-06 Hadrien Grasland ([PR#613](https://github.com/aidasoft/dd4hep/pull/613))
3217 - Use the official CMake configuration mechanism provided by TBB >= 2017 U7.
3218 - Do not delete move constructors in DigiKernel as this breaks current versions of TBB.
3219
3220 * 2020-02-05 Markus Frank ([PR#610](https://github.com/aidasoft/dd4hep/pull/610))
3221 - 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.
3222 - Added a basic shape test for the tessellated shape.
3223
3224 * 2020-02-03 Markus Frank ([PR#608](https://github.com/aidasoft/dd4hep/pull/608))
3225 - SInce we do not use DTD checking all DTD links from lcdd xml files have been removed in examples.
3226 - Add 2 examples to check the usage of NTP and STP temperature/pressure conditions
3227
3228 * 2020-01-09 Markus Frank ([PR#606](https://github.com/aidasoft/dd4hep/pull/606))
3229 - Resolves #605
3230 - 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:
3231 - Top element gets a new ID
3232 - Children keep their ID
3233 - If a user wants to preserve the old functionality the flag `DetElement::PROPAGATE_PARENT_ID` must be set in the clone statement.
3234
3235 * 2019-12-18 Markus Frank ([PR#604](https://github.com/aidasoft/dd4hep/pull/604))
3236 - Allow to set ambient temperature and pressure for all materials.
3237 - predefined settings: STP, NTP
3238 - Example:
3239 - `examples/ClientTests/compact/Check_Air.xml`
3240 - Apply global temperature and pressure for all materials and especially for one single material.
3241 - Verification for Geant4: `examples/ClientTests/scripts/Check_Air.py`
3242 - DDG4: allow Geant4 messengers to pass parameter string.
3243
3244 * 2019-12-16 Markus Frank ([PR#603](https://github.com/aidasoft/dd4hep/pull/603))
3245 - Resolves #599
3246 - Resolves #601
3247 - Work on #595
3248
3249 * 2019-11-27 Markus Frank ([PR#597](https://github.com/aidasoft/dd4hep/pull/597))
3250 - Intermediate release to store improvements in the development of DDDigi:
3251 Start implementing noise chains
3252 - Fix cmake build if CLHEP is included in Geant4 and not external.
3253
3254 * 2019-11-16 Markus Frank ([PR#596](https://github.com/aidasoft/dd4hep/pull/596))
3255 - Requre that all materials must be entered explicitly.
3256 - The default ROOT element table is disabled.
3257 - Fix examples, which relied on the default ROOT elements being present
3258 - Fix #595 for DDCMS:
3259 - The density was not re-normalized to the units TGeo was expecting. Same for atomic weights.
3260 - Fill missing elements to `DDCMS/data/materials.xml` (Values to be cross-checked by CMS)
3261
3262 * 2019-11-09 Markus Frank ([PR#593](https://github.com/aidasoft/dd4hep/pull/593))
3263 - Fix Geant4 conversion for Polyhedra and Polycone if start_phi != 0 (See issue https://github.com/AIDASoft/DD4hep/issues/578)
3264 - Preparatory work to have placeholder volumes for twisted tubes (See issue https://github.com/AIDASoft/DD4hep/issues/588)
3265
3266 * 2019-10-29 Andre Sailer ([PR#590](https://github.com/aidasoft/dd4hep/pull/590))
3267 - DumpBField: correct the column unit printout and prepare for eventual change of default length unit
3268 - MagneticFields example: correct the unit for the Z parameter of the MultiPole to tesla
3269
3270 # v01-11-01
3271 * patch release for v01-11 that adds this PR to v01-11:
3272 * 2020-02-26 Andre Sailer (PR#637)
3273 - LcioEventReader: fix setting of color flow, second coordinate was never set
3274
3275 # v01-11
3276
3277 * 2019-10-23 MarkusFrankATcernch ([PR#587](https://github.com/AidaSoft/DD4hep/pull/587))
3278 - Have separate compilation unit for shape utilities like `set_dimension(...)`, `dimension()`, `isA()`, `instanceOf()`...
3279 - Improvements to basic shape test
3280
3281 * 2019-10-23 Andre Sailer ([PR#579](https://github.com/AidaSoft/DD4hep/pull/579))
3282 - CMake: Add possibility to build only shared libraries, fixes #493:
3283 - Usage `cmake ... -D BUILD_SHARED_LIBS=OFF ...`
3284
3285 * 2019-10-23 Andre Sailer ([PR#575](https://github.com/AidaSoft/DD4hep/pull/575))
3286 * CMake: Add `DD4HEP_USE_EXISTING_DD4HEP` option which together with `DD4HEP_BUILD_PACKAGES` can be used to rebuild, for example only DDG4.
3287 * This creates a new Package called "DD4hepSelected" which can then be used alongside the full DD4hep Package in a third project.
3288
3289 * 2019-10-22 Marko Petric ([PR#586](https://github.com/AidaSoft/DD4hep/pull/586))
3290 - Remove deprecated rootcling flags (`-cint`, `-c`, `-p`, `-std=c++`) from dictionary creation script
3291
3292 * 2019-10-22 Marko Petric ([PR#585](https://github.com/AidaSoft/DD4hep/pull/585))
3293 - Fix bug that the c++ filesystem check is called from `${DD4hep_ROOT}`
3294 - Install `DD4hepConfig.cmake` only in `__prefix__/cmake` to avoid path detection confusion
3295 - Enable choosing examples in the `examples/CMakeLists.cmake` via cmake flag `-DDD4HEP_BUILD_EXAMPLES=OpticalSurfaces` (recommended method)
3296 - Make each example folder to compile standalone (not recommended method)
3297 - Update cmake of Segmentation example to more current state and fix resulting errors
3298 - include segmentation example as test
3299 - Resolves #582 and resolves #583
3300
3301 * 2019-10-21 MarkusFrankATcernch ([PR#584](https://github.com/AidaSoft/DD4hep/pull/584))
3302 - Add function `bool isInstance(const Handle<TGeoShape>& solid)`
3303 - compares types of shapes and behaves like `dynamic_cast`, similar to python's `isinstance(obj,type)`
3304 - remove deprecated function `instanceOf` in favour of `isInstance`. Same behavior.
3305 - Add function `bool isA(const Handle<TGeoShape>& solid)`
3306 - compares types of shapes and requires exact match, no polymorphism allowed.
3307 - Add Geant4 conversion for shape `TGeoCtub` -> `G4CutTube`
3308
3309 * 2019-10-14 Marko Petric ([PR#572](https://github.com/AidaSoft/DD4hep/pull/572))
3310 - Install python files in `lib/pythonX.Y/site-packages` resolves #562
3311 - adapt `thisdd4hep.sh` scripts
3312 - Add missing RPATH to examples (basically bug fix for mac)
3313 - Add DDG4 tools to bin to make them more accessible to users:
3314 - `g4MaterialScan`, `checkGeometry`, `checkOverlaps`
3315
3316 * 2019-10-03 MarkusFrankATcernch ([PR#577](https://github.com/AidaSoft/DD4hep/pull/577))
3317 - Inhibit not allowed use of `DetectorImp.h`
3318
3319 * 2019-10-03 Andre Sailer ([PR#574](https://github.com/AidaSoft/DD4hep/pull/574))
3320 - CMake: When needing `boost::filesystem` (c++14, gcc < 8) require at least Boost 1.56, see #567
3321
3322 * 2019-10-03 Markus Frank ([PR#573](https://github.com/AidaSoft/DD4hep/pull/573))
3323 - Fix memory leak introduced when generalizing placements to include left-handed coordinate systems.
3324
3325 * 2019-10-03 Markus Frank ([PR#571](https://github.com/AidaSoft/DD4hep/pull/571))
3326 - Add example to the volume reflection mechanism
3327 - Fix bug in volume reflection
3328
3329 * 2019-10-02 Markus Frank ([PR#569](https://github.com/AidaSoft/DD4hep/pull/569))
3330 - First implementation to support reflection with left-handed volumes/solids
3331 - Changes for volumes and solids.
3332 - Conversion handling of `TGeoScaledShape` in DDG4
3333
3334 * 2019-09-30 Andre Sailer ([PR#566](https://github.com/AidaSoft/DD4hep/pull/566))
3335 - PythonBindings: fix issue when source files were not available, fixes #565
3336 - CMake: drop DDCores dependency on DD4hepGaudiPluginMgr
3337 - CMake: DD4hepConfig: use find_dependency instead of find_package
3338
3339 * 2019-09-24 Marko Petric ([PR#564](https://github.com/AidaSoft/DD4hep/pull/564))
3340 - Added test for Python3 compliance of code
3341 - Added test to require flake8 python code formatting
3342
3343 * 2019-09-13 Marko Petric ([PR#540](https://github.com/AidaSoft/DD4hep/pull/540))
3344 - Make python code compatible to python 2 and 3
3345 - add `absolute_import` and `unicode_literals` to all files
3346 - fix API calls and cast `unicode` to `string` when needed
3347 - replace print statement with logging
3348 - remove old octal literal
3349 - use future division
3350 - use `six`:
3351 - replace `dict.iteritems` with `six.iteritems`
3352 - replace `xrange` with `range` from `six.move`
3353 - replace `basestring` with `six.string_types`
3354 - replace `raw_input` with `input` from `six.moves`
3355 - added a copy of six.py named ddsix.py to DDCore
3356 - Replace deprecated `execfile` with call to `open`, `compile` and `exec`
3357 - Remove usage of `apply`
3358 - use `io.open` instead of standard `open`
3359 - convert `except a,b` to `except a as b`
3360 - change `dict.has_key` to `key in dict`
3361 - Require DD4hep Python3 CI tests to pass
3362 - Remove obsolete `lcdd.py`
3363 - Remove deprecated `SystemOfUnits.py` and replace everywhere with `g4units.py`
3364 - Flake8 all files
3365
3366 * 2019-09-02 Andre Sailer ([PR#561](https://github.com/AidaSoft/DD4hep/pull/561))
3367 - CMake: add option `DD4HEP_BUILD_PACKAGES` so 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.
3368 - CMake add option `DD4HEP_BUILD_EXAMPLES` to enable compilation of examples together with the main DD4hep packages. Default OFF
3369 - CMake: add `DD4hep::` aliases for all libraries and some executables
3370
3371 * 2019-08-26 Andre Sailer ([PR#559](https://github.com/AidaSoft/DD4hep/pull/559))
3372 - DD4hepConfig: make all DD4HEP_USE variables behave as booleans
3373
3374 * 2019-08-22 Markus Frank ([PR#554](https://github.com/AidaSoft/DD4hep/pull/554))
3375 - Fix property table translation to Geant4 according to suggestions from Dong Liu
3376 (see issue https://github.com/AIDASoft/DD4hep/issues/440 )
3377
3378 * 2019-08-22 Andre Sailer ([PR#552](https://github.com/AidaSoft/DD4hep/pull/552))
3379 * DD4hepConfig: `DD4hepConfig.CMake` now exports `DD4hep::DDCore` `DD4hep::<Component>` targets to be consumed by users of the DD4hep package, the CMake variables `DD4hep_LIBRARIES` etc. are still being filled for backward compatibility
3380
3381 * DD4hep CMake: Only the `dd4hep_add_plugin` and `dd4hep_add_dictionary` CMake functions are to create targets still exist, `dd4hep_add_package`/`library`/`executable` were removed and instead the cmake `default add_library`/`executable` have to be used.
3382
3383 * PluginManager: only link against boost filesystem if the compiler and standard library do not support the filesystem library
3384
3385 * DD4hep Requirements: Now require cmake version 3.12
3386
3387 * DD4hep Requirements: Now require c++ standard 14
3388
3389 * 2019-08-21 Markus Frank ([PR#553](https://github.com/AidaSoft/DD4hep/pull/553))
3390 - 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
3391 - If an external world volume is supplied, the material `Air` is deduced from this solid (only used by CMS).
3392
3393 * 2019-08-15 Frank Gaede ([PR#550](https://github.com/AidaSoft/DD4hep/pull/550))
3394 - make compatible with MacOS (10.14.6)
3395 - address latest developments w/ new Gaudi Plugin Manager
3396
3397 * 2019-08-14 Markus Frank ([PR#551](https://github.com/AidaSoft/DD4hep/pull/551))
3398 - Moved `setDimensions` call out of the individual dd4hep shapes into the base Solid.
3399 - Add `Solid::dimensions()`, `Solid::setDimension()` implementation for `PseudoTrap` and `TruncatedTube`. 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.
3400 - Upgraded shape tests to also check the shapes (using mesh vertices) after a re-dimension using the same parameters.
3401 - Geant4FieldTrackingSetup: Any failure in the creation of the `G4EquationOfMotion` or the `G4MagIntegratorStepper` is now FATAL and causes an exception.
3402
3403 * 2019-08-12 Markus Frank ([PR#549](https://github.com/AidaSoft/DD4hep/pull/549))
3404 - 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 on `Boost::file_system` and `Boost::system`.
3405 - Improve GDML saving from ROOT. (requires ROOT >= 6.20)
3406 - Fix ROOT persistency for the volume manager.
3407 - Fix Geant4FieldTrackingSetup: Issue warning if the `G4MagIntegratorStepper` cannot be created.
3408 - Examples: based the CLICSiD example on the XML sources of DDDetectors. This ensures XML sources match C++ sources.
3409
3410 * 2019-08-12 Andre Sailer ([PR#548](https://github.com/AidaSoft/DD4hep/pull/548))
3411 - Shapes: fix conversion of `startTheta` for Sphere::setDimensions
3412 - Shapes::get_shape_dimension: add return value conversion for angles to internal unit (radians)
3413
3414 * 2019-08-12 MarkusFrankATcernch ([PR#547](https://github.com/AidaSoft/DD4hep/pull/547))
3415 - make compatible w/ macos (c++14)
3416 - replace `std::make_any` w/ make_any (defined in Any.h)
3417 - use `std::lock_guard<std::mutex>`
3418
3419 * 2019-08-07 MarkusFrankATcernch ([PR#545](https://github.com/AidaSoft/DD4hep/pull/545))
3420 - Fix bug in Polyhedra shape (See #544).
3421 - Update optical surface example (resolves #440) .
3422
3423 * 2019-07-16 Markus Frank ([PR#539](https://github.com/AidaSoft/DD4hep/pull/539))
3424 - Remove clang warnings.
3425
3426 * 2019-07-16 MarkusFrankATcernch ([PR#538](https://github.com/AidaSoft/DD4hep/pull/538))
3427 - Fix coverity errors
3428 - Fix Trap shape conversion to Geant4. The theta/phi angle was not converted from degree to radians (Resolves #536).
3429
3430 * 2019-07-15 Marko Petric ([PR#537](https://github.com/AidaSoft/DD4hep/pull/537))
3431 - Add a Python 3 pipeline to the CI (currently set to `allow_failure`)
3432
3433 * 2019-07-13 Marko Petric ([PR#535](https://github.com/AidaSoft/DD4hep/pull/535))
3434 - Update CI to be based on LCG 96 (ROOT 6.18, Geant 10.5, C++17)
3435 - Remove `FindXercesC.cmake` since it is in CMake
3436
3437 * 2019-07-10 Markus Frank ([PR#533](https://github.com/AidaSoft/DD4hep/pull/533))
3438 - Optimize STL containers: replace insert/push with emplace. 2nd. episode.
3439
3440 * 2019-07-10 Marko Petric ([PR#532](https://github.com/AidaSoft/DD4hep/pull/532))
3441 - Remove `dd_sim` (resolves #435)
3442
3443 * 2019-07-10 Marko Petric ([PR#531](https://github.com/AidaSoft/DD4hep/pull/531))
3444 - Remove shadow warnings related to code interfacing only ROOT 6.18
3445 - Add `DBoost_NO_BOOST_CMAKE=ON` to examples cmake call as it is necessary now
3446 - Set CMP0074 policy to NEW if can be set
3447
3448 * 2019-07-10 Markus Frank ([PR#530](https://github.com/AidaSoft/DD4hep/pull/530))
3449 - Optimize STL containers: replace insert/push with emplace
3450
3451 * 2019-07-09 Markus Frank ([PR#528](https://github.com/AidaSoft/DD4hep/pull/528))
3452 * Allow for various material scan types from the root interactove prompt
3453
3454 Examples: from DDDetectors/compact/SiD.xml
3455 $> materialScan file:checkout/DDDetectors/compact/SiD.xml -interactive
3456
3457 1) Simple scan:
3458 root [0] gMaterialScan->print(5,5,0,5,5,400)
3459 2) Scan a given subdetector:
3460 root [0] de=gDD4hepUI->instance()->detector("LumiCal");
3461 root [1] gMaterialScan->setDetector(de);
3462 root [2] gMaterialScan->print(5,5,0,5,5,400)
3463 3) Scan by material:
3464 root [0] gMaterialScan->setMaterial("Silicon");
3465 root [1] gMaterialScan->print(5,5,0,5,5,400)
3466 4) Scan by region:
3467 root [0] gMaterialScan->setRegion("SiTrackerBarrelRegion");
3468 root [1] gMaterialScan->print(0,0,0,100,100,0)
3469
3470 * Added copyright notices to the DDRec files.
3471
3472 * 2019-07-09 Marko Petric ([PR#527](https://github.com/AidaSoft/DD4hep/pull/527))
3473 - Update CI to macOS Mojave 10.14
3474 - Make `PluginService.cpp` C++17 compliant (addresses partially #525)
3475 - replace `ptr_fun` with `lambda`
3476 - Remove deprecated code that uses `auto_prt`
3477 - Remove deprecated `set_unexpected` from `DetectorImp.cpp`
3478 - Remove code associated to `DD4HEP_DD4HEP_PTR_AUTO`
3479
3480 * 2019-07-08 Markus Frank ([PR#524](https://github.com/AidaSoft/DD4hep/pull/524))
3481 - Get the new package formally into the same shape as the other packages together with an example section.
3482 - Add small example to test the basic development framework
3483
3484 * 2019-07-04 Markus Frank ([PR#520](https://github.com/AidaSoft/DD4hep/pull/520))
3485 - 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.
3486 - A new package was created, which shall host the dd4hep digitization components.
3487 A small tbb based multi threaded framework was put in place. Now the real work can start.
3488 - The material scanner has now a switch to run in interactive mode from the ROOT prompt.
3489 To invoke: materialScan compact.xml x0 y0 z0 x1 y1 z1 -interactive
3490 If the interactive switch is missing, the old behavior is preserved.
3491
3492 * 2019-06-26 Markus Frank ([PR#517](https://github.com/AidaSoft/DD4hep/pull/517))
3493 - Material properties use now default dd4hep units
3494 - Translated and updated surface example from geant4 to dd4hep
3495 - Added shape identification using `instanceOf operator (function)`
3496 - Improved handling of xml files if improperly terminated
3497
3498 * 2019-06-26 MarkusFrankATcernch ([PR#516](https://github.com/AidaSoft/DD4hep/pull/516))
3499 - 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
3500
3501 * 2019-06-06 Andre Sailer ([PR#514](https://github.com/AidaSoft/DD4hep/pull/514))
3502 - Gean4ExtraParticles: no longer add decay process to extra particles, this is done by Geant4 resolves #513
3503 - ddsim: disable physics.decays by default. This should only be enabled if completely new physics lists are created resolves #513
3504
3505 * 2019-05-09 Markus Frank ([PR#510](https://github.com/AidaSoft/DD4hep/pull/510))
3506 - Add debug printout of MEE in Geant4 material conversion
3507
3508 * 2019-04-29 MarkusFrankATcernch ([PR#508](https://github.com/AidaSoft/DD4hep/pull/508))
3509 * Geant4GDMLWriteAction:
3510 * Add properties to Geant4GDMLWriteAction to steer writing of regions, cuts and sensitive detectors. See github issue #507
3511 * Property: Export region information to the GDML: ExportRegions, default: True
3512 * Property: Export energy cut information to the GDML: ExportEnergyCuts, default: True
3513 * Property: Export sensitive detector information to the GDML: ExportSensitiveDetectors, default: True
3514 * **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**
3515 ```
3516 /run/beamOn 0
3517 ```
3518 before writing the GDML file!
3519 You also need to setup a minimal generation action like:
3520 ```py
3521 sid.geant4.setupGun('Gun','pi-',10*GeV,Standalone=True)
3522 ```
3523
3524 * 2019-04-29 Frank Gaede ([PR#506](https://github.com/AidaSoft/DD4hep/pull/506))
3525 - add utility materialBudget.cpp
3526 - create plots w/ integrated radiation and interaction lengths
3527 - bug fix in materialScan.cpp
3528 - print correct endpoint
3529
3530 * 2019-04-17 Marko Petric ([PR#503](https://github.com/AidaSoft/DD4hep/pull/503))
3531 - 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
3532 - DDG4: DDSim: fix parsing of rejectPDGs values from the command line
3533
3534 * 2019-04-12 Marko Petric ([PR#502](https://github.com/AidaSoft/DD4hep/pull/502))
3535 - DDSim: Add Higgs PDG code 25 to rejected codes for reading events
3536
3537 * 2019-04-10 MarkusFrankATcernch ([PR#501](https://github.com/AidaSoft/DD4hep/pull/501))
3538 - Add access to all Geant4Action derivatives to the Geant4 top level physical volume (world).
3539 - Add Geant4 GDML writer action accessible and configurable from the Geant4 prompt
3540
3541 * 2019-04-09 Mircho Rodozov ([PR#496](https://github.com/AidaSoft/DD4hep/pull/496))
3542 - Added powerpc macros check to include header `cxxabi.h`
3543
3544 * 2019-04-01 Markus Frank ([PR#494](https://github.com/AidaSoft/DD4hep/pull/494))
3545 - Use shared_ptr instead of home made ref counting for ConditionUpdateCalls
3546 - 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.
3547 - Add move constructors to handles
3548 - Improve const-ness of detector object in DDG4
3549
3550 * 2019-03-11 Markus Frank ([PR#491](https://github.com/AidaSoft/DD4hep/pull/491))
3551 - Implemented basic handles to support surface objects
3552 - Implemented import of surface optical objects in compact to create TGeo surface objects and tabulated properties.
3553 - Implemented the translation from TGeo to Geant4
3554 - Added physics components for DDG4 handling Cerekov, Scintillation and generic optical photon physics
3555 - Added examples
3556
3557 Please Note:
3558 1) This is only enabled for a ROOT version > 6.17 (which is supposed to come)
3559 2) There are still changes in ROOT in the pipeline. The code shall have to be adapted accordingly once these changes are activated.
3560
3561 * 2019-03-06 ebrianne ([PR#489](https://github.com/AidaSoft/DD4hep/pull/489))
3562 - Added Initialization of G4EmSaturation to initialize birks coefficients - for g4 version > 10.03
3563
3564 * 2019-02-19 Andre Sailer ([PR#486](https://github.com/AidaSoft/DD4hep/pull/486))
3565 - DDRec: Surface: add accessor to DetElement member
3566 - DDRec: DetectorData: add Extension holding a map of String to Doubles
3567
3568 * 2019-02-14 Paul Gessinger ([PR#485](https://github.com/AidaSoft/DD4hep/pull/485))
3569 * In `DD4hepConfig.cmake`, figure out if build has compatible standard set and print error if not
3570
3571 * 2019-02-13 Frank Gaede ([PR#483](https://github.com/AidaSoft/DD4hep/pull/483))
3572 - fix drawing of surfaces for z-disks and cylinders (resolves #482)
3573
3574 # v01-10
3575
3576 * 2019-01-31 Markus Frank ([PR#480](https://github.com/aidasoft/dd4hep/pull/480))
3577 - Fix bug in `geoDisplay` to allow passing the volume display depth as an argument
3578 - Added a static creator to the Detector class to create non-traced instances: `std::unique_ptr<Detector> Detector::make_unique(const std::string& name);` It is the users responsibility to release the allocated resources and to avoid clashed with existing `TGeoManager` instances.
3579 - Allow direct access to the solid instance of the DetElements's placement.
3580
3581 * 2019-01-15 Markus Frank ([PR#478](https://github.com/aidasoft/dd4hep/pull/478))
3582 - Fix bug in `geoDisplay` see #477
3583
3584 * 2019-01-10 Markus Frank ([PR#476](https://github.com/aidasoft/dd4hep/pull/476))
3585 - Fix bug in ConditionsUserPool whan scanning DetElement conditions
3586 - Improve conditions handling: Allow to bind sub-class entities of ConditionObject to thew opaque data block.
3587
3588 * 2018-12-14 Markus Frank ([PR#475](https://github.com/aidasoft/dd4hep/pull/475))
3589 - Add named shape constructors (see #469)
3590
3591 * 2018-12-13 Markus Frank ([PR#474](https://github.com/aidasoft/dd4hep/pull/474))
3592 - Fix possible access violation
3593
3594 * 2018-12-13 MarkusFrankATcernch ([PR#473](https://github.com/aidasoft/dd4hep/pull/473))
3595 - Improve handling of condition dependencies ( main work item)
3596 - Improve logic flow in the DDCond/ConditionDependencyHandler
3597 - Improve the functionality of the conditions resolver accessible from the update context. Allow for the creation (and registration) of multiple conditions in one single callback.
3598 - Add a shape check for eight-point solids.
3599
3600 * 2018-12-07 Frank Gaede ([PR#470](https://github.com/aidasoft/dd4hep/pull/470))
3601 - add `#include <memory>` to `run_plugin.h` (needed for `std::unique_ptr` and gcc 4.9)
3602
3603 * 2018-12-06 Markus Frank ([PR#468](https://github.com/aidasoft/dd4hep/pull/468))
3604 - To fix issue #466 we had to go back to the original implementation which was actually correct (see https://github.com/AIDASoft/DD4hep/commit/36d4b01e0688f690ac2e506a62e00627bb6b798c#diff-7219d47bc4ab7516e0ca6c4f35f2602f).
3605 - Added an example to show how to perform scans of the volume hierarchy with user defined callback functors. See for details `examples/ClientTests/src/PlacedVolumeScannerTest.cpp`.
3606
3607 - Added conversion between `TGeoArb8` and `G4GenericTrap`, fixes #465
3608
3609 * 2018-12-05 Markus Frank ([PR#467](https://github.com/aidasoft/dd4hep/pull/467))
3610 - Harmonize argument names in `Shapes.h` with their actual functionality. For many shapes in `DD4hep/Shapes.h` the argument names were misleading: very often deltaPhi was mentioned, whereas the code actually used instead of (phi, deltaphi) the input arguments to the ROOT constructors (startPhi,endPhi) or (phi1, phi2). Wherever ROOT uses (startPhi,endPhi) the argument names were changed accordingly. Please note a bug was found in the legacy constructor:
3611 ```cpp
3612 /// Legacy: Constructor to create a new identifiable tube object with attribute initialization
3613 Tube(const std::string& nam, double rmin, double rmax, double dz, double startPhi, double endPhi)
3614 ```
3615 Here opposite to all other constructors delta_phi was used as such - in contradiction to other constructors of the same class. This was rectified.
3616
3617 * 2018-11-30 Andre Sailer ([PR#462](https://github.com/aidasoft/dd4hep/pull/462))
3618 - Introduce compile flag to minimize conditions footprint
3619
3620 * 2018-11-27 Markus Frank ([PR#461](https://github.com/aidasoft/dd4hep/pull/461))
3621 - Add shape constructor for regular trapezoids (TGeoTrd1) ( see #460). Trd2 cannot be divided the same way as Trd1 shapes. Hence the addition became necessary. Due to the imprecise name of Trapezoid the names Trd1 and Trd2 (aka old Trapezoid) are favored. The usage of Trapezoid is supported for backwards compatibility using a typedef.
3622
3623 * 2018-11-22 Markus Frank ([PR#459](https://github.com/aidasoft/dd4hep/pull/459))
3624 - Fix bug in DDCodex geometry, add debugging to VolumeBuilder
3625
3626 * 2018-11-14 Markus Frank ([PR#458](https://github.com/aidasoft/dd4hep/pull/458))
3627 - Improve ROOT persistency: flag user extensions as persistent only while saving/loading
3628 - Need to rename DDEve library: nameclash with ddeve executable on Apple: cmake fails to build ddeve as exe and DDEve as library. libDDEve.so is now called libDDEvePlugins.so.
3629
3630 * 2018-11-13 Markus Frank ([PR#457](https://github.com/aidasoft/dd4hep/pull/457))
3631 ## Provide support for Volume divisions.
3632 Since DD4hep requires Volumes (aka `TGeoVolume`) and PlacedVolumes (aka `TGeoNode`) to be enhanced with the user extension mechanism, therefore shape divisions **must** be done using the division mechanism of the DD4hep shape or the volume wrapper. Otherwise the enhancements are not added and you will get an exception when DD4hep is closing the geometry or whenever you do something with the volume, which is served by the user extension. The same argument holds when a division is made from a `Volume`. Unfortunately there is no reasonable way to intercept this call to the `TGeo` objects - except to the sub-class each of them, which is not really acceptable either.
3633
3634 Hence: **If you use DD4hep: Never call the raw TGeo routines.**
3635
3636 For any further documentation please see the following ROOT documentation on [TGeo](http://root.cern.ch/root/html/TGeoVolume.html)
3637
3638 For an example see `examples/ClientTests/src/VolumeDivisionTest.cpp`
3639 and `examples/ClientTests/compact/VolumeDivisionTest.xml`
3640
3641 To execute:
3642 ```
3643 geoDisplay -input file:<path>/examples/ClientTests/compact/VolumeDivisionTest.xml
3644 ```
3645
3646 * 2018-11-13 Hadrien Grasland ([PR#438](https://github.com/aidasoft/dd4hep/pull/438))
3647 - Make FindPackage(DD4hep) work even if thisdd4hep.sh was not sourced
3648
3649 * 2018-11-09 Frank Gaede ([PR#456](https://github.com/aidasoft/dd4hep/pull/456))
3650 - add `#include <memory>` in `VolumeAssembly_geo.cpp` gcc 4.9 compatibility
3651
3652 * 2018-11-07 Markus Frank ([PR#455](https://github.com/aidasoft/dd4hep/pull/455))
3653 - Improve VolumeBuilder pattern matcher
3654 - Allow XML based volume creation based on factories.
3655
3656 * 2018-11-02 Markus Frank ([PR#454](https://github.com/aidasoft/dd4hep/pull/454))
3657 - Improve generic Volume assembly and XML volume builder
3658
3659 * 2018-11-01 Markus Frank ([PR#452](https://github.com/aidasoft/dd4hep/pull/452))
3660 - Fixed the DetElement cloning mechanism it to properly replicate DetElement trees.
3661 - Tested with one LHCb upgrade detector.
3662 - Added numeric epsilon to the default math dictionary of the expression evaluator:
3663 ```cpp
3664 int:epsilon --> std::numeric_limits<int>::epsilon()
3665 long:epsilon --> std::numeric_limits<long>::epsilon()
3666 float:epsilon --> std::numeric_limits<float>::epsilon()
3667 double:epsilon --> std::numeric_limits<double>::epsilon()
3668 ```
3669
3670 * 2018-10-30 Markus Frank ([PR#451](https://github.com/aidasoft/dd4hep/pull/451))
3671 - Add copyright notices
3672 - Make ddeve a program not only a ROOT script
3673
3674 * 2018-10-30 Markus Frank ([PR#450](https://github.com/aidasoft/dd4hep/pull/450))
3675 - The DDUpgrade example was removed from the main repository. Since it is only of interest for LHCb, it moved to a separate repository at CERN/gitlab.
3676 - Issue #449 should be fixed now.
3677 - The XML volume builder utility was improved.
3678
3679 * 2018-10-18 Markus Frank ([PR#447](https://github.com/aidasoft/dd4hep/pull/447))
3680 - Fix plugin manager cmake file by removing explicit dependency on c++ standard.
3681
3682 # v01-09
3683
3684 * 2018-10-15 Markus Frank ([PR#442](https://github.com/aidasoft/DD4hep/pull/442))
3685 - DDCMS: Update to support namespaces
3686 - DDUpgrade test example for the LHCb upgrade
3687 - Fix nested detectors (in fact worked only for first level parents)
3688 - Add VolumeBuilder XML utility to work on XML-tree patterns
3689
3690 * 2018-09-12 Hadrien Grasland ([PR#437](https://github.com/aidasoft/DD4hep/pull/437))
3691 - Remove if string equals ON/OFF in cmake IF statements and check default CMake truth values
3692
3693 * 2018-08-20 Oleksandr Viazlo ([PR#434](https://github.com/aidasoft/DD4hep/pull/434))
3694 - DD4hep_Mask_o1_v01_geo
3695 - allow rotation around x-axis (instead of y)
3696 - phi1 and phi2 cone angles configurable from the xml-file
3697
3698 * 2018-08-10 Markus Frank ([PR#433](https://github.com/aidasoft/DD4hep/pull/433))
3699 - Fix DDCMS example to use true namespace names rather than using "_"
3700 This should resolve issue https://github.com/AIDASoft/DD4hep/issues/421
3701
3702 * 2018-08-09 Markus Frank ([PR#432](https://github.com/aidasoft/DD4hep/pull/432))
3703 - Make the expression evaluator understand variable names with namespaces
3704 - Variable names containing a `:` or `::` are now accepted by the expression evaluator. This is first step towars resolving #421
3705 - It has now to be seen what has to be done further. The DCMS example was not yet updated to use this feature.
3706 - Add new example in `examples/ClientTests` to test this functionality.
3707
3708 * 2018-08-09 Andre Sailer ([PR#429](https://github.com/aidasoft/DD4hep/pull/429))
3709 - DDG4: add possibility to simulate all events in a file by passing NumberOfEvents < 0. Fixes #237
3710 * The de-facto limit is ~2 billion, which should be fine for input files.
3711
3712 * 2018-08-08 Markus Frank ([PR#430](https://github.com/aidasoft/DD4hep/pull/430))
3713 - Fix HEPMC reader for unknown generator status codes
3714 - Update DDCodex example, feature imports from plain ROOT file
3715 - Allow debugging Geant4VolumeManager
3716
3717 * 2018-08-07 Mircho Rodozov ([PR#428](https://github.com/aidasoft/DD4hep/pull/428))
3718 - Adapt to root interfaces changes for `TGeoMatrix::Inverse` (https://github.com/root-project/root/pull/2365), fixes #426
3719
3720 * 2018-08-06 Andre Sailer ([PR#424](https://github.com/aidasoft/DD4hep/pull/424))
3721 - CMake: Ensure proper tls flag (global-dynamic) for Geant4 build, added option DD4HEP_IGNORE_GEANT4_TLS to override the check. Closes #419
3722
3723 * 2018-07-31 Andre Sailer ([PR#420](https://github.com/aidasoft/DD4hep/pull/420))
3724 - DDG4: Import the ddsim python program from https://github.com/iLCSoft/lcgeo
3725 For example:
3726 - `ddsim --help`
3727 - `ddsim --dumpSteeringFile > mySteer.py`
3728 - `ddsim --steeringFile=mySteer.py --compactFile myDetector.xml`
3729
3730 # v01-08
3731
3732 * 2018-07-02 Markus Frank ([PR#418](https://github.com/aidasoft/dd4hep/pull/418))
3733 - Add DDCodexB in standalone mode with simulation script and basic skeleton for DDEve
3734
3735 * 2018-06-28 Markus Frank ([PR#417](https://github.com/aidasoft/dd4hep/pull/417))
3736 - Steer debug printouts in CondDB2DDDB and DDDB2Objects by parsing xml files.
3737
3738 * 2018-06-26 Markus Frank ([PR#416](https://github.com/aidasoft/dd4hep/pull/416))
3739 - Separate the hit class and add dictionary. No base class - entirely independent.
3740 - Allow to save the hit class to ROOT (but without MC truth)
3741 See MyTrackerHit.h for details.
3742
3743 * 2018-06-26 Markus Frank ([PR#415](https://github.com/aidasoft/dd4hep/pull/415))
3744 - Add small example how to specialize a new sensitive action and attach it to a detector in DDG4.
3745
3746 * 2018-06-26 Frank Gaede ([PR#414](https://github.com/aidasoft/dd4hep/pull/414))
3747 - bug fix in Geant4EventReaderGuineaPig
3748 - fix ignoring input lines with 'nan'
3749
3750 * 2018-06-26 Shaojun Lu ([PR#412](https://github.com/aidasoft/dd4hep/pull/412))
3751 - Added one more if statement: If the track went into new Volume,
3752 - then extracted the hit in previous Volume,
3753 - and start a new hit in this current Volume,
3754 - in this current process, also allow the same following treatments for the new hit.
3755
3756 * 2018-06-21 Markus Frank ([PR#409](https://github.com/aidasoft/dd4hep/pull/409))
3757 - Support out-of-source builds of DD4hep examples.
3758 Comes with an expense: A new environment DD4hepExamplesINSTALL.
3759 has to be defined to support internal file accesses and loads.
3760 The builds were also checked with read-only installation directories.
3761 Solves issue https://github.com/AIDASoft/DD4hep/issues/382
3762 - Smallish improvement to the ConditionsManager.
3763
3764 * 2018-06-21 Andre Sailer ([PR#408](https://github.com/aidasoft/dd4hep/pull/408))
3765 - Cmake: fix for configuring with Geant4 with internal CLHEP, fixes #406
3766 - Cmake: fix for configuring with BUILD_TESTING=OFF, fixes #407
3767
3768 * 2018-06-07 Markus Frank ([PR#404](https://github.com/aidasoft/dd4hep/pull/404))
3769 - Fix basic shape tests for PseudoTrap
3770
3771 * 2018-06-07 Markus Frank ([PR#403](https://github.com/aidasoft/dd4hep/pull/403))
3772 - patch for truncated tubes shapes.
3773
3774 * 2018-06-04 Markus Frank ([PR#402](https://github.com/aidasoft/dd4hep/pull/402))
3775 - Fix truncated tube shape
3776
3777 * 2018-06-04 Markus Frank ([PR#400](https://github.com/aidasoft/dd4hep/pull/400))
3778 - Allow for world volumes other than boxes. See `examples/ClientTests/compact/WorldVolume.xml` how to set it up. The effective thing is that the top level volume must be set to the TGeoManager before `Detector::init()`. If a top level volume is set, it is implicitly assumed to be the world volume. Otherwise the already existing mechanism (box volume) is activated.
3779 - Add new basic shape tests.
3780
3781 * 2018-06-01 Markus Frank ([PR#399](https://github.com/aidasoft/dd4hep/pull/399))
3782 - As discussed in issue #398 The use of TGeoUnits is inconvenient. The dd4hep units are now exposed in the python modules.
3783 - Basic shapes are now tested in the regular ctest executions. The mesh vertices of the shapes were
3784 saved to a reference file and are compared to in subsequent runs. The reference files reside in
3785 `examples/ClienTests/ref`. See `examples/ClientTests/compact/Check_Shape_*.xml` for details.
3786 - The ROOT UI and some dump plugins were enhanced to expose more information.
3787
3788 * 2018-05-30 Markus Frank ([PR#397](https://github.com/aidasoft/dd4hep/pull/397))
3789 - Enable to start DDG4 using a saved detector description in a ROOT file.
3790 - Added corresponding test: `Persist_CLICSiD_Geant4_LONGTEST`
3791 - Fix shape constructors for Trap and PseudoTrap
3792 - The python module `DD4hep.py` is gone as discussed in the developers meeting use `dd4hep.py` instead.
3793 - on masOS : your "git pull" possibly deletes both files. you may have to checkout `dd4hep.py` again, due to fact that the filesystem is case-insensitive.
3794 - Add example for LHCb CODEX-b.
3795
3796 * 2018-05-29 Markus Frank ([PR#394](https://github.com/aidasoft/dd4hep/pull/394))
3797 - Consistently handle cmake command line options in case no Geant4 or no documentation should be built.
3798
3799 * 2018-05-28 Markus Frank ([PR#393](https://github.com/aidasoft/dd4hep/pull/393))
3800 - Improvements to `geoPluginRun`.
3801 `$> geoPluginRun -ui -interactive`
3802 results in DD4hep enabled ROOT prompt.
3803 - DD4hepUI: improvements to interact with DD4hep instance from ROOT prompt
3804 - DDDB improve configuration for printing and debugging
3805 - DDDB: allow to block certain XML branches
3806
3807 * 2018-05-22 Frank Gaede ([PR#389](https://github.com/aidasoft/dd4hep/pull/389))
3808 - fix bug in input handling, for details see discussion #387
3809 - exclude leptons with zero lifetime from Geant4
3810
3811 * 2018-05-22 Markus Frank ([PR#388](https://github.com/aidasoft/dd4hep/pull/388))
3812 - Update doxygen information for some undocumented classes.
3813 - Add licence header to files where not present.
3814
3815 * 2018-05-22 Marko Petric ([PR#380](https://github.com/aidasoft/dd4hep/pull/380))
3816 - Update LICENSE to LGPLv3
3817 - The name of the file containing the LICENSE has ben changed from LICENCE->LICENSE as all source files reference `For the licensing terms see $DD4hepINSTALL/LICENSE.`
3818
3819 * 2018-05-16 Markus Frank ([PR#386](https://github.com/aidasoft/dd4hep/pull/386))
3820 - Fix bug in variable order of `ExtrudedPolygon` (x<->y)
3821
3822 * 2018-05-15 Markus Frank ([PR#384](https://github.com/aidasoft/dd4hep/pull/384))
3823 # Implementation of non-cylindrical tracking region (resolves #371)
3824 - It is possible to define volumes in a parallel world such as e.g. a tracking region. In principle any volume hierarchy may be attached to the parallel world. None of these volumes participate in the tracking as long as the "connected" attribute is set to false. The hierarchy of parallel world volumes can be accessed from the main detector object using
3825 ```cpp
3826 dd4hep::Volume parallel = dd4hep::Description::parallelWorldVolume()
3827 ```
3828 This parallel world volume is created when the geometry is opened together (and with the same dimensions) as the world volume itself.
3829 - IF the NAME of the volumes is "tracking_volume" within the compact notation it is declared as the Detector's trackingVolume entity and is accessible as well:
3830 ```cpp
3831 dd4hep::Volume trackers = dd4hep::Description::trackingVolume()
3832 ```
3833 - Although the concept is available in the DD4hep core, its configuration from XML is only implemented for the compact notation. For details see the example `examples/ClientTests/compact/TrackingRegion.xml`.
3834 - If the volume should be connected to the world: connected="true". This is useful for debugging because the volume can be visualized else if the volume is part of the parallelworld: connected="false". The volume is always connected to the top level. The anchor detector element defines the base transformation to place the volume within the (parallel) world.
3835
3836 ```xml
3837 <parallelworld_volume name="tracking_volume" anchor="/world" material="Air" connected="true" vis="VisibleBlue">
3838 <shape type="BooleanShape" operation="Subtraction">
3839 <shape type="BooleanShape" operation="Subtraction">
3840 <shape type="BooleanShape" operation="Subtraction" >
3841 <shape type="Tube" rmin="0*cm" rmax="100*cm" dz="100*cm"/>
3842 <shape type="Cone" rmin2="0*cm" rmax2="60*cm" rmin1="0*cm" rmax1="30*cm" z="40*cm"/>
3843 <position x="0*cm" y="0*cm" z="65*cm"/>
3844 </shape>
3845 <shape type="Cone" rmin1="0*cm" rmax1="60*cm" rmin2="0*cm" rmax2="30*cm" z="40*cm"/>
3846 <position x="0" y="0" z="-65*cm"/>
3847 </shape>
3848 <shape type="Cone" rmin2="0*cm" rmax2="55*cm" rmin1="0*cm" rmax1="55*cm" z="30*cm"/>
3849 <position x="0" y="0" z="0*cm"/>
3850 </shape>
3851 <position x="0*cm" y="50*cm" z="0*cm"/>
3852 <rotation x="pi/2.0" y="0" z="0"/>
3853 </parallelworld_volume>
3854 ```
3855
3856
3857 # Enhancement of assemblies, regions and production cuts (resolves #373)
3858 On request from FCC particle specific production cuts may be specified in the compact notation. These production cuts (Geant4 currently supports these for e+, e-, gammas and protons) are specified as "cut" entities in the limitset. (See the example `examples/ClientTests/compact/Assemblies.xml`).
3859
3860 - The hierarchy of cuts being applied is:
3861 - If present particle specific production cuts for a region are applied.
3862 - else the "cut" attribute of the compact region specification is used
3863 - else the global Geant4 cut is automaticallly applied by Geant4.
3864
3865 ```xml
3866 <limits>
3867 <limitset name="VXD_RegionLimitSet">
3868 <!--
3869 These are particle specific limits applied to the region
3870 ending in Geant4 in a G4UserLimits instance
3871 -->
3872 <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
3873 <limit name="track_length_max" particles="*" value="5.0" unit="mm" />
3874 <limit name="time_max" particles="*" value="5.0" unit="ns" />
3875 <limit name="ekin_min" particles="*" value="0.01" unit="MeV" />
3876 <limit name="range_min" particles="*" value="5.0" unit="mm" />
3877
3878 <!--
3879 These are particle specific production cuts applied to the region
3880 ending in Geant4 in a G4ProductionCuts instance
3881 -->
3882 <cut particles="e+" value="2.0" unit="mm" />
3883 <cut particles="e-" value="2.0" unit="mm" />
3884 <cut particles="gamma" value="5.0" unit="mm" />
3885 </limitset>
3886 </limits>
3887 ```
3888
3889 # SensitiveDetector types not changed by Geant4SensDetActionSequence (resolves #378)
3890 The sensitive detector type defined in the detector constructors is no longer changed intransparently in the back of the users. This may have side-effects for creative detector constructor writers, who invent sd types out of the sky. These obviously will not work with Geant4, because in Geant4 a mapping of these types must be applied to supported sensitive detectors. Now the mapping of a sd type (e.g. "tracker") is strict in the python setup. The default factory to create any sensitive detector instance in Geant4 (ie. an object of type G4VSensitiveDetector, G4VSDFilter, Geant4ActionSD) is a property of the Geant4Kernel instance and defaults to:
3891 ```cpp
3892 declareProperty("DefaultSensitiveType", m_dfltSensitiveDetectorType = "Geant4SensDet");
3893 ```
3894 - Since the actual behavior is defined in the sequencer instanciated therein this default should be sufficient for 99.99 % of all cases. Otherwise the factory named "Geant4SensDet" may be overloaded.
3895
3896 * 2018-05-15 David Blyth ([PR#379](https://github.com/aidasoft/dd4hep/pull/379))
3897 - Geant4FieldTrackingConstruction now properly overrides `constructField()`
3898
3899 * 2018-05-03 David Blyth ([PR#377](https://github.com/aidasoft/dd4hep/pull/377))
3900 - Geant4Handle unhandled reference to shared actions. This affected the destruction of shared actions.
3901
3902 * 2018-05-03 Markus Frank ([PR#375](https://github.com/aidasoft/dd4hep/pull/375))
3903 - Development of a small user example on how to do analysis in `DDG4`.
3904 - See `examples/DDG4/src/HitTupleAction.cpp`
3905 - Simply collect the energy deposits of hits and write an N-tuple with them.
3906 - The example shows how to access the hit collections and to extract the data in order to write other more sophisticated analyses.
3907
3908 - This `DDG4` action is used in one of the Minitel examples: `examples/ClientTests/srcipts/MiniTelEnergyDeposits.py`
3909
3910 * 2018-05-02 Markus Frank ([PR#374](https://github.com/aidasoft/dd4hep/pull/374))
3911 - recommission the multithreaded SiD example
3912 - `DDG4/examples/SiDSim_MT.py` vs. `DDG4/examples/SiDSim.py`
3913
3914 * 2018-04-19 Markus Frank ([PR#370](https://github.com/aidasoft/dd4hep/pull/370))
3915 * Allow to disable building the documentation cmake option BUILD_DOCS. By default ON and backwards compatible. If set to OFF no doc shall be built. (not everybody has biber installed)
3916 * Move from `DD4hep.py` to `dd4hep.py`, since `DD4hep.py` has to disappear due to conflicts on MAC.
3917
3918 * 2018-04-13 Markus Frank ([PR#367](https://github.com/aidasoft/dd4hep/pull/367))
3919 - resolves #361
3920 The Detector object has a state `Detector::state()` with three values:
3921 ```cpp
3922 /// The detector description states
3923 enum State {
3924 /// The detector description object is freshly created. No geometry nothing.
3925 NOT_READY = 1<<0,
3926 /// The geometry is being created and loaded. (parsing ongoing)
3927 LOADING = 1<<1,
3928 /// The geometry is loaded.
3929 READY = 1<<2
3930 };
3931 ```
3932 It starts with `NOT_READY`, moves to `LOADING` once the geometry is opened and goes to `READY` once the geometry is closed. As suggested in the developers meeting: the initial field object is invalid and gets created only once the geometry is opened. As a corollary, the field may not be accessed before. Geometry parsers must take this behavior into account!
3933
3934 - Address some compiler warnings.
3935 - Mainly add override/final statements in header files.
3936 - Implement a module to invoke python as a DD4hep plugin:
3937 invoked e.g. by: `geoPluginRun -plugin DD4hep_Python -dd4hep -prompt`
3938 ```
3939 geoPluginRun -plugin DD4hep_Python -help
3940 Usage: -plugin <name> -arg [-arg]
3941 name: factory name DD4hep_Python
3942 -import <string> import a python module, making its classes available.
3943 -macro <string> load a python script as if it were a macro.
3944 -exec <string> execute a python statement (e.g. import ROOT.
3945 -eval <string> evaluate a python expression (e.g. 1+1)
3946 -prompt enter an interactive python session (exit with ^D)
3947 -dd4hep Equivalent to -exec "import dd4hep"
3948 -help Show this online help message.
3949
3950 Note: entries can be given multiple times and are executed in exactly the
3951 order specified at the command line!
3952 ```
3953 Implementation wise the plugin is a simple CLI wrapper for TPython.
3954
3955 * 2018-04-12 Marko Petric ([PR#362](https://github.com/aidasoft/dd4hep/pull/362))
3956 - Update DD4hepManual
3957
3958 * 2018-04-12 Markus Frank ([PR#360](https://github.com/aidasoft/dd4hep/pull/360))
3959 - Examples: only build some examples depending on the availability of dependencies.
3960 - DDCore: Add interface to allow URI blocking during file parsing. Default is as now.
3961 - DDCMS: Add conversion of new shapes.
3962
3963 * 2018-04-10 Markus Frank ([PR#359](https://github.com/aidasoft/dd4hep/pull/359))
3964 - Bunch of fixes. Mostly in `examples/DDDB`
3965 - Only build `examples/DDDB` if XercesC is present.
3966 - Only build `examples/DDCMS` if CLHEP is present
3967
3968 * 2018-04-09 Markus Frank ([PR#357](https://github.com/aidasoft/dd4hep/pull/357))
3969 - Add configuration options for loading DDDB
3970
3971 * 2018-04-05 Markus Frank ([PR#351](https://github.com/aidasoft/dd4hep/pull/351))
3972 - To avoid unwanted disappearing conditions sub pools, a conditions slice may be instructed to collect shared references to the used pools in the slice.
3973 - For python:
3974 - Move DDG4/SystemOfUnits.py to DDG4/g4units.py
3975 Keep SystemOfUnits.py with deprecation warning
3976 - move DD4hep.py to dd4hep.py.
3977 import dd4hep also imports all TGeoUnit units into its namespace.
3978 Hence: import dd4hep; print dd4hep.m gives: "100.0"
3979 - DD4hep.py is kept for backwards compatibility issuing a deprecation warning
3980 - DDG4.py: imports g4units as G4Units: DDG4.G4Units.m etc.
3981 - DDG4.py: imports TGeoUnit as TGeo4Units: DDG4.TGeoUnits.m etc.
3982 - Some problem with replacing DD4hepUnits.h with TGeoSystemOfUnits.h
3983 Surface test complains. To be investigated. Keep old DD4hepUnits for the time being.
3984
3985 * 2018-04-05 Markus Frank ([PR#350](https://github.com/aidasoft/dd4hep/pull/350))
3986 - Merge `DDCMS` and `DDCMSTests` to `DDCMS`
3987 - Move `DDDB` to the `examples/`
3988 - Add tests `DDDB_DeVelo` and `DDDB_DeVelo_Gaudi` missing from #349
3989
3990 * 2018-04-05 Markus Frank ([PR#349](https://github.com/aidasoft/dd4hep/pull/349))
3991 - Resolves #339
3992 - DDDB conditions had a bug when loading from file base. The IOV was not handled properly. Now the resulting IOV is configurable using properties.
3993 - Added Gaudi like example use case for options handling with the DeVelo detector elements.
3994 - Configuration improvement in DDG4 action Output2ROOT:
3995 - New property "DisableParticles" allows to suppress the MCParticle record from being written to the ROOT file.
3996 - dto. the option "DisabledCollections" allows to NOT write any hit collection.
3997 - Unit tests for these options are not (yet) present.
3998 - DDCond: allow for user defined conditions cleanup policies. Base class `dd4hep::cond::ConditionsCleanup`. Callbacks are issued to the class for IOV type pools and IOV dependent pools asking if the pools should be processed.
3999
4000 * 2018-04-05 Marko Petric ([PR#344](https://github.com/aidasoft/dd4hep/pull/344))
4001 - Move `DDCMS` into examples as it is not core functionality
4002
4003 # v01-07-02
4004
4005 * 2018-06-26 Frank Gaede [PR#413](https://github.com/AIDASoft/DD4hep/pull/413)
4006 - bug fix in Geant4EventReaderGuineaPig
4007 - fix ignoring input lines with 'nan'
4008 - did not work on SL6 w/ gcc
4009
4010
4011 # v01-07-01
4012
4013 * 2018-05-17 Frank Gaede
4014 - fix bug in input handling, for details see discussion [#387](https://github.com/AIDASoft/DD4hep/issues/387)
4015 - exclude leptons with zero lifetime from Geant4
4016
4017 # v01-07
4018
4019 * 2018-03-26 Javier Cervantes Villanueva ([PR#343](https://github.com/AIDASoft/DD4hep/pull/343))
4020 - Fix bug in calculating eta, introduced in #138
4021 - use `magFromXYZ` instead of `radiusFromXYZ` to calculate pseudorapidity
4022
4023 * 2018-03-19 Frank Gaede ([PR#338](https://github.com/AIDASoft/DD4hep/pull/338))
4024 - Include fixes from Chris Burr for the alignments calculator.
4025 - Add a small study for the LHCb upgrade defining reasonable detector element conditions for the Velo pixel detector using the DDCond derived condition mechanism.
4026 - To be done: somehow get an example for this mechanism, which works outside Gaudi.
4027
4028 * 2018-03-23 Markus Frank ([PR#340](https://github.com/AIDASoft/DD4hep/pull/340))
4029 - Improvement for DDDB - case study to implement real-world detector elements.
4030
4031 * 2018-03-28 Frank Gaede ([PR#345](https://github.com/AIDASoft/DD4hep/pull/345))
4032 - Remove `DDSurfaces` folder as it was merged in `DDRec`
4033
4034 * 2018-03-28 Frank Gaede ([PR#341](https://github.com/AIDASoft/DD4hep/pull/341))
4035 - Remove top level `DDSegmentation` folder as it is not needed anymore
4036
4037 # v01-06
4038
4039 * 2018-01-31 Ete Remi ([PR#297](https://github.com/aidasoft/dd4hep/pull/297))
4040 - Geant4Output2LCIO
4041 - Switch run header writing order at beginning of run instead of end of run
4042
4043 * 2018-03-15 Marko Petric ([PR#335](https://github.com/aidasoft/dd4hep/pull/335))
4044 - Deduce CLHEP location from `CLHEP_INCLUDE_DIR` ( Fixes #314 )
4045 - Add `gSystem.Load('libglapi')` to `testDDPython.py` which failed due to TLS issues on local machine
4046 - Add Geant4 10.4 to test suite
4047
4048 * 2018-03-14 Markus Frank ([PR#336](https://github.com/aidasoft/dd4hep/pull/336))
4049 - New shape definitions for CMS
4050 Generic Polyhedra, ExtrudedPolygon, CutTube, TruncatedTube, PseudoTrap.
4051 - DDDB: allow to configure the match for the entity resolver.
4052
4053 * 2018-03-13 Daniel Jeans ([PR#333](https://github.com/aidasoft/dd4hep/pull/333))
4054 - changed utility name from graphicalMaterialScan -> graphicalScan
4055 - add visualisation of electric and magnetic fields (switched by parameter)
4056 - change order of x/y/z range parameters for ease of use
4057 - added parameter for name of output root file
4058
4059 * 2018-03-12 Markus Frank ([PR#334](https://github.com/aidasoft/dd4hep/pull/334))
4060 - `step_length_max` not propagated to Geant4 for `G4UserLimit` instances.
4061 - All limits can now be set separately for each particle type (or for all as a catchall situation if the particle type is '*'.
4062 - Fixes #327
4063
4064 * 2017-11-29 Markus Frank ([PR#271](https://github.com/aidasoft/dd4hep/pull/271))
4065 - Add `LHeD` example (contribution from Peter Kostka)
4066 - Fix to support `python3` in `DDG4`
4067 - Fix issue in Volumes.h for backwards compatibility with gcc version < 5
4068 - Fix type definition of `XmlChar` to also support Xerces-C 3.2.0
4069 - Fix `AClick` initialization files in `DDG4` (remove dependency on `libDDSegmentation`)
4070
4071 * 2017-11-29 Marko Petric ([PR#270](https://github.com/aidasoft/dd4hep/pull/270))
4072 - Fields: Remove pessimizing move and shadow warnings
4073
4074 * 2018-02-06 Ete Remi ([PR#301](https://github.com/aidasoft/dd4hep/pull/301))
4075 - Geant4Output2LCIO plugin
4076 - Added run number and event number offset properties. Enable steering of run and event counters from outside
4077 - Added 3 event parameters properties for int, float and string event parameters
4078
4079 * 2018-02-05 Markus Frank ([PR#304](https://github.com/aidasoft/dd4hep/pull/304))
4080 - Restructure the files a bit to simplify the use of the `XML` and `JSON` parsers and the spirit utilities in other projects.
4081
4082 * 2018-02-28 Frank Gaede ([PR#323](https://github.com/aidasoft/dd4hep/pull/323))
4083 - make Geant4InputHandling.cpp compatible w/ gcc49
4084 - avoid stringstream move operation
4085 - fixes #320
4086
4087 * 2018-01-24 Markus Frank ([PR#292](https://github.com/aidasoft/dd4hep/pull/292))
4088 - Fix bug in Alignment test:
4089 - A long standing bug was fixed for the test `t_AlignDet_Telescope_align_new`.
4090 - It was assumed that the `DetElements` were ordered in memory, which is **not** true (probably due to memory randomization).
4091 - Moved to path dependent ordering. Test now OK.
4092 - Closes #282
4093
4094 - Removed a Bunch of `rootcling` warnings
4095 - Apparently `rootcling` now expects a class with the name of the dictionary header file.
4096 - To satify this some dummy anonymous classes were added.
4097 - Closes #290
4098
4099 * 2018-01-26 Marko Petric ([PR#296](https://github.com/aidasoft/dd4hep/pull/296))
4100 - Check dynamic cast if it was successful
4101
4102 * 2018-01-22 Markus Frank ([PR#289](https://github.com/aidasoft/dd4hep/pull/289))
4103 - Add possibility to parse `XML` from string
4104 - Please see #288 for details.
4105 - The main interface was not changed. Rather a view to the Detector class supports this functionality.
4106 - The existing view `dd4hep::DetectorLoad` was enhanced to allow the required functionality:
4107 ```cpp
4108 Detector detector = ....;
4109 /// So here is the actual test: We parse the raw XML string
4110 DetectorLoad loader(detector);
4111 loader.processXMLString(buffer,0);
4112 ```
4113 - An example was added (`ClientTests/src/XML_InMemory.cpp`, which illustrates the usage).
4114
4115 - Improve DDCond manual
4116 - Improve that the DDCond manual reflects the source code.
4117 - The possible plugins provided are not all described. This shall be future work.
4118
4119 - Enable the GDML reader plugin
4120 - Closes #275
4121
4122 * 2018-03-01 Markus Frank ([PR#325](https://github.com/aidasoft/dd4hep/pull/325))
4123 - Add dictionaries to `DDRec`.
4124 - Consequently add the python interface to access the exported classes.
4125
4126 * 2018-03-01 Ete Remi ([PR#321](https://github.com/aidasoft/dd4hep/pull/321))
4127 - Geant4InputAction and Geant4EventReader :
4128 - Register input action pointer to event reader, enabling the event reader to access the Geant4 context
4129 - Added new class LCIOEventParameters to handle LCIO input event parameters
4130 - LCIOFileReader :
4131 - Add extension with LCIO input event parameters to Geant4event
4132 - Geant4Output2LCIO :
4133 - Get LCIO event parameters from event extension (if any) and write them to LCIO output event
4134
4135 * 2018-03-01 David Blyth ([PR#317](https://github.com/aidasoft/dd4hep/pull/317))
4136 - DDCore: added CartesianStrip segmentations
4137
4138 * 2018-03-02 Frank Gaede ([PR#328](https://github.com/aidasoft/dd4hep/pull/328))
4139 - finalize the python bindings for DDRec:
4140 - implement StructExtension(DetElement&) and toString()
4141 - add DetectorData classes to python
4142 - add example `dumpDetectorData.py`
4143 - closes #306
4144 - remove deprecated methods and classes in DDRec
4145 - resolves #326
4146
4147 * 2018-03-06 Andre Sailer ([PR#331](https://github.com/aidasoft/dd4hep/pull/331))
4148 - Geant4InputHandling: reject stable particles without lifetime (e.g., initial state electrons), fixes #330
4149
4150 * 2018-03-07 Markus Frank ([PR#329](https://github.com/aidasoft/dd4hep/pull/329))
4151 - Fixes #324
4152 - Call `TGeoMixture::ComputeDerivedQuantities()` for ROOT >= 6.12.0 (Resolves #281)
4153 - Start to address issue: https://github.com/AIDASoft/DD4hep/issues/327
4154
4155 * 2018-03-07 Daniel Jeans ([PR#322](https://github.com/aidasoft/dd4hep/pull/322))
4156 - correct coded expressions for quadrupole, sextupole and octopole fields.
4157 - correct expression for octopole field in documentation
4158
4159 * 2018-03-09 Ercan Pilicer ([PR#319](https://github.com/aidasoft/dd4hep/pull/319))
4160 - Remove unnecessary `import exceptions` from python
4161
4162 * 2017-11-30 Markus Frank ([PR#272](https://github.com/aidasoft/dd4hep/pull/272))
4163 ### DDG4 enhancements
4164 - Enable framework support in DDG4. The `Geant4Context` is the main thread specific accessor to the `dd4hep`, `DDG4` and the user framework.
4165 - The access to the `dd4hep` objects is via the `Geant4Context::detectorDescription()` call,
4166 - the access to `DDG4` as a whole is supported via `Geant4Context::kernel()` and
4167 - the access to the user gframework using a specialized implementation of:
4168 `template <typename T> T& userFramework() const;`
4169
4170 A user defined implementations must be specialized somewhere in a compilation unit of the user framework, not in a header file. The framework object could host e.g. references for histogramming, logging, data access etc.
4171
4172 This way any experiment/user related data processing framework can exhibit its essential tools to `DDG4` actions.
4173
4174 A possible specialized implementations would look like the following:
4175 ```cpp
4176 struct Gaudi {
4177 IMessageSvc* msg;
4178 IHistogramSvc* histos;
4179 ....
4180 };
4181 template<> Gaudi& Geant4Context::userFramework<Gaudi>() const {
4182 UserFramework& fw = m_kernel->userFramework();
4183 if ( fw.first && &typeid(T) == fw.second ) return *(T*)fw.first;
4184 throw std::runtime_error("No user specified framework context present!");
4185 }
4186 ```
4187 To access the user framework then use the following call:
4188 ```cpp
4189 Gaudi* fw = context->userFramework<Gaudi>();
4190 ```
4191 of course after having initialized it:
4192 ```cpp
4193 Gaudi * fw = ...;
4194 GaudiKernel& kernel = ...;
4195 kernel.setUserFramework(fw);
4196 ```
4197
4198 - `G4RunManager` is now a plugin. To enable user defined run managers in `DDG4`, the run manager is encapsulated in a `Geant4Action`. See `DDG4/plugins/Geant4RunManagers.cpp` how to implement such plugins. Currently there are to factories implemented:
4199 - `G4RunManager` -> factory invokes the single threaded `G4RunManager`
4200 - `G4MTRunManager `-> factory invokes the multi threaded `G4MTRunManager`
4201
4202 The factory names here are identical to the names of the native G4 classes.
4203
4204 * 2017-11-30 Marko Petric ([PR#268](https://github.com/aidasoft/dd4hep/pull/268))
4205 - Introduce new DD4hep web-site: http://dd4hep.cern.ch/
4206 - Page is automatically build from [this repo](https://gitlab.cern.ch/CLICdp/DetectorSoftware/DD4hep-website)
4207 - Restructured `doc` folder and removed not doc related stuff to `etc`
4208 - Fixes to Doxygen configuration
4209 - create reference manual `make reference`
4210 - Better integration of DD4hep tex documentation and cmake
4211 - create manuals in PDF format `make pdf` create manuals in HTML format `make html`
4212 - allow creation of documentation if dependencies are not present
4213 - extended gitlab runners to automatically build documentation PDF and HTML and also reference manual and publish to web-site, thus ensuring always up to date information.
4214
4215 * 2018-02-14 Markus Frank ([PR#310](https://github.com/aidasoft/dd4hep/pull/310))
4216 - Fix MC truth problem in DDG4
4217 - Update of the `XML` reader to simplify externalization
4218
4219 * 2018-02-15 David Blyth ([PR#302](https://github.com/aidasoft/dd4hep/pull/302))
4220 - Added "NOINSTALL" option to cmake build function dd4hep_add_library
4221
4222 * 2018-02-16 Andre Sailer ([PR#315](https://github.com/aidasoft/dd4hep/pull/315))
4223 - DDG4::ExtraParticles: particles with too small life time were tagged as stable, now correctly marked unstable
4224 - DDG4::Geant4InputHandling: pass all particles except strings, quarks and gluons to Geant4 to get completely consistent MCParticle History, fixes #307
4225 - DDG4::Geant4PrimaryHandler: add property RejectPDGs
4226 - DDG4::Geant4InputHandling: print geant4 primary particle chains if VERBOSE
4227
4228 * 2017-11-16 David Blyth ([PR#258](https://github.com/aidasoft/dd4hep/pull/258))
4229 - Corrected `EcalBarrel` constructor after finding significant layer overlaps
4230 - Corrected `CylindricalEndcapCalorimeter` factors of 2 in layer/slice thickness
4231 - Corrected `ForwardDetector` factors of 2 in layer/slice thickness
4232
4233 * 2017-12-05 Marko Petric ([PR#278](https://github.com/aidasoft/dd4hep/pull/278))
4234 - Remove `DD4HEP_USE_CXX11` and `DD4HEP_USE_CXX14` and use [CMake default way](https://cmake.org/cmake/help/v3.1/variable/CMAKE_CXX_STANDARD.html)`CMAKE_CXX_STANDARD` to define C++ standard
4235
4236 * 2017-12-05 Marko Petric ([PR#277](https://github.com/aidasoft/dd4hep/pull/277))
4237 - Fix logic for ignoring warnings in dictionary creation
4238 - Add `-Wno-overlength-strings` to all generated targets
4239
4240 * 2017-12-05 peterkostka ([PR#276](https://github.com/aidasoft/dd4hep/pull/276))
4241 - Update of LHeD example - overlaps (problem with SubdetectorAssembly)
4242
4243 * 2017-12-01 Markus Frank ([PR#275](https://github.com/aidasoft/dd4hep/pull/275))
4244 - Add Support to Export and Import GDML Data
4245 - Allow extorts and imports of partial geometry trees with GDML. **This requires however a future version of ROOT**, since some changes were necessary in the ROOT GDML handlers. The code is commented out for the time being. The plugin implementation is in `DDCore/src/gdml/GdmlPlugin.cpp`
4246 - Remove print statements from DDG4 scripts
4247 - Replace prints with calls to the python logging utility. Hopefully this shall give at some point python3 compatibility.
4248 - Update `G4Stepper` factories
4249 - Add some missing steppers
4250
4251 * 2017-12-01 Marko Petric ([PR#274](https://github.com/aidasoft/dd4hep/pull/274))
4252 - Revert `DDG4.py` Geant4 initialization parameters back to values specified in Geant4 (see discussion #266)
4253
4254 # v01-05
4255
4256 * 2017-11-10 Dan Protopopescu ([PR#262](https://github.com/aidaSoft/DD4hep/pull/262))
4257 - Added createGearForSiD minimal plugin solely for use with LCCalibration
4258
4259 * 2017-11-10 Frank Gaede ([PR#261](https://github.com/aidaSoft/DD4hep/pull/261))
4260 - add `Geant4::HitData::MonteCarloContrib::length` (step length)
4261 - set in all CalorimeterSDActions
4262 - write out it LCIO if `Geant4Sensitive::DETAILED_MODE` and LCIO_VERS>v02-10
4263
4264 * 2017-11-10 Whitney Armstrong ([PR#260](https://github.com/aidaSoft/DD4hep/pull/260))
4265 - added electric and magnetic field functions that return the field value (taking the position as the only argument) directly in `dd4hep::OverlayedField`
4266
4267 # v01-04
4268
4269 * 2017-10-17 Markus Frank ([PR#248](https://github.com/aidasoft/DD4hep/pull/248))
4270 ### VolumeManager Implementation
4271 A possibly important bug was fixed for the lookup of top level subdetectors in the `VolumeManager` by volume identifers of (sensitive) volumes. Due to a bug in the de-masking possible wrong top level subdetectors were returned. The default use cases typically do not use this call and hence should not be affected.
4272
4273 * 2017-10-17 Shaojun Lu ([PR#247](https://github.com/aidasoft/DD4hep/pull/247))
4274 - Fix C++11 pointer error by adding include <memory> for 'unique_ptr' (GCC 4.9).
4275
4276 * 2017-10-13 Marko Petric ([PR#246](https://github.com/aidasoft/DD4hep/pull/246))
4277 ### DDCMS:
4278 - Improve the CMS excercise. New examples etc.
4279 - Support for simulation using DDG4 (at least partially - since not all subdetector volumes are accepted by Geant4).
4280
4281 ### DDG4:
4282 - Event reader returns `EVENT_READER_EOF` if `EOF` is detected rather than a generic IO error.
4283 - Add generator status word to the `Geant4Particle` object. Remove the extension mechanism, which is very heavy to just add one integer.
4284
4285 ### General:
4286 - We need to distinguish the plugins using some namespace mechanism. I started to introduce the namespace separator `"_".` Hence all DD4hep plugins start with `DD4hep_<plugin>`. I hope this does not break everything. If it does, please notify me and we can undo.
4287
4288 * 2017-10-13 Whitney Armstrong ([PR#243](https://github.com/aidasoft/DD4hep/pull/243))
4289 - Added helper function `getAttrOrDefault` (defined in `DDCore/include/XML/Helper.h`)
4290 This function `getAttrOrDefault(xml::Element e, xml::XmlChar attr_name, T default_value)` will return the attribute name, converted to to type `T` but if it is not found it will return `default_value`. When building new detectors supplying this is useful for supplying default attribute values.
4291
4292 * 2017-10-19 Markus Frank ([PR#249](https://github.com/aidasoft/DD4hep/pull/249))
4293 * Improve the CMS tracker visualisation
4294 * Add DDG4 simulation example to DDCMS
4295 * Add some plugins to add visualisation attributes if required (not for the compact description)
4296
4297 * 2017-11-01 David Blyth ([PR#254](https://github.com/aidasoft/DD4hep/pull/254))
4298 - DDG4/python/DDG4.py: loadDDG4() changed to not raise exception if libraries are already loaded
4299
4300 * 2017-11-01 David Blyth ([PR#252](https://github.com/aidasoft/DD4hep/pull/252))
4301 - Added requirement of Python 2 in cmake/FindPYTHON.cmake. This makes clear the requirement of Python 2, and resolves the issue where CMake tries to build with Python 3 in a system where both exist.
4302
4303 * 2017-11-07 Frank Gaede ([PR#256](https://github.com/aidasoft/DD4hep/pull/256))
4304 - bug fix in `BitField64::operator[std::string]() `
4305 - make uses of TString in DocumentHandler.cpp compatible with clang9 (on Mac)
4306
4307 # v01-03
4308
4309 * 2017-10-12 Frank Gaede ([PR#244](https://github.com/AIDASoft/DD4hep/pull/244))
4310 - allow for unbounded surfaces in DDRec
4311 - add new property `SurfaceType::Unbounded`
4312 - if a surface is marked unbounded `Surface::insideBounds()` ignores the volume boundaries (and only checks the distance to the surface)
4313
4314 * 2017-09-19 Whitney Armstrong ([PR#233](https://github.com/AIDASoft/DD4hep/pull/233))
4315 - Added helper `CellIDPositionConverter::cellDimensions(const CellID& cell)`
4316
4317 * 2017-10-09 Frank Gaede ([PR#242](https://github.com/AIDASoft/DD4hep/pull/242))
4318 - improve `BitFieldCoder` class
4319 - remove heap allocation of BitFieldElements
4320 - add move constructors for efficient filling of vector
4321
4322 * 2017-09-29 Frank Gaede ([PR#238](https://github.com/AIDASoft/DD4hep/pull/238))
4323 - add new threadsafe class `BitFieldCoder` as replacement for `BitField64`
4324 - use as `const` everywhere
4325 - re-implement `BitField64` using `BitFieldCoder`
4326 - is thread safe if used locally
4327 - can be instantiated from `const BitFieldCoder*`
4328
4329 * 2017-09-18 Markus Frank ([PR#234](https://github.com/AIDASoft/DD4hep/pull/234))
4330 - Created a new example showing the CMS tracking detector
4331 - Get CMS going with their evaluation. Added a package DDCMS with the conversion plugins for the silicon trackers and the corresponding conversion mechanism for their `xml` structure.
4332
4333 * 2017-09-18 Frank Gaede ([PR#232](https://github.com/AIDASoft/DD4hep/pull/232))
4334 - fix reading of stdhep/lcio generator files with generator statuses not in [0,3]
4335 - add `G4PARTICLE_GEN_BEAM` and `G4PARTICLE_GEN_OTHER` to DDG4
4336 - `G4PARTICLE_GEN_BEAM` is generally agreed to be used for beam particles (HepMC, LCIO)
4337 - all other status codes vary from generator to generator and we use OTHER
4338 - for stdhep or lcio input the true generator status is preserved in the lcio output, regardless of its value
4339 - create a vertex for every parent-less particle in LCIOEventReader
4340 - this allows for example to read GuineaPig files ( non-prompt pair particles) or special user created files with non-prompt particles
4341 - Resolves #101
4342
4343 * 2017-09-20 Markus Frank ([PR#235](https://github.com/AIDASoft/DD4hep/pull/235))
4344 - A more complete version of the CMS tracker
4345 - Enhanced the CMS tracker example to be more complete.
4346 - Stopped at some point to convert all CMS algorithms. Hence, the tracker is not complete, but the remaining work looks to be purely mechanical.
4347
4348 * 2017-10-02 Frank Gaede ([PR#239](https://github.com/AIDASoft/DD4hep/pull/239))
4349 - add cell sizes to printout of `LayeredCalorimeterData::layer`
4350 - used in `dumpdetector -d`
4351
4352 * 2017-09-14 Frank Gaede ([PR#231](https://github.com/AIDASoft/DD4hep/pull/231))
4353 - adapt LCIOEventReader for Pythia8 and Whizard2
4354 - add all parent-less particles to outgoing vertex
4355 - fixes #226 and closes #229
4356 - also used for stdhep files
4357
4358 * 2017-09-07 Daniel Jeans ([PR#227](https://github.com/AIDASoft/DD4hep/pull/227))
4359 - Fix calculation of cell position in `MegatileLayerGridXY`
4360 - previously, returned position was the lower corner of the cell
4361 - after this bug fix, it's the cell centre
4362
4363 * 2017-10-05 Frank Gaede ([PR#241](https://github.com/AIDASoft/DD4hep/pull/241))
4364 - remove deprecated and unused classes from DDRec
4365
4366 * 2017-10-05 Frank Gaede ([PR#240](https://github.com/AIDASoft/DD4hep/pull/240))
4367 - add `dd4hep::rec::FixedPadSizeTPCData.zMinReadout`
4368 - needed to describe the cathode thickness
4369
4370 * 2017-08-21 Markus Frank ([PR#221](https://github.com/AIDASoft/DD4hep/pull/221))
4371 - Document several classes in doxygen notation.
4372 - Aim is that there are (at least) no class headers without docs.
4373 - See [documentation](http://test-dd4hep.web.cern.ch/test-dd4hep/doxygen/html/annotated.html)
4374
4375 # v01-02
4376
4377 * 2017-07-14 Daniel Jeans ([PR#204](https://github.com/AIDAsoft/DD4hep/pull/204))
4378 - add ncellsX/Y as a "parameter", allowing it to be set in compact description. This change is for easier use in the case of a MultiSegmentation. (Only a uniform segmentation can be defined in this way: for more complex cases, must set by driver.)
4379 - change from array to std::vector to store ncells information
4380
4381 * 2017-07-17 Markus Frank ([PR#206](https://github.com/AIDAsoft/DD4hep/pull/206))
4382 ## Implement ROOT persistency mechanism for detector descriptions (continuation of AIDASoft/DD4hep#202).
4383 Object extensions are now persistent.
4384
4385 This is however not for free: **it requires a dictionary for the extension itself and it requires a dictionary for the class holding the extension**. These are:
4386 - `dd4hep::DetElement::DetElementExtension<IFACE,CONCRETE>` for `DetElement` extensions.
4387 - `dd4hep::SimpleExtension<IFACE,CONCRETE>` for simple extension managed by the user framework (user calls explicitly destructor).
4388 - `dd4hep::DeleteExtension<IFACE,CONCRETE>` for simple extension managed by dd4hep (dd4hep calls automatically destructor on hosting object destruction).
4389 - `dd4hep::CopyDeleteExtension<IFACE,CONCRETE>`. As above, but these extensions support calling the copy constructor of the embedded object and hence allow to copy also the hosting objects.
4390
4391 Please note: to persistify these objects it was necessary to no longer use the type-info of the objects as an identifier, but rather a 64-bit-hash of the raw type-info-name. This relies that this name is identical across platforms. This typically is true for linux, but not enforced by any standard.
4392
4393 * 2017-08-11 Andre Sailer ([PR#213](https://github.com/AIDAsoft/DD4hep/pull/213))
4394 - CMake:: dd4hep_generate_rootmap: use CMAKE_INSTALL_LIBDIR if it is set. If the macro is called from other libraries this variable might be set and should be used for consistency. Fixes #212
4395
4396 * 2017-07-13 Markus Frank ([PR#202](https://github.com/AIDAsoft/DD4hep/pull/202))
4397 ## Implement ROOT persistency mechanism for detector descriptions
4398
4399 The following commits allow to save and restore Detector objects (ie. the full detector description) to/from ROOT. Most changes affected the usage of void pointers.
4400
4401 It is **NOT** possible to:
4402 * save object extensions. Another usage of void pointers and type-info objects, which both cannot be saved.
4403 * save callback objects. Callbacks store in memory pointers to member functions. These depend on the loading of libraries at run-time and hence may differ from application to application.
4404 * save conditions slices. This shall be a futute extension. There should be no fundamental problem doing so - it was simply not yet done.
4405
4406 In the example area a new slot call "Persistency" was created with various tests:
4407 * Save and restore simple conditions
4408 * Save and restore the MiniTel detector (`examples/ClientTests/compact/MiniTel.xml`)
4409 * Save and restore the CLICSiD detector (`examples/CLICSiD/compact/compact.xml`)
4410
4411 The detector examples also have a set of tests associated to check the validity of the restored information.
4412
4413 ## Integrate `DDSegmentatation` into `DDCore`
4414
4415 As a first step to start the cleanup of `DDSegmentation` the code was integrated into `DDCore`. For backwards compatibility a dummy library `libDDSegmentation.so` is kept, so that client cmake files directly referring `DDSegmentation` still work. **This tough is only a temporary measure and users should remove references to the DDSegmentation library.** Include files can be accessed as before. These are part of the `DDCore` include directory.
4416
4417 * 2017-08-15 Yorgos Voutsinas ([PR#216](https://github.com/AIDAsoft/DD4hep/pull/216))
4418 * Adding variable "nocore" for beam pipe (with default value = false) In case the variable appears in the BP xml file as "true", the BP sections will have no core of beam material, in order that someone might add various BP walls made of different materials while avoiding G4 overlaps. Example of use:
4419 ```xml
4420 <detector name="BeBeampipe" type="DD4hep_Beampipe_o1_v01" insideTrackingVolume="true" nocore="true" vis="BeamPipeVis">
4421 ```
4422
4423 * 2017-08-15 Jan Strube ([PR#215](https://github.com/AIDAsoft/DD4hep/pull/215))
4424 - LCIOEventReader: adding parameter for the name of the MCParticle collection: `MCParticleCollectionName`
4425
4426 * 2017-08-14 Markus Frank ([PR#217](https://github.com/AIDAsoft/DD4hep/pull/217))
4427 ## Enhance ROOT Detector Description Persistency
4428 Conditions slices from the DD4hep conditions store can now be saved to ROOT files ans named objects. Conditions persistency examples are added to the `examples/Conditions` section.
4429 The examples are derived from the Telescope and CLICSiD example:
4430 - `Conditions_Telescope_root_save`
4431 - `Conditions_Telescope_root_load_iov`
4432 - `Conditions_Telescope_root_load_pool`
4433 - `Conditions_CLICSiD_root_save_LONGTEST`
4434 - `Conditions_CLICSiD_root_load_iov_LONGTEST`
4435 - `Conditions_CLICSiD_root_load_usr_LONGTEST`
4436 - `Conditions_CLICSiD_root_load_cond_LONGTEST`
4437
4438 ## Fix Handle Problem when Accessing Materials from Volumes
4439 A cast problem was not spotted in the last commit, which manifested itself in accessing invalid materials from volumes. This commit resolves #211 , reported by @jhrdinka.
4440
4441 A set of tests checks this behaviour in the ClientTests: `ClientTests_volume_materials_<text>`, where the volume tree is scanned and for all sensitive volumes and access the corresponding `materials/TGeoMedium` entities from the volume object.
4442
4443 * 2017-07-18 Shaojun Lu ([PR#208](https://github.com/AIDAsoft/DD4hep/pull/208))
4444 - added "#include <memory>" for the smart pointers to DD4hepRootPersistency.cpp
4445
4446 * 2017-07-19 Markus Frank ([PR#209](https://github.com/AIDAsoft/DD4hep/pull/209))
4447 - Implement `dd4hep::Tube` using `TGeoTubeSeg` (See also Issue AIDASoft/DD4hep#203 for details)
4448
4449 * 2017-07-21 Markus Frank ([PR#210](https://github.com/AIDAsoft/DD4hep/pull/210))
4450 ## Implement ROOT persistency mechanism for the conditions
4451
4452 Conditions pools can now be made persistent provided all the dictionaries for the payload objects are provided. A new class `ConditionsRootPersistency` allows to save and re-load conditions pools to/from a ROOT file. Such pools can either be:
4453 - Simple `ConditionsPool` objects
4454 - The entire `IOV` indexed pool set (class `ConditionsIOVPool`) or
4455 - A the pool used by a `ConditionsSlice` (class `UserPool`).
4456 - A std::vector<Condition> which belong all to the same IOV
4457
4458 In any case the restoration of the saved conditions is performed through the `ConditionsManager` interface in order to ensure proper management of the added condition objects.
4459
4460 Some example plugin tasks were added in examples/Conditions:
4461 - `DD4hep_ConditionExample_save` to save conditions to a ROOT file.
4462 - `DD4hep_ConditionExample_load` to restore conditions from file.
4463
4464 Others to come.
4465
4466 ## Split of dictionary files
4467 The ROOT dictionary creation in `DDCore` was getting increasingly large. Now the ROOT dictionaries are created in several files, what firstly allows them to be produced in parallel and secondly eases the compilation due to smaller generated file sizes.
4468
4469
4470 # v01-01
4471
4472 * 2017-07-06 Markus Frank ([PR#201](https://github.com/AIDASoft/DD4hep/pull/201))
4473 ## DDCore: Changes to the VolumeManager interface
4474
4475 Recent descrepancies showed that the call to lookup a placement
4476 from the volume manager may have an ambiguous meaning:
4477 It may (as used until now) be the placement of thge closest
4478 detector element - a functionality used by various tests
4479 or be the placement of the sensitive volume itself.
4480 So far, since each sensitive volume in the DD4hep tests
4481 is represented by a DetElement structure, both
4482 approaches returned the same placed volume.
4483
4484 Since there is the possibility to have sensitive volumes, which are not
4485 directly connected to a single DetElement structure, this call was
4486 split to resolve this ambiguity:
4487
4488 /// Lookup a physical (placed) volume identified by its 64 bit hit ID
4489 PlacedVolume lookupVolumePlacement(VolumeID volume_id) const;
4490 /// Lookup a physical (placed) volume of the detector element
4491 /// containing a volume identified by its 64 bit hit ID
4492 PlacedVolume lookupDetElementPlacement(VolumeID volume_id) const;
4493
4494 * 2017-07-06 Andre Sailer ([PR#200](https://github.com/AIDASoft/DD4hep/pull/200))
4495 - Now will give a warning if multiple entities (e.g., constants) of the same name are defined in the XML
4496
4497 # v01-00-01
4498
4499 * 2017-07-04 Frank Gaede ([PR#199](https://github.com/AIDASoft/DD4hep/pull/199))
4500 - bug fix for VolumeManagerContext::toElement() and VolumeManagerContext::placement()
4501 - set flag=true in VolumeManager_Populator::add_entry when
4502 a ContextExtension is needed, i.e. sensitive volume is not DetElement's volume
4503 - fixes problems in CellIDPositionConverter
4504
4505 # v01-00
4506
4507 * 2017-06-22 Marko Petric ([PR#192](https://github.com/AIDASoft/DD4hep/pull/192))
4508 - Move `AlignDet_Telescope_readback_xml` to later in the pipeline since it depends on the output of `AlignDet_Telescope_write_xml`
4509
4510 * 2017-06-22 Andre Sailer ([PR#191](https://github.com/AIDASoft/DD4hep/pull/191))
4511 - Surface: fix memory leak of transformation matrix
4512 - XML::Layering: fix memory leak of contained layers in the object
4513
4514 * 2017-06-23 Andre Sailer ([PR#197](https://github.com/AIDASoft/DD4hep/pull/197))
4515 - Fix memory leaks for Tube, EllipticalTube and Polyhedron
4516
4517 * 2017-06-23 Andre Sailer ([PR#196](https://github.com/AIDASoft/DD4hep/pull/196))
4518 - CMake: add `Project( DD4hep )`, needed to get the correct CMAKE_CXX_COMPILER_ID on macs due to CMP0025 (cmake policy)
4519 - CMake: fix treatment of linker flags, they are now properly set for Linux and Macs to error when undefined functions are encountered at link time
4520 - CMake: fix elif --> elseif when checking threading libraries
4521
4522 * 2017-06-23 Frank Gaede ([PR#195](https://github.com/AIDASoft/DD4hep/pull/195))
4523 - fix crash in `dd4hep::rec::Surface` after changes in Handle assignment (PR #193)
4524 - fix use of deprecated `dd4hep::rec::MaterialManager` c'tor in Surface
4525
4526 * 2017-06-20 Frank Gaede ([PR#185](https://github.com/AIDASoft/DD4hep/pull/185))
4527 - bug fix in material utilities
4528 - call `MaterialManager( Volume v)` with `Detector.world().volume()`
4529
4530 * 2017-06-20 Marko Petric ([PR#184](https://github.com/AIDASoft/DD4hep/pull/184))
4531 - Reinstate the full test-suite on Travis
4532
4533 * 2017-06-20 Markus Frank ([PR#183](https://github.com/AIDASoft/DD4hep/pull/183))
4534 - Unify header guards in DDCore
4535 - Add header to steer ignoring warnings of rootcling generated dictionaries.
4536
4537 * 2017-06-20 Frank Gaede ([PR#182](https://github.com/AIDASoft/DD4hep/pull/182))
4538 - cleanup of namespace `dd4hep::rec`
4539 - remove obsolete bwd compatibility for `DD4hep::DDRec`
4540 - re-introduce `[deprecated]` warnings for unmaintained classes in DDRec/API
4541 - re-fix deprecated c'tor for `MaterialManager` in material utilities
4542
4543 * 2017-06-20 Markus Frank ([PR#181](https://github.com/AIDASoft/DD4hep/pull/181))
4544 - Attack many warnings from:
4545 - `-Wshadow`
4546 - `-Winclude-hygiene`
4547 - `-Woverlength-strings` (int cling dictionaries)
4548
4549 * 2017-06-20 Markus Frank ([PR#179](https://github.com/AIDASoft/DD4hep/pull/179))
4550 - Remove a bunch of shadow warnings and include-hygiene warnings.
4551
4552 * 2017-06-21 Marko Petric ([PR#169](https://github.com/AIDASoft/DD4hep/pull/169))
4553 - Make boost explicit requirement for DD4hep and drop DD4HEP_USE_BOOST
4554
4555 * 2017-06-21 David Blyth ([PR#168](https://github.com/AIDASoft/DD4hep/pull/168))
4556 - Added environment helper scripts `thisdd4hep_only.(c)sh` that only set up variables for DD4hep and not for dependencies.
4557
4558 * 2017-06-19 Markus Frank ([PR#178](https://github.com/AIDASoft/DD4hep/pull/178))
4559 - Update documentation after reorganization of namespaces (put back previous docs).
4560
4561 * 2017-06-19 Markus Frank ([PR#175](https://github.com/AIDASoft/DD4hep/pull/175))
4562 ## DD4hep namespace reorganization
4563
4564 Re-organize namespaces according to the decisions of the DD4hep developers meeting from 16th June we have decided:
4565
4566 1. all namespaces will be lower case and shorter
4567 * rename namespace `DD4hep` -> `dd4hep`
4568 * rename namespace `DD4hep::DDRec` -> `dd4hep::rec`
4569 * rename namespace `DD4hep::Simulation` -> `dd4hep::sim`
4570 * rename namespace `XML` -> `xml` and `JSON` -> `json`
4571 * rename all other namespaces according to this pattern
4572 2. The namespace `DD4hep::Geometry::` will be incorporated into `dd4hep::`
4573 3. All utilities will be moved `dd4hep::detail`
4574 4. `LCDD` will be renamed to `Detector` and current `Detector.h` will be renamed to `DetElement.h`
4575 8. Examine if `DDSegmentation` can be incorporated into `DDCore` and make it volume aware
4576 * If this this cannot be achieved in whole place `DDSegmentation` into the right namespace
4577
4578 ## DDParsers
4579
4580 DDParsers are now a separate package. This does not make it yet standalone,
4581 but it is at the same level as e.g. DDSeqmentation. Any librarian is
4582 encouraged to externialize it fully.
4583
4584 # v00-24
4585
4586 * 2017-06-08 Markus Frank ([PR#160](https://github.com/AIDASoft/DD4hep/pull/160))
4587 * Add a new class `AlignmentsNominalMap`, which behaves like a `ConditionsMap` and handles alignment entries.
4588 * The `AlignmentsNominalMap` is not a conditions cache per-se. This implementation behaves like a `conditionsmap`, but it shall not return real conditions to the user, but rather return the default alignment objects (which at the basis are conditions as well) to the user. These alignments are taken from the `DetElement` in question `Alignment DetElement::nominal()`.
4589
4590 * The basic idea is to enable users to write code "as if" there would be conditions present. This is important to ease in the lifetime of the experiment the step from the design phase (where obviously no conditions are taken into account) to a more mature phase, where alignment studies etc. actually are part of the "bread and butter work".
4591
4592 * Added a corresponding example in examples/AlignDet:
4593 ```
4594 $> geoPluginRun -volmgr -destroy -plugin DD4hep_AlignmentExample_nominal \
4595 -input file:${DD4hep_DIR}/examples/AlignDet/compact/Telescope.xml
4596 ```
4597 * Access the DetElement nominal conditions using the `AlignmentNominalMap`.
4598 Any use of DDCond is inhibited.
4599 1) We use the generic printer, which during the detector element scan accesses the conditions map.
4600 2) We use a delta scanner to extract the nominal deltas from the `DetElement`'s nominal alignments
4601 3) We use a `ConditionsTreeMap` to perform the alignments re-computation.
4602
4603 * 2017-06-08 Markus Frank ([PR#159](https://github.com/AIDASoft/DD4hep/pull/159))
4604 # Implementation of the decisions made at the Conditions mini-workshop
4605
4606 ## Access mechanisms of DD4hep conditions for utilities
4607
4608 Access to conditions is solely supported using the interface class DDCore/ConditionsMap.
4609 * All utilities must use this interface.
4610 * Any concrete implementation using conditions/alignment utilities must implement this interface
4611 * Basic implementation using STL `map`, `multimap` and `unordered_map` are provided.
4612 * A special no-op implementation of this interface shall be provided to access "default" alignment conditions. This implementation shall fall-back internally to the `DetElement::nominal()` alignment.
4613 Known clients: `VolumeManager` (hence: DDG4, DDRec, etc.)
4614
4615 Though this sounds like a trivial change, the consequences concern the entire conditions
4616 and alignment handling. This interface decouples entirely the core part of DD4hep
4617 from the conditions cache handling and the alignment handling.
4618
4619 Based on this interface most utilities used to handle conditions, detectors scans
4620 to visit `DetElement` related condition sets, alignment and conditions printers etc.
4621
4622 For details, please see:
4623 ```
4624 DDCore/include/DD4hep/AlignmentsPrinter.h
4625 DDCore/include/DD4hep/AlignmentsProcessor.h
4626 DDCore/include/DD4hep/ConditionsPrinter.h
4627 DDCore/include/DD4hep/ConditionsProcessor.h
4628 DDCore/include/DD4hep/DetectorProcessor.h
4629 ```
4630
4631 ## Naming conventions for detector conditions
4632
4633 * Condition are logically attached to DetElements
4634 * Condition names are: `DetElement.path()+"#"+condition-name`
4635 Example: `/world/LHCb/DownstreamRegion/Muon/M5/M5ASide/R3ASide/Cham046#alignment`
4636
4637 * Condition keys are a `int64` compound of two `int32`:
4638 ```cpp
4639 union {
4640 int64 key;
4641 struct {
4642 int32 item_key;
4643 int32 det_key; // Needs to be the high word to have a properly ordered map
4644 } values;
4645 };
4646 det_key = hash32(DetElement.path())
4647 item_key = hash32(condition-name)
4648 ```
4649 **Condition keys must be unique throughout the detector description.**
4650
4651 * Alignment conditions naming conventions:
4652 * Alignment-delta conditions are called `alignment_delta`.
4653 * Fully qualified alignment conditions are called `alignment`.
4654 DD4hep provided alignment utilities rely on this convention.
4655
4656 * Other conditions can be named freely.
4657
4658 ## Important Notice
4659 The **Alignment conditions naming conventions** are already used by several utilities involving alignments. If you plan to use these, do not freely ignore these recommendations. When the naming conventions are ignored, these utilities shall not work.
4660
4661 ## Updates to DDCond
4662 DDCond implements a working conditions cache following the design criteria sketched above. The `conditionsSlice` object implements (though by forwarding to the `ConditionsUserPool`) a `ConditionsMap` interface.
4663
4664 The `DD4hep_ConditionsMapUserPool` plugin implements in a very efficient way this interface using an ordered map. Using the above described key definition, this implementation allows very efficient scans of conditions/alignments etc. of individual detector elements, since conditions which belong to the same detector element are contiguous.
4665
4666 ## Alignment handling/computations
4667 Using the conditions maps, the computation of (mis-)alignment data from deltas
4668 is no longer bound to the conditions mechanisms.
4669
4670 A special utility called `AlignmentsCalculator` is put in place (see `DDCore/include/DD4hep/AlignmentsCalculator.h`) to facilitate the computation of a coherent set of alignments given a set of delta-parameters. This mechanism is much simpler, easier to understand and far less code intensive than the previously designed callback mechanism where alignments are obtained using conditions derivation.
4671
4672 ## Update of the existing examples
4673
4674 The example sets in DDDB, `examples/Conditions, examples/AlignDet`, `examples/DDDB` were updated according to the changed mechanism of accessing conditions. Here we can see the real benefits of the new approach: keeping same functionality, the examples became way off simpler. Simply count the number of lines of code.
4675
4676 * 2017-06-17 Marko Petric ([PR#170](https://github.com/AIDASoft/DD4hep/pull/170))
4677 - Add clang flag to warn about using namespace directive in global context in header
4678
4679 * 2017-06-17 Frank Gaede ([PR#167](https://github.com/AIDASoft/DD4hep/pull/167))
4680 - renamed the namespace DD4hep::DDRec to dd4hep::rec (see #166)
4681 - provide backward compatibility to outside world for now
4682 - moved the interfaces in namespace DDSurfaces to dd4hep::rec
4683 - provide backward compatibility to outside world for now
4684
4685 * 2017-06-15 Frank Gaede ([PR#165](https://github.com/AIDASoft/DD4hep/pull/165))
4686 - started to cleanup DDRec
4687 - don't use LCDD::getInstance() in SurfaceManager and SurfaceHelper
4688 - deprecate unused(?) classes in DDRec/API and DDRec/Extensions
4689 - deprecate MaterialManager() using LCDD::getInstance()
4690
4691 # v00-23
4692
4693 * 2017-05-12 Marko Petric ([PR#152](https://github.com/aidasoft/DD4hep/pull/152))
4694 - Update CI to GCC 7.1 and LLVM 4.0 and include Geant4 10.3
4695
4696 * 2017-05-22 Frank Gaede ([PR#154](https://github.com/aidasoft/DD4hep/pull/154))
4697 - protect against NANs in Guineapig pairs files in Geant4EventReaderGuineaPig
4698 - make INFO printout more consistent with dd4hep style
4699
4700 * 2017-06-07 Frank Gaede ([PR#157](https://github.com/aidasoft/DD4hep/pull/157))
4701 - bug fix in test_cellid_position_converter
4702 - with this no tests for position from cellID lookup should fail
4703 - re-implement ```CellIDPositionConverter::cellID(pos)```
4704
4705 * 2017-06-08 Marko Petric ([PR#156](https://github.com/aidasoft/DD4hep/pull/156))
4706 - Mark all fallthroughs in case statements with attributes to suppress warning
4707
4708 * 2017-06-01 Frank Gaede ([PR#155](https://github.com/aidasoft/DD4hep/pull/155))
4709 - add new class rec::CellIDPositionConverter
4710 - replaces rec::IDDecoder
4711 - implement positionNominal(CellID id) and cellID(position)
4712 - prepare for using alignment map by separating transforms to DetElement and daughter volume
4713 - do not use deprecated methods/members in VolumeManager
4714 - add test_cellid_position_converter.cpp
4715 - add VolumeManagerContext::toElement
4716 - transform from sensitive volume to next DetElement
4717
4718 # v00-22
4719
4720 * 2017-04-28 Markus Frank ([PR#148](https://github.com/aidasoft/DD4hep/pull/148))
4721 Improvements to the compact xml processing
4722 ===========================================
4723
4724 Elements may now be specified within compact in 2 ways:
4725 1) old way: create an effective element:
4726 ` <element Z="4" formula="Be" name="Be" >`
4727 ` <atom type="A" unit="g/mol" value="9.01218" />`
4728 ` </element>`
4729
4730 2) create element by defining an isotope mixture:
4731 ` <isotope name="C12" Z="6" N="12"/>`
4732 ` <atom unit="g/mole" value="xxxx"/>`
4733 ` </isotope>`
4734 `.....`
4735 ` <element name="C">`
4736 ` <fraction n="0.9893" ref="C12"/>`
4737 ` <fraction n="0.0107" ref="C13"/>`
4738 ` </element>`
4739
4740 Improved debugging of compact xml conversions
4741 The following tags allow to enable increased prinout depending on additional tags in the compact file:
4742 ` <debug>`
4743 ` <type name="isotopes" value="1"/>`
4744 ` <type name="elements" value="1"/>`
4745 ` <type name="materials" value="0"/>`
4746 ` <type name="visattr" value="0"/>`
4747 ` <type name="regions" value="0"/>`
4748 ` <type name="readout" value="0"/>`
4749 ` <type name="limits" value="0"/>`
4750 ` <type name="segmentation" value="0"/>`
4751 ` </debug>`
4752
4753 Disable the ROOT TGeo element table from the compact xml.
4754 Note: ALL elements must then be specified in the XML material database.
4755 ` <geometry>`
4756 ` <clear name="elements"/>`
4757 ` </geometry>`
4758
4759 By default compact accepts exactly one input file (others may be included therein).
4760 In order to process iteratively multiple input files, the opening and the closing of the
4761 geometry steering tags may be added to the compact description. This example
4762 gives the default behaviour:
4763 ` <geometry open="true" close="true"/>`
4764
4765 Please note: per compact file exactly ONE geometry tag is allowed.
4766
4767
4768 Debugging the DDG4 geometry conversion mechanism
4769 =============================================
4770 New boolean properties of the Geant4DetectorGeometryConstruction object,
4771 which result in debugging printouts (defaults are OFF):
4772 DebugMaterials
4773 DebugElements
4774 DebugShapes
4775 DebugVolumes
4776 DebugPlacements
4777 DebugRegions
4778 PrintPlacements
4779 PrintSensitives
4780
4781 * 2017-04-28 Ben Couturier ([PR#146](https://github.com/aidasoft/DD4hep/pull/146))
4782 * Trivial fix for the DDDB converter to create paramphysvol3D volumes, which are otherwise ignored.
4783
4784 * 2017-04-20 Andre Sailer ([PR#145](https://github.com/aidasoft/DD4hep/pull/145))
4785 - LCIOOutput: Add setting of ProducedBySecondary bit for SimTrackerHits if the hit is produced by a particle that is not stored in the MCParticle collection, needs lcio 2.8
4786
4787 * 2017-05-05 Andre Sailer ([PR#150](https://github.com/aidasoft/DD4hep/pull/150))
4788 - Always create dd4hepConfigVersion.cmake in CMAKE_INSTALL_PREFIX and cmake folder
4789 - Create DD4hepConfig.cmake also in cmake folder
4790 - renamed Cmake Macro GENERATE_PACKAGE_CONFIGURATION_FILES to DD4HEP_GENERATE_PACKAGE_CONFIGURATION_FILES so it does not clash with the macro of the same name in ilcutil/cmakemodules
4791
4792 * 2017-05-07 Andre Sailer ([PR#151](https://github.com/aidasoft/DD4hep/pull/151))
4793 - Use cmake to create Version.h file to contain dd4hep version information and macros
4794 - Change the way dd4hep package version is defined and set standard cmake variables for this purpose
4795
4796 # v00-21
4797
4798 * 2017-04-03 Marko Petric ([PR#142](https://github.com/AIDASoft/DD4hep/pull/142))
4799 - Update to the CI system:
4800 - Install directly cvmfs on base system, which removes the need for the parrot connector
4801 - Replace CernVM docker with plain docker
4802 - This reduces the build run time from 50 min to 25 min
4803
4804 * 2017-03-27 Shaojun Lu ([PR#134](https://github.com/AIDASoft/DD4hep/pull/134))
4805 - Set verbose true for G4EmSaturation to printout Birks coefficient.
4806
4807 * 2017-03-29 Frank Gaede ([PR#139](https://github.com/AIDASoft/DD4hep/pull/139))
4808 - add a utility to dump the B-field for a given Volume
4809 - usage: dumpBfield compact.xml x y z dx dy dz [in cm]
4810 - will dump the B-field in volume [-x:x,-y:y,-z,z] with steps [dx,dy,dz]
4811
4812 * 2017-03-29 Joschka Lingemann ([PR#138](https://github.com/AIDASoft/DD4hep/pull/138))
4813 - Direct implementation that calculates eta from cartesian coordinates
4814 - Fix: Add registration of Phi-Eta segmentation
4815
4816 * 2017-03-29 Joschka Lingemann ([PR#137](https://github.com/AIDASoft/DD4hep/pull/137))
4817 - Adding GridRPhiEta a segmentation of equidistant size in R, Phi and Pseudorapidity
4818 - Adding GridPhiEta a segmentation of equidistant size in Phi and Pseudorapidity
4819
4820 * 2017-03-28 Markus Frank ([PR#135](https://github.com/AIDASoft/DD4hep/pull/135))
4821 - Accidentally the Segmentations of Joschka were added in the wrong place of the hierarchy.
4822 I removed them. He will later add them to the proper location.
4823 - Some C++ warnings concerning the C++11 standard were also fixed.
4824
4825 * 2017-03-24 Yorgos Voutsinas ([PR#132](https://github.com/AIDASoft/DD4hep/pull/132))
4826 - modifying the LayeredCalorimeterData struct in order to cope with conical shaped calorimeters
4827
4828 * 2017-03-31 Markus Frank ([PR#143](https://github.com/AIDASoft/DD4hep/pull/143))
4829 - Add new test for multi segment multi collections segmentations using a calorimeter endcap.
4830 See also: https://github.com/AIDASoft/DD4hep/issues/141, which is still unresolved,
4831 but seems not to be directly related to the Monte-Carlo truth handling.
4832 - Side effect: add Geant4EventActions to dump hits and particles
4833 - Fix a linker problem for unicode tags.
4834
4835 * 2017-03-31 Frank Gaede ([PR#140](https://github.com/AIDASoft/DD4hep/pull/140))
4836 - clarify documentation for CartesianField and implementations
4837 - make clear that void fieldComponents() has to add
4838 the new field to the given field vector
4839
4840 * Marko Petric 2017-03-23
4841 - Convert Release notes to markdown
4842 - Add some text about WIP and issue tracking
4843 - Add CONTRIBUTING.md and PULL_REQUEST_TEMPLATE
4844
4845 * Markus Frank 2017-03-17
4846
4847 - Add a new input type by parsing JSON files. The basic json interpreter
4848 is present and offers essentially the same interface as the XML persers.
4849 The integration to the compact dialect however is not yet done.
4850 It should become however a valid alternative to parsing XML files
4851 with a small maintenance overhead, since the enhancement implementation
4852 present in XMLDimesion.h, XMLDetector.h and XMLChildValue.h is shared
4853 and instantiated for both.
4854
4855 * Markus Frank 2017-03-10
4856
4857 - New round to kill coverity deficiencies.
4858 - Add exception try-catch clauses around various main programs in UtilityApps
4859 See UtilityApps/src/main.h for details.
4860
4861 * Markus Frank 2017-03-09
4862
4863 - Fix issue with long volume ids exceeding 32 bits.
4864 Test added in examples/ClientTests
4865 - Fix volume manager id identical placed volumes are used in different places of the hierarchy.
4866 Test added in examples/ClientTests
4867 - Remove various svn left-overs (ID$ strings etc.)
4868
4869
4870 * Frank Gaede 2017-02-10
4871
4872 - allow event readers to create more than one vertex per event
4873 this should be possible as most generator formats allow to specify
4874 more than one event vertex
4875 - changed signature of Geant4EventReader::readParticles(int,Vertex*, Particles&)
4876 to Geant4EventReader::readParticles(int,Vertices&, Particles& )
4877 - implement in LCIOEventReader, Geant4EventReaderHepEvt and Geant4EventReaderHepMC
4878 - for now still one vertex only is created using the first final state particle
4879 for HepEvt and LCIO
4880
4881 # v00-20
4882
4883 * Frank Gaede 2017-01-13
4884 - fix computation of radiation and interaction lengths
4885 - require the density to be specified in the materials xml file
4886
4887 * Frank Gaede 2017-01-04
4888 - adopt numbers in test_surface.cc to elements.xml
4889 - use elements.xml generated with plugin in DDTest
4890 - add ROOT version to dumped element table
4891
4892 * Frank Gaede 2016-12-22
4893 - fix test_surfaces by adapting to elements.xml
4894 - fix test_units by including elements.xml
4895
4896 * Markus Frank 2016-12-21
4897 - Add plugin to dump the default ROOT element table
4898
4899 * Markus Frank 2016-12-20
4900 - Remove obsolete build flags
4901
4902 * Markus Frank 2016-12-19
4903 - Add Multi-threading conditions example
4904
4905 * Andre Sailer 2016-12-16
4906 - Add drivers for Beampipe, Mask and Solenoid from lcgeo, changed name to dd4hep_*
4907
4908 * Rosa Simonielo, Frank Gaede 2016-12-15
4909 - add new struct rec::NeighbourSurfacesStruct defined for neighbouring surfaces
4910
4911 * Frank Gaede 2016-12-14
4912 - fix library pathes in env scripts for macos
4913 - use DD4HEP_LIBRARY_PATH and full lib path on mac
4914 - apply rpath compiler settings to GaudiPluginService
4915 - make compatible w/ Geant4 10.3
4916
4917 * Marko Petric 2016-12-13
4918 - Fix compiler flag handling
4919
4920 * Daniel Jeans 2016-12-08
4921 - add utility graphicalMaterialScan
4922
4923 * Markus Frank 2016-12-07
4924 - Fix compiler error on MacOSX gcc 4.9
4925
4926 * Marko Petric 2016-12-07
4927 - Remove few tests from Travis
4928 - move flag to CMAKE_SHARED_LINKER_FLAGS
4929 - Remove the dynamic lookup on runtime for libs on mac
4930
4931 * Markus Frank 2016-12-05
4932 - First version of conditions and alignments
4933
4934 * Andre Sailer 2016-12-06
4935 - DDTest: fix location to install DDtest header files
4936 - Remove minimum required cmake version from DD4hepBuild, this interferes with other packages depending on dd4hep
4937
4938 * Marko Petric 2016-12-02
4939 - Fix missing CLHEP in thisdd4hep.sh
4940 - Clean up FindPYTHON.cmake file
4941 - Change gaudi auto_ptr to unique_ptr since the auto is deprecated
4942 - Fix initAClick
4943
4944 * Marko Petric 2016-11-29
4945 - Fix rpath issues on mac with python
4946 - Add custom DynamicPath on mac when loading python libs
4947 - Add function to set the DD4HEP_LIBRARY_PATH
4948
4949 * Marko Petric 2016-11-28
4950 - Update all minimum CMake versions
4951 - Fix gitlab builds
4952 - Rename MakeRootMap to MakeGaudiMap for consistency
4953 - Remove ROOT5 things and make approprite fixed to the usage of ROOTConfig.cmake
4954 Remove FindROOT.cmake and use from now on ROOTConfig.cmake
4955
4956
4957 * Markus Frank 2016-11-30
4958 - New version of conditions handling
4959
4960 * Andre Sailer 2016-11-25
4961 - Fix ProductionCut conversion in Geant4Converter.cpp: cut is a range
4962
4963 * Markus Frank 2016-11-24
4964 - Fix linker errors on MAC
4965 - Remove compiler warnings on MACOSX
4966 - First fixes to version of alignment constant processing also remove where visited the $ statements in the files.
4967 They are useless, since git does not support them. Fixed some tests, which no longer properly worked in
4968 the conditions area.
4969 - First usable version of alignment constant processing
4970
4971
4972 * Markus Frank 2016-11-16
4973 - Try to improve efficiency using C++11 default operations
4974
4975 * Markus Frank 2016-11-10
4976 - Simplify opaque data mappings for conditions
4977
4978 # v00-19
4979 * 2016-11-17 D.Jeans
4980 - rewritten MegatileLayerGrid class
4981 - not backward compatible
4982
4983 * M.Petric:
4984 - improved Travis CI configuration
4985 - remove some tests from CI
4986
4987 # v00-18
4988
4989 * 2016-11-09 F.Gaede
4990 - updated rec::LayeredCalorimeterData::Layer:
4991 - remove deprecated thickness
4992 - add phi0
4993 - add copy assignement to rec::MaterialData
4994
4995 * 2016-11-08 M.Frank
4996 - Improve conditions handling. Started to implement using simple telescope
4997 detector from C.Burr.
4998 - Add variable DD4HEP_LIBRARY_PATH to be used on MacOSX El Capitane
4999 to overcome DYLD_LIBRARY_PATH protection issues.
5000 - Fix to copy with negative(rebased) IDDDescriptor fields
5001 (affects IDDDescriptor and VolumeManager).
5002 2 New tests:
5003 - ClientTests/Bitfield_SidesTest.xml to test readout string:
5004 system:8,barrel:-2
5005 - ClientTests/Bitfield_SidesTest2.xml to test readout string:
5006 system:16,barrel:16:-5
5007
5008 * 2016-10-18 M.Frank
5009 - Due to pressure of the FCC folks, I tried to implement a more dd4hep like implementation of the
5010 the segmentation objects. For testing only CartesianGridXY. If this mechanism works,
5011 it could be a starting recipe for the rest of the segmentations. The draw-back of this approach is,
5012 that assignments are not reversible:
5013 dd4hep::CartesianGridXY xy = readout.segmentation(); // Works
5014 dd4hep::Segmentation seg = xy; // Should not work
5015
5016 - Reason: the managed objects are different....at some point in time I will have to find a
5017 clean solution for this, but the required changes for such a solution shall be manageable.
5018
5019 # v00-17
5020
5021 * 2016-09-29 V.Volkl
5022 - Small fixes and extensions of DDEve. Show "Views" menu even if specifying xml on the command line.
5023 Add possibility to specify event data in EveDisplay method, rather than having to select it in the gui dialogue.
5024 Selects FCC EventHandler if specified in the config xml (as an "eventHandler"-attribute to the "display" node),
5025 but keeps default behavior if not.
5026
5027
5028 * 2016-08-24 M.Frank
5029 - Adding first somehow useful implementation to use conditions and the consequent loading thereof.
5030 Used by the DDDB implementation/example. DDDB is an alternative way to populate the dd4hep
5031 detector description using LHCb's detector description database.
5032 The reason is, that only a running experiment has a reasonable base to conditions data
5033 to excercise the dd4hep conditions.
5034 If interested, please have a look in the DDDB examples.
5035
5036 - Still TODO:
5037 - A formal way to bootstrap the conditions loading still has to be found.
5038 - Conditions loading from XML files and a small comprehensive example.
5039
5040 # v00-16
5041 * 2016-07-26 Shaojun Lu
5042 - Added new MegatileLayerGridXY segmentation for Scintillator strip Ecal, which is implemented by K.Kotera,
5043 and used by SEcal04Hybrid geometry driver.
5044
5045 - many ( minor fixes ) by F. Gaede, M. Petric, A Sailer, ...
5046
5047 * 2016-06-24 M.Frank
5048 - Implement multiple segmentations.
5049 Though one readout objects (associated to one DetElement) may only have on segmentation,
5050 The MultiSegmentation type allows to have several sub-segmentations, which can be chosen
5051 from.
5052 Please see examples/ClientTests/*/MultiSegmentations
5053
5054 - At the same time allow the readout object to defined multiple collections through
5055 the IDDescriptor.
5056 Please see examples/ClientTests/*/MultiCollections
5057
5058 - The combined example can be found in
5059 Please see examples/ClientTests/*/NestedSegmentations
5060
5061
5062
5063 * 2016-05-03 M.Frank
5064 - Green light is ON. You may use revision 2237 and above.
5065
5066 * 2016-05-03 M.Frank
5067 - **Mega commit. Do not use until green signal arrives with seperate release notice.**
5068 - Package DDDB: Prove of concept, that we can populate the geometry also from other
5069 sources than xml files obeying the lccdd notation.
5070 - DDCore/XML: Implement the possibility to use external entity resolution for Xerces.
5071 There is not equivalent in TinyXML (AFAIK).
5072 - Remove some of the Spirit parsers, since the libraries are getting way too big.
5073 This implicitly assumes, that object properties of 'exotic' types such as
5074 deque<long double> etc. are not really used. If you need properties stay to the obvious:
5075 string, int float, double and vectors, maps and sets thereof!
5076 - DDG4 needed to public the DDG4Python include directory (Now in DDG4/Python).
5077 Reason: try to create ROOT 6 dictionaries, which can be relocated for release purposes.
5078 - ROOT 6 dictionary generation: Create dictionaries with the additional flag:
5079 "-inlineInputHeader" which physically includes the header files used to generate the
5080 dictionaries --> relocatability.
5081
5082 * 2016-03-21 M.Frank
5083 - Add additional vertex argument to EventReader::readParticles, which supposedly should
5084
5085 * 2016-03-03 M.Frank
5086 - Improve/complete job options type palette.
5087 - Allow modify the Geant4IsotropGenerator to shoot particle distributions according
5088 to several distributions:
5089 flat in : uniform, cos(theta), eta/pseudorapidity, ffbar (1+cos^2 theta)
5090 Option: generator.Distribution = 'cos(theta)'
5091 Default is uniform.
5092
5093 # v00-15
5094 * 2016-02-15 A.Sailer
5095 - LCIOStdHepReader.cpp
5096 - fixed memory leak, compiled and valgrinded
5097
5098 * 2016-02-10 F.Gaede
5099 - added utility dd4hep::xml::setDetectorTypeFlag()
5100 to set the TypeFlag from xml element <type_flag type="0x42"/>
5101 - select detectors with
5102 dd4hep::DetectorSelector(description).detectors( ( dd4hep::DetType::TRACKER | dd4hep::DetType::ENDCAP )) ;
5103 - used in UtilityApps/dumpdetector.cc
5104 - added detector_types.xml with int constants defined in DetType.h, include with :
5105 `<include ref="${DD4hepINSTALL}/DDDetectors/compact/detector_types.xml"/>`
5106 - add elements to xml, e.g.
5107 <type_flags type="DetType_TRACKER + DetType_ENDCAP + DetType_PIXEL + DetType_STRIP "/>
5108
5109 * 2016-02-10 M.Frank
5110 - DDCond:
5111 First implementation of conditions access. Required some movements of files
5112 from DDG4 (Properties) and some changes in the core conditions implementation.
5113 The basic infrastructure is now present. Don't know yet however how buggy it is...
5114
5115 * 2016-02-05 F.Gaede
5116 - added DetElement::typeFlag() and DetElement::setTypeFlag(unsigned int types)
5117 - added utility class DetType for setting detector type properties in type flag
5118
5119 * 2016-02-03 N.Nikiforou
5120 - DDDetectors
5121 - Added plugin dd4hep_GenericSurfaceInstallerPlugin, copied from lcgeo
5122 to allow installation of surfaces to any sliced detector
5123 cmake/Doxyfile.in
5124 - Added DDDetectors to the sources directory so Doxygen picks up the
5125 plugin documentation
5126
5127 * 2016-02-02 F.Gaede
5128 - set momentum at endpoint (if lcio version > 2.6 ) for MCParticles in Geant4Output2LCIO.cpp
5129 - fixed printlevel in Geant4Action::print()
5130 - removed random lines drawn in teveDisplay
5131 - dont't print DetectorData by default in dumpdetector
5132
5133 * 2016-02-02 A.Sailer
5134 - DDG4
5135 - Implemented SimulatorFlags (DDFORHEP-17)
5136 * In ParticleHandler: vertexIsNotEndpointOfParent, Stopped, leftDetector
5137 * Steerable distance for vertexIsNotEndpointOfParent
5138 * TCUserParticleHanlder Simulator flags: DecayedInTracker, DecayedInCalorimeter
5139
5140 * 2016-01-21 A.Sailer/M.Frank
5141 - DDG4
5142 - Improved user defined physics constructors
5143 * Allows user defined global rangecut
5144 * Allows extending particle table (e.g. B-Hadrons unknown to geant4)
5145
5146 * 2016-01-18 F.Gaede
5147 - fixed default c'tors in DDRec/DetectorData.h to zero initialize sub-structures (LayerLayout etc)
5148
5149 * 2016-01-13 F.Gaede
5150 - allow the default sensitive action to be a tuple with parameter dictionary in DDG4.py/ddsim.steer e.g.:
5151 SIM.action.tracker = ("Geant4TrackerWeightedAction", {"HitPositionCombination" : 1 , "CollectSingleDeposits" : False } )
5152 - fixed endpoint in MC-truth particles
5153
5154 * 2016-01-11 F.Gaede
5155 - fix hit momentum in Geant4TrackerAction (Geant4SDActions.cpp)
5156
5157 * 2016-01-11 A.Sailer
5158 - DDG4
5159 - Add LargestAcceptableStep to field setup
5160
5161 * 2016-01-07 A.Sailer
5162 - DDG4
5163 - Fix the logic for skipping of events at the start of input files: LCIO, HepMC, stdhep and HepEvt
5164 - Event number in lcio outputfile takes skipped events into account now
5165
5166 * 2016-01-06 F.Gaede
5167 - bug fix in DDSurfaces::ISurface for surface properties (orthogonal/parallel to z)
5168 (affected ILD VXD)
5169
5170 * 2016-01-05 F.Gaede
5171 - added print functions for rec::DetectorData objects
5172 - used in dumpdetector:
5173 dumpdetector compact.xml -d
5174
5175
5176 * 2015-12-09 N.Nikiforou
5177 - UtilityApps/teveDisplay
5178 - Modified teveDisplay to have three separate collections of surface vectors (u,v,n)
5179 instead of one collection. Now the vectors are colored differently.
5180 - Changed signature of getSurfaceVectors() to allow selection of o,u,v,n vectors to
5181 add to the collection, added option for name and color of collection.
5182 - Renamed surface list collections to "HelperSurfaces" and "SensitiveSurfaces".
5183 - Changed signature of getSurfaces() to allow setting of name and color of collection.
5184
5185
5186 * 2015-12-01 M.Frank
5187 - DDG4
5188 - Remove some of the compilation warnings
5189 - Remove energy cut in sensitive detectors
5190 If you though need, use a Geant4Filter to mask the action processing
5191 examples/CLICSiD
5192 - Add a few tests for materialscan and simulation setups using XML or CINT.
5193 examples/ClientTests
5194 - Add a few tests for materialscan and simulation
5195
5196 * 2015-11-24 M.Frank
5197 - DDG4
5198 - Implementation of multi-threading mode.
5199 To use and understand, please consult the DDG4 manual from the doc area.
5200 - "Old" Single threaded mode and functionality is preserved.
5201 - Numerous new classes supporting thread and master specific setup
5202 functionality.
5203 - Support for python configuration (see manual for details)
5204 - Support for global Geant4Actions executing in thread reentrant shared mode.
5205 (see manual for details)
5206 - DDG4 examples: DDG4/examples/CLICSidSimu.py deleted and replaced with:
5207 1) DDG4/examples/SiDSim.py (single threaded, old example)
5208 2) DDG4/examples/SiDSim_MT.py (multi threaded version of SiDSim.py)
5209
5210 -DDCore:
5211 - Support user formats for the default printout statements for nicer printouts.
5212 - Removal of compiler warnings
5213
5214 * 2015-11-23 F.Gaede
5215 - added glbal method dd4hep::versionString()
5216
5217 * 2015-11-13 S.Lu
5218 - Added a new AHcal Barrel segementation: TiledLayerGridXY, to be used e.g.
5219 for the ILD AHcal Barrel Sensitive layer segmentation design.
5220
5221 * 2015-10-30 F.Gaede
5222 - fixed LCIOFileReader to use sequential reading mode
5223 as using direct access always required runNum==0 and sequential evt nums ...
5224
5225
5226 * 2015-10-15 F.Gaede
5227 - DDSurfaces::ISurface/Surface
5228 - added implemation of conical surfaces
5229 - ICone, VolConeImpl, VolCone, ConeSurface
5230
5231 * 2015-10-13 M.Frank
5232 - DDG4
5233 - Remove explicit constructors for modular physics lists.
5234 Use the native Geant4 provided G4PhysListFactory instead.
5235 The physics list is instantiated as before with the "Extends" property.
5236 - Implement angular ranges in the Geant4IsotropeGenerator for phi [0,2pi] and theta[0,pi]
5237 - New sensitive detector Geant4TrackerWeightedAction
5238 Attempt to properly process combined deposits in tracking detectors.
5239 - Debug component Geant4SurfaceTest similar to the standalone program
5240 test_surfaces, but to be appended as a DDG4 event action for event by event
5241 tests of hits.
5242
5243 * 2015-10-09 M.Frank
5244 - DDG4
5245 - Extend the functionality of the DDG4 plugins
5246 Geant4InteractionVertexBoost and Geant4InteractionVertexSmear.
5247 If the Mask property is set to -1, all interactions present
5248 at call time are smeared/boosted according to the parameters.
5249 Note, that the position of the plugins within the generation
5250 sequence is important.
5251 - Add a new generator Geant4GeneratorWrapper to allow the use
5252 of native G4 generator classes such as the G4ParticleGun or
5253 the G4GeneralParticleSource. Still to be tested.
5254 - Extend the Geant4Random functionality: May now be instantiated
5255 like any other Geant4Action. Users may set the seed or the
5256 luxury level.
5257 All calls to HepRandom (CLHEP) or gRandom (ROOT) will re-use
5258 this instance. See DDG4/examples/CLICRandom.py for illustration.
5259 - Updated DDG4 manual.
5260
5261 * 2015-09-30 F.Gaede
5262 - updated createGearForILD.cpp to use new parameters in LayeredCalorimeterData
5263 ( innerThickness, innerRadLength, etc)
5264
5265
5266 * 2015-09-15 F.Gaede
5267 - refactoring of Surface classes:
5268 - made VolSurface a reference counting handle to
5269 a polymorphic pointer of type VolSurfaceBase
5270 - this should facilitate the creation
5271 of dedicated surface classes for special cases
5272 such as inside the beampipe or the face of the calorimeter
5273
5274 * 2015-08-27 F.Gaede
5275 - added macros DD4HEP_VERSION_GE(MAJV,MINV) and DD4HEP_VERSION_GT(MAJV,MINV)
5276 to Detector.h
5277
5278 - increased version number to v00-15
5279
5280
5281 * 2015-08-20 M.Frank
5282 - DDCore: Modularize/abstract plugin manager
5283 - VolumeManager: Fix bug propagating sensitive detectors
5284 Showed up in the examples of nested detectors
5285
5286
5287 * 2015-08-12 N.Nikiforou
5288 - DDCore/XML: Added new helper functions to Layering engine:
5289 - double absorberThicknessInLayer(xml::Element e) :
5290 returns total absorber thickness in given layer
5291 - void sensitivePositionsInLayer(xml::Element e, std::vector<double>& sens_pos) :
5292 provides positions of sensitive slices within a layer with respect to the
5293 center of the layer
5294
5295
5296 * 2015-07-25 M.Frank
5297 - DDSegmentation: Remove several 'shadow' warnings.
5298
5299 - New build system for the dd4hep core, which greatly simplyfies the cmake files
5300 for the various sub-packages.
5301 Tested with Andre's build script doc/CompileAllOptionPermutations.sh.
5302 (GEAR usage not tested though)
5303
5304 # v00-14
5305 * F.Gaede
5306 - fixed writing of generator status for lcio::MCParticle
5307 in Geant4Output2LCIO.cpp
5308
5309 * A.Sailer
5310 - Add missing scope to /DD4hep/Factories.h, to not force everyone to use using namespace
5311
5312 * F.Gaede: 2015-07-15
5313 - changed type in SurfaceList and SurfaceMap from Surface to ISurface
5314 - added methods length_along_u/v() to ISurface
5315 - moved setting of CMAKE_CXX_FLAGS (if DD4HEP_USE_CXX11) from DD4hep.cmake to CMakeLists.txt
5316
5317 * 2015-07-11 M.Frank
5318 - added starter docs dd4hepStartersGuide.pdf
5319
5320 *** **Important** ***
5321 **Before updating, backup your existing and working checkout. Though I was running
5322 the basic tests, there may be unchecked corners of the software.**
5323
5324 Notes:
5325 - Backwards compatibility mode for the usage of ROOT 5 and ROOT 6 alternatively.
5326 - For ROOT 6 the Gaudi PluginService is used and added to the distribution.
5327 - dd4hep is distributed with a licence. See $DD4hepINSTALL/LICENSE for details.
5328 - In the doc area the $DD4hepINSTALL/doc/CREDITS file everybode should add her/his
5329 name, if contributed significantly.
5330 - Unfortunately this meant to add/change the headers of all files and give a
5331 pointer to the licence file. If I accidentally changed the author name, please
5332 chagne it back.
5333 - The plugin factory declaration statements were changed to accomodate both
5334 ROOT 5 and ROOT 6 and to keep the number of 'ifdef' statements at a minimum.
5335 - TODO: Properly change the cmake scripts to accomodate for ROOT 6 and the
5336 automatic switch when building dd4hep.
5337 - For reference reasons: this commits is revision 1812 + 1813 (DDDetectors)
5338
5339 # v00-13
5340 * 2015-07-03 F.Gaede
5341 - updated doxygen for detector rec::DetectorData structs and usage in convertToGear
5342
5343 * 2015/07/02 Nikiforos Nikiforou
5344 - Added isRadiator() helper function in DDCore/XML/XMLDetector.h/cpp
5345 Mirroring functionality of isSensitive() and used in geometry drivers
5346 e.g. to calculate total absorber thickness
5347
5348 - Extended LayeredCalorimeterStruct in DDRec/DetectorData.h to include
5349 additional parameters required by Pandora:
5350 - inner_phi0 (e.g. alignment for inner symmetry)
5351 - outer_phi0 (e.g aligment for outer symmetry)
5352 - NOTE: phi0 still remains but is deprecated
5353 - gap0 (e.g stave gap along r-phi)
5354 - gap1 (e.g middle stave gap along z)
5355 - gap2 (reserved for future use)
5356
5357 * 2015-06-29 A.Sailer
5358 - always store lcio collections, even if they are empty in Geant4Output2LCIO (DDG4/ddsim)
5359
5360
5361 * 2015-06-29 F.Gaede
5362 - changed env scripts to prepend to library pathes (dd4hep and dependant packages)
5363 - using a newer lcgeo version than the one provided in ilcsoft can simply
5364 be done w/ source ./bin/thislcgeo.sh
5365
5366 # v00-12
5367 * 2015/06/17 Markus Frank
5368 - Add possibility to block access to constants by name from Detector.
5369 Functionality enabled by a constant named "Detector_InhibitConstants" with value "1", "True", "Yes".
5370 Test: geoDisplay -compact file:../DD4hep.trunk/examples/ClientTests/compact/InhibitConstants.xml
5371
5372 - Add DetectorHelper handle object to easily access the sensitive detector object of a detector
5373 using either the subdetector name or the detector element (or one of its children).
5374 See: dd4hep/DetectorHelper.h
5375 Test: ```
5376 geoPluginRun -input file:../DD4hep.trunk/examples/CLICSiD/compact/compact.xml \
5377 -plugin CLICSiD_DetectorHelperTest \
5378 optional: -<detector-name (default:SiVertexEndcap)> [Note the '-'!!!]
5379 ```
5380
5381 - Check when adding new sub-detector detector elements if a given one already exists.
5382 if yes: exception.
5383 Test: `geoDisplay -compact file:../DD4hep.trunk/examples/ClientTests/compact/DuplicateSysID.xml`
5384
5385
5386 * A. Sailer
5387 - DDSegmentation: Added function cellDimension which returns the dimension of any given cell
5388
5389 * S.Lu:
5390 - Added a switch for BirksLaw to Geant4StepHandler.
5391 For backward compatable, by default, do not apply BirksLaw, and apply BirksLaw with call 'doApplyBirksLaw()'.
5392 added optional Geant4ScintillatorCalorimeterAction
5393 - Added one 'Geant4ScintillatorCalorimeterAction' into DDG4 plugins Geant4SDActions for scintillator to take
5394 Geant4 BirksLaw effect as sensitive detector active layer.
5395
5396 * F.Gaede
5397 - added SurfaceManager class that holds maps of surfaces for
5398 "world","tracker","calorimeter","passive" and all individual subdetectors
5399 - to be used in reconstruction code where a lookup from cellID
5400 to corresponding surface is needed
5401 - needs plugin "InstallSurfaceManager" to be in the compact file
5402 - access via:
5403 SurfaceManager surfMan = *description.extension< SurfaceManager >() ;
5404 const SurfaceMap& surfMap = *surfMan.map( "world" ) ;
5405 - renamed old SurfaceManager to SurfaceHelper
5406
5407 - added method: Volume createPlacedEnvelope()
5408 - to be used in all LC detector drivers to create a placed envelope volume
5409 rest of the detector is then instantiate in this volume
5410
5411 - added BooleanShape plugin for creating generic boolean
5412 shapes (subtraction, union or intersection )
5413 - to be used for envelope definition in xml
5414
5415 - added new build_type: BUILD_ENVELOPE
5416 - can be used to visulize envelopes only (geoDisplay, teveDisplay,...)
5417
5418 * 2015/05/22 Nikiforos Nikiforou
5419 - Fixed bug in DDG4/lcio/LCIOConversions.cpp, which stored only the PDG of the primary particle
5420 in multiple particle contributions in SimCalorimeterHits instead of both the primary and secondary PDGs.
5421
5422
5423 * 2015/05/13 Markus Frank
5424 - Fix bug in DDG4, which forced DDG4 to exit if a property from the Geant4 prompt could
5425 not be set. No an error message is printed and the prompt is returned to the user.
5426 (Bug submitted by A. Sailer)
5427
5428 * 2015/05/11 Andre Sailer
5429 - CMake updates:
5430 - Split libraries into components: use find_package(dd4hep COMPONENTS <component> [...] )
5431 to find the components you need.
5432 - At the moment there are these components are sensible to link against: DDRec, DDG4, DDEve, DDSegmentation
5433 - To link against the librarie use either dd4hep_COMPONENT_LIBRARIES or dd4hep_<COMPONENT>_LIBRARY,
5434 where <COMPONENT> needs to be replaced by the UPPER case name of the component
5435
5436 * 2015/05/09 Markus Frank
5437 - Allow to access detectors by type from description.
5438 - The sensitive type of a detector is set in the 'detector constructor'.
5439 - Not sensitive detector structures have the name 'passive'
5440 - Compounds (ie. nested detectors) are of type 'compound'
5441 - Dump detector types using plugin:
5442
5443 geoPluginRun -plugin DD4hepDetectorTypes -input <compact-file>
5444
5445 * 2015/03/12 Markus Frank
5446 - Add support for ellipsoids in gdml/description and geant4 conversion.
5447 - Allow to include files with environment variables from compact notation.
5448
5449 * 2015/03/09 Markus Frank
5450 - Finalize move to geant4 version 10, started by A.Sailer
5451 - Add non-isotrop particle generator in DDG4 (request P.Kostka)
5452 - Isolate ROOT plugin manager as start to move to ROOT 6
5453
5454 # v00-11
5455 * F.Gaede
5456 - DDDetectors
5457 - new Package containing generic dd4hep detector palette (MF)
5458 - added 'dimension' argument to dd4hep_SiTrackerBarrelSurfacePlugin (FG)
5459 to handle pixel and strip detectors
5460
5461 - DDRec (Frank Gaede)
5462 - added simple data structs in DDRec/DetectorData.h
5463 providing interface needed for GEAR:
5464 - added plugin for creating GEAR file for ILD
5465 - Extended IDDecoder to give access to layer, system and barrel/endcap information. (CG)
5466 IDDecoder is now independent of Readout object, instead it finds the correct
5467 readout based on the cellID / position
5468 - fixed surface implementations: removed inline virtual functions
5469 - added methods:
5470 VolSurface::length_along_u()
5471 VolSurface::length_along_v()
5472 Surface::volumeOrigin()
5473 CylinderSurface::center()
5474 ICylinder::center()
5475
5476 - DDG4 (Markus Frank)
5477 - Fix Geant4 Primary input conversion
5478 - Fix LCCollectionVec for LCIO output
5479 - fixed units for MCParticle output (FG)
5480 - fixed generator status: set to 0 if (FG)
5481 particle created in simulation
5482 - Add cylindrical tracking volume to particle handler
5483 - More modular user particle handling with example Geant4TCUserParticleHandler
5484 - fixed charge (don't devide by three) (FG)
5485 - fixed logic for writing out MCParticles: (FG)
5486 - don't write particles created in calo
5487 unless scattered back into tracker)
5488 - don't write particles created in tracker
5489 if below MinimalKineticEnergy ( Geant4ParticleHandler)
5490 - Added HepMC ascii reader
5491 - added simply main program 'dd_sim' to run (FG)
5492 a DDG4 based simulation with xml configuration files
5493 - change TrackerCombine SD to use energy weighted positions
5494 - added utility to dump generated files: scripts/dumpDDG4.C
5495 - fixed dictionaries for map iteration on MacOS in python (FG)
5496 -> added operators ==/!= for map<>::iterator
5497 - added component to allow the setup of the magnetic field tracking in Geant4 from python
5498
5499 - DDCore (Markus Frank)
5500 - fixed Detector el-mag. field converter
5501 - add generic surface installers
5502 - allow for string constants in description define section
5503 - added arguments for surface plugins
5504
5505 - DDSegmentation (FG) :
5506 - fixed compiler warning w/ left shift count >= width of type
5507 - fixed wrong type string "CartesianGridXY"
5508 - added CartesianGridYZ
5509 - Implementation of a Polar R-phi segmentation (MP)
5510
5511 - examples
5512 - add new test MiniTel(escope) to ClientTests (MF)
5513 - moved old obsolete examples to attic
5514 - add new example: LHeD_tracker (MF)
5515 - add new example: SimpleDetector (FG)
5516 (ILD like VXD and SIT )
5517
5518 - CMake:
5519 - made DD4HEP_USE_BOOST an option flag (FG)
5520 - added dd4hepG4 library dependence to DDEve (MF)
5521 - disable dot -> have simpler (and faster) inheritance graphs w/ Doxygen
5522 - fixed missing search field in Doxygen doc (FG)
5523 - include boost automatically if build with Geant4
5524
5525
5526 - Documentation
5527 - improved Doxygen documentation (MF)
5528 - added manual for DDRec (FG)
5529 - new version of the dd4hep manual (MF)
5530 - fixed code formating with emacs style:
5531 ./doc/format_code.sh
5532
5533 - removed subpackages ( moved to https://svnsrv.desy.de/public/aidasoft/DD4hep/attic ):
5534 DDExamples_obs/
5535 DDSense/
5536 examples/ILDExDet/
5537 examples/ILDExSimu/
5538 examples/firstExample/
5539 examples/noviceN04/
5540
5541 - enabled testing in nightly builds with cmake, ctest and cdash (FG)
5542
5543 - plus many small bug fixes (use svn log for details )
5544
5545 * 2014/09/26 Markus Frank
5546 - Quite some effort to improve the doxygen documentation.
5547 The current revision is can be found at:
5548 https://cern.ch/frankm/DD4hep/html/index.html
5549
5550 * 2014/02/06 Markus Frank
5551 - DDDetectors: Add example surface plugin with arguments.
5552 - example code: DDDetectors/src/SurfaceExamplePlugin.cpp
5553 - compact:
5554 ```
5555 <plugin name="DD4hep_SurfaceExamplePlugin">
5556 <argument value="SiTrackerBarrel"/>
5557 <argument value="aa=1*mm"/>
5558 <argument value="bb=2*cm"/>
5559 <argument value="cc=3*m"/>
5560 </plugin>
5561 ```
5562
5563 - output:
5564
5565 ```cpp
5566 SurfaceExamplePlugin: argument[0] = SiTrackerBarrel value = -1
5567 SurfaceExamplePlugin: argument[1] = aa=1*mm value = 0.1
5568 SurfaceExamplePlugin: argument[2] = bb=2*cm value = 2
5569 SurfaceExamplePlugin: argument[3] = cc=3*m value = 300
5570 ```
5571
5572 * 2014/08/15 Markus Frank
5573 - DDG4: Impreoved LCIO handling for DDG4
5574 - DDG4: Input handling:
5575 - LCIO input file reading with multiple *independent* inputs
5576 to support overlay, multiple interactions, etc.
5577 - Primary verex smearing independent for each input
5578 - Primary vertex boosts independent for each input
5579 - DDG4: Output handling
5580 - MC Particle handling
5581 - Improved MC truth handling for produced Hits.
5582 Still needs revisiting.
5583
5584 # v00-10
5585 * Frank Gaede
5586 - fixed version numbers and release notes for release v00-08 and v00-09
5587 ( both have the wrong version number for the libraries 0.7 !)
5588 - added ./doc/prepare_a_release.howto
5589 - added new method to BitField64: setValue(unsigned lowWord, unsigned highWord )
5590 - added some simple unit tests for BitField64
5591
5592
5593 * 2014/08/15 Markus Frank
5594 - DDG4 Add possibility for user hook to the particle handler +
5595 Data member to store additionbal particle data for the
5596 output stage.
5597 - Allow to display MC particles in DDEve
5598 Add small help file describing how to start DDEve.
5599 doc/DDEveManual.pdf
5600 - Update CLICSiD Example.
5601
5602 # v00-09
5603 * 2014/08/07 Markus Frank
5604 - DDG4: First version to support MC truth in DDG4 including
5605 particle filtering to optimize the size of the MC record.
5606 - DDG4 fix SimpleCalorimter sensitive action and properly support
5607 hit aggregations.
5608 - DDEve smaller modifications to support DDG4IO if dd4hep was
5609 built with the Geant4 option ON.
5610
5611 # v00-08
5612 - Some minor fixes:
5613 - made compatible with older geant4 versions (9.5)
5614 - add Bitflag to store CellID1 in SimCalorimeterHit collections
5615 - fix position conversion from Geant4 to ROOT
5616 - add cellID determination to SensitiveAction
5617 - ...
5618
5619
5620 * Andre Sailer, 2014-07-17
5621 - Unify cmake option variables, small cmake corrections
5622 - Change options `_WITH_` to `_USE_`
5623 - Print Warning that variables with `_WITH_` are deprecated
5624 - Change Defintions to `_USE_` as well
5625 - Add REQUIRED to find_package geant4 and xercesc if they are turned on
5626 - Updated documentation
5627 - Updated ILDExDet example
5628
5629 * Christian.Grefe, 2014-07-15
5630 - Made DDSegmentation optionally a stand-alone package
5631 create DDSgementationConfig.cmake when build as part of dd4hep
5632
5633 * Markus Frank, 2014-07-02
5634 - add LCIO conversions from DDSim - sensitive detectors
5635 can now simply instantiate LCIO Sim hits
5636
5637 * 2014/06/30 Markus Frank
5638 - DDG4: Support user (context-) extensions for Geant4.
5639 User contexts are available for events and runs. The contexts
5640 are accessible from the Geant4Context meber of each Geant4Action,
5641 the base class for all processing entities.
5642 - Adding a context:
5643 ```
5644 context()->event().addExtension(pointer_to_object, typeid(TYPE), 0);
5645 or
5646 context()->event().addExtension<TYPE>(pointer_to_object);
5647 In the first case the object is NOT DELETED at the end of the event.
5648 In the second case the object is deleted.
5649 ```
5650 - Accessing the context:
5651 ```
5652 TYPE* ctx = context()->event().extension<TYPE>(false);
5653 The boolean argument indicates if an exception should be thrown
5654 if the extension is not present ie. here no exception.
5655 ```
5656 - DDCore: adjust a few print statements.
5657
5658 * 2014/06/27 Markus Frank
5659 - Separate XML loading from Detector implementation.
5660 - New package: DDEve: a bit more sophisticated TEve specialization
5661 - To start use examples/CLICSiD/compact/DDEve.xml
5662 - DDEve can interface currently to ROOT files created by DDG4.
5663 - An example data file is provided as well in:
5664 - examples/CLICSiD/compact/CLICSiD_events.root
5665 - Documentation is lacking a bit....
5666 - start the display with: `$> root.exe ${DD4hepINSTALL}/examples/DDEve/DDEve.C`
5667
5668
5669 * 2014/06/19 Frank Gaede
5670 - replaced TGeoUnits.h by DD4hepUnits.h
5671 - renamed namespace tgeo to dd4hep -> users need to replace tgeo::mm by dd4hep::mm
5672
5673
5674 * 2014/06/12 Frank Gaede
5675 - changed default unit for angles to be radians (tgeo::rad = 1.)
5676 - enforce usage of units from TGeoUnits.h in xml expression evaluators
5677 - convert to degrees for angles in TGeoShapes constructors
5678 - NB: there is one inconsistency left here: angles returned
5679 from TGeoShapes are already in degrees, this is the one
5680 case where a quantity returned from dd4hep/TGeo does not have the default
5681 units - thus one should not write
5682
5683 ` double phi = coneSeg.Phi1() / tgeo::rad ;`
5684
5685 but rather
5686
5687 `double phi = coneSeg.Phi1() * tgeo::deg ;`
5688
5689
5690 * 2014/06/03 Markus Frank
5691 - Provision for ROOT persistency for dd4hep detector descriptions:
5692 Create Cint dictionary for dd4hepCore by default when building the library.
5693 For the time being the area of DDSegmentation is left out, since these
5694 objects require changes due to the handling of references and template
5695 specializations. Besides these, dd4hep detector descriptions can be
5696 saved and read-back directly to/from ROOT files - which may improve
5697 a lot the startup time of processes.
5698
5699 - The DDG4 dictionary is created by default when building the library.
5700 When importing DDG4 from python only the dd4hepCore dd4hepG4 libraries
5701 must be present. It should no longer be necessary to compile the
5702 necessary AClick on the fly.
5703
5704 - Investigations on wirframe drawing:
5705 Wireframes are a property of the scene graph. You can toggle to wireframe
5706 using the 'w' key on the keyboard. Other representations are
5707 'r': Solid view
5708 't': Solid + wireframe view.
5709 This information is accessible from the help menu of the ROOT OGL widget.
5710
5711 # v00-07
5712 * 2014/05/28 Markus Frank
5713
5714 - Several fixes and improvements in DDG4
5715 - Cache output levels in Geant4Kernel object
5716 - Add shell handler to measure energy escape e.g. in calorimeters
5717 - Fix bug in Polycone shapes concerning angles.
5718 **IMPORTANT: If you forked the repository examples/CLICSiD
5719 your PolyconeSupport does not work anymore, because the angles
5720 were given in degrees. They should be given in radians!**
5721
5722 * 2014/05/21 Markus Frank
5723 - Fix material creation from XML
5724 JIRA bug: dd4hep - DDFORHEP-4
5725 https://sft.its.cern.ch/jira/browse/DDFORHEP-4
5726 using <composite> in material xml files results in wrong material properties
5727
5728 - Fix JIRA bug: dd4hep - DDFORHEP-3
5729 https://sft.its.cern.ch/jira/browse/DDFORHEP-3
5730 Recursive assemblies result in error in TGeo geometry
5731 Bug results in errors when closing the geometry like:
5732 "Error in <TGeoVoxelFinder::SortAll>: Wrong bounding box for volume SIT_assembly"
5733
5734 - Provision to store survey constants to the DetElement as an extension
5735 for Alignment calculations (priv. comm. C.Parkes)
5736
5737 - Fix bug in expression evaluation of angles.
5738 All detector constructors receive angles in "rad". No correction
5739 from degree to rad should be necessary.
5740
5741 * 2014/05/21 Frank Gaede
5742 - add MaterialManager class providing
5743 - access to materials at any point or on straight
5744 line between two points
5745 - creation of material with averaged properties (A,Z,rho,x0,Lambda)
5746
5747 - added utility print_materials to print material properties along
5748 a straight line between two points including integrated radiation and
5749 interaction lengths (useful for debugging geometries and materials)
5750
5751 - use avaeraged material for Surfaces where the thickness extends
5752 beyond the volume boundaries
5753 - introduced new simple data class MaterialData for this
5754
5755
5756 - known issues
5757 - materials don't work for detectors with assemblies in assemblies
5758 as the TGeo navigation dose not seem to work:
5759 Error in <TGeoVoxelFinder::SortAll>: Wrong bounding box for volume SIT_assembly
5760 -> ROOT bug or feature ?
5761
5762 - using <composite/> in compound materials results in incorrect material properties
5763 see ILDExDet/compact/materials Polysterene as example
5764
5765
5766 * 2014/05/06 Frank Gaede
5767 - DDSurfaces/DDRec:
5768 - added ICylinder and CylinderSurface to provide
5769 access to cylinder radius for the tracking
5770 - teveDisplay:
5771 - draw sensitive surfaces in red and helper surfaces in gray
5772 - protect against missing lcio input file
5773 - reduced printout from VolumeManager (changed INFO to DEBUG)
5774
5775 * 2014/04/05-2014/04/29 Frank Gaede
5776 - Implementation of Surface classes for track reconstruction
5777 - abstract interfaces in DDSurface: ISurface and IMaterial
5778 - implementation in DDRec: Surface, SurfaceManager, DetectorSurfaces
5779 - basic functionality exists:
5780 - meassurement surface vectors u,v, normal and origin
5781 - check if point is inside the bounds of the corresponding volume
5782 - currently the material is taken to be the one from the volume
5783 -> to do: average material if surface thicknesses extend beyond the
5784 volume for comound materials
5785 - added drawing of surfaces and (Sim)TrackerHits and (Sim)CalorimeterHits to teveDisplay
5786 ( link lcio file to teve_infile.slcio )
5787 - added some surfaces to ILDExDet: VXD, SIT, TPC
5788 - added test_surfaces to ILDExSimu
5789 (fails currently for some hits that are not created on the surface ...)
5790 - added some assemblies to ILDExDet to better structure the geometry hierarchy
5791
5792 * 2014/04/28 Markus Frank
5793 - First attempt to understand fully the handling of recursive assemblies
5794 from the 2014/04/25 was apparently with limited success. Now they should
5795 work!
5796
5797 * 2014/04/25 Markus Frank
5798 - Moved boost::spirit parsers to DDCore, since these parsers are also used
5799 in other packages such as DDCond and DDAlign - whenever strings have to be
5800 converted to objects.
5801 Consequently, the boost spirit code fragments were removed from DDG4.
5802 - Improved and more correct type checking when assigning handles
5803 - Explicit implementation of the object extension mechanism to be used
5804 through inheritance or aggregation rather than having seperate and nearly
5805 identical implementations for various objects.
5806 - Improved defintition of basic objects describing Conditions and Alignment.
5807 - Improved implementation of DDAlign, the alignment support.
5808 Not to be used currently - experimental package.
5809 - Initial implementation of DDCond the package supporting the handling of
5810 conditions.
5811 Not to be used currently - experimental package.
5812 - Geant4Converter: I convinced myself, that the bug in handling assemblies
5813 of assemblies is resolved. To be tested though.
5814
5815 * 2014/02/07 Frank Gaede
5816 - added DDGear, support for interfacing to gear for backward compatibility
5817 - lives currently in ILDExDet ( should become (optional) part of core dd4hep)
5818 - users need to GearParameter objects as extensions to the DetElement
5819 -> see ILDExTPC_geo.cpp, ILDExVXD_geo.cpp, ILDExTPCSIT_geo.cpp as examples
5820 - program convertToGear creates gear xml file from compact file
5821 ( only if GearParameter objects are avialble as extensions)
5822 - added test_convert_ild_gear
5823 - fixed geometry in ILDExVXD_geo.cpp, ILDExTPCSIT_geo.cpp
5824 wrt. to position of support ans sensitive ladders
5825
5826 # v00-06
5827 * 2014/02/04 Frank Gaede
5828 - fixed environment scripts thisdd4hep.sh and this${PackageName}.sh
5829 to also export library pathes for external libraries (CLHEP, LCIO, gear)
5830
5831 - added some simple tests to ILDExDet, ILDExSimu and noviceN04
5832 - provide cmake script run_test_package.sh ( configured as run_test_${PackageName} )
5833 to call test binaries after initializing the environment
5834 (needed for automated/nightly tests)
5835
5836 - updated Readme.txt wrt build procedure and running the tests
5837
5838
5839 * 2014/01/17 Markus Frank
5840 - Prepare implementation of Alignment using Release and Grap features of TGeoVolume
5841 and TGeoNode. In principle this was done in a backwards compatible way, but
5842 I cannot really check 100% the #ifdef's.
5843 - Fix handling of XML collections using XercesC.
5844 (Bug reported by P.Kostka).
5845 - Fix several compiler warnings issued by Coverity.
5846
5847 * 2013/12/17 Markus Frank
5848 - Whole load of fixes to keep coverity quiet....
5849 - Fix bug in DDG4 field interface component
5850 - Allow the usage of units, positions and lorentzvectors and in DDG4 properties.
5851 Example using a position property (ROOT::Math::XYZVector):
5852 Idle> /ddg4/Gun/position (1*mm,1*cm,0.01*m)
5853 Geant4UIMessenger: +++ Gun> Setting property value position = (1*mm,1*cm,0.01*m)
5854 native:( 1 , 10 , 10 ).
5855
5856 - Support for std::vector<T>/std::list<T>/std::set<T> properties.
5857
5858 - Support for include directives of the format
5859 ```
5860 <include ref="file-name"/>
5861 for the top level <lccdd> tags
5862 Parent tag Included root tag Data content
5863 -- <lccdd> <define> See below.
5864 <detectors>
5865 <detector>
5866 <display>
5867 <lccdd> Nested includes (with DTD validation for Xerces-C)
5868 -- <define> <define> Set of constants
5869 -- <detectors> <detector> Single XML subdetector description
5870 -- <detectors> <detectors> Multiple XML subdetector descriptions
5871 -- <display> <display> Set ov visualization attributes
5872
5873 DTD validation is only performed using Xerces-C for root tags <lccdd>.
5874 ```
5875 - Note:
5876 `<lccdd>` include directives are executed BEFORE any other directive!
5877 Other include directives are executed BEFORE the corresponding named directive!
5878
5879 * 2013/11/14 Markus Frank
5880 - Reformat files in DDCode and DDG4 to remove the <TAB>s from the source files.
5881 Hopefully the content is now more readable.
5882 - DDCore: Remove empty and named constructors for shapes. Empty constructors
5883 were simply a dangerous hook to memory leaks, named constructors are
5884 deprecated since along time.
5885 - DDG4: add support for messengers to access and modify properties from
5886 the Geant4 prompt. For the test hit classes and the simple sensitive
5887 detector a ROOT I/O plugin was provided.
5888 - DDG4: Split into several libraries:
5889 - libDDG4.so pure link library without any plugins
5890 - libDDG4Legacy.so 'Old' plugins. The old stuff at some point
5891 will have to disappear.
5892 - libDDG4Plugins.so New framework plugins
5893 - libDDG4LCIO.so LCIO output plugin for new framework
5894
5895 * 2013/11/03 Markus Frank
5896 - doc: Add CHEP2013 paper about dd4hep as a start of the documentation
5897 section. More to come hopefully.
5898 - DDCore: several small improvements:
5899 - Segmentations are no longer Ref_t's.
5900 - Base internal implementing object directly on the segmentations
5901 classes from Christian.
5902 - Rearrangement of some code from Handle.h to Primitives.h
5903 - Allow to attach extensions to Detector
5904 - DDG4: Fix Frank's simulation problem, which he caused himself
5905 introducing his famous factories....
5906 - DDG4: First attempt to fix simulation problem with mignetic field.
5907 Ready for testing.
5908 - DDG4: First commit of a independent simulation aimed for LHCb and LHeC
5909 + other newcomers. Documentation needs to be written.
5910 Features:
5911 - Modular setup of all Geant4 action routines as plugins, including the
5912 Run-, event-, tracking-, stacking-, stepping- and generator-actions
5913 as well as the physics lists with particle and physics constructors.
5914 - Setup is possible in XML or with C++ either as an AClick in root or
5915 standalone. Python based starter to come.
5916 - Missing is a modular description of the G4 UI and VIS manager(s).
5917 - Documentation is to come. Before documentation is not present
5918 the usage is discouraged.
5919 Note:
5920 - This version of DDG4 uses boost::spirit. It will compile without
5921 the BOOST include files and the old functionality is preserved,
5922 but it will not work.
5923 To use BOOST add to the cmake statement the following tags:
5924 cmake <regular tags> \
5925 -DDD4HEP_USE_BOOST=ON \
5926 -DBOOST_INCLUDE_DIR=${BOOST_INCLUDE_DIR} ....
5927 Where BOOST_INCLUDE_DIR should point to the boost header directory.
5928 BOOST libraries are not used.
5929
5930 * 2013/10/18 Markus Frank
5931 - Throw exception if the expression evaluator sees a problem.
5932 The message printed before was often not seen.
5933 - Improve printout on exceptions and plugin abortion
5934 - Remove the typedef RotationZYX -> Rotation and
5935 import the type RotationZYX from ROOT::Math.
5936
5937 - Add more explicit error messages in case a plugin is not found.
5938 - Add file TGeoUnits.h, which allows to use the "usual SystemOfUnits"
5939 from CLHEP using TGeo with the namespace tgeo::xxx
5940 ```
5941 Example: tgeo::mm -> 0.1 (Geant3: cm, sec, GeV, degree)
5942 ::mm -> 1.0 (Geant4: mm, nsec, MeV, radian)
5943 I hope I got all translations right.
5944 Geant4 Geant3
5945 ----------------------------------------------------------------
5946 millimeter mm=1,cm=10 centimeter mm=0.1,cm=1
5947 nanosecond s=1e9 second ns=1e-9,s=1
5948 Mega electron Volt GeV=1e3 GeV GeV=1
5949 radian rad=1 degree rad=180/pi
5950
5951 Unclear to me was if in Geant3 steradian is also 2*2*pi or 2*2*180 degree.
5952 ```
5953
5954
5955 * F. Gaede
5956 - changes to build system:
5957 (see ReadMe.txt for details)
5958
5959 - moved examples to ./example directory
5960 - they are not built as part of dd4hep anymore
5961
5962 - install thisdd4hep.sh in ./bin
5963 (modified to have the correct pathes)
5964
5965 - added -DINSTALL_DOC=on/off option
5966 to build doxygen documentation (in ./doc/html/index.html)
5967
5968 - create DD4hepConfig.cmake for easy building against dd4hep
5969 ( see examples CMakeLists.txt)
5970
5971 - fixed doxygen API documentation (C.Rosemann)
5972 (greatly improved with many graphs)
5973
5974 # v00-04
5975 * F. Gaede
5976 - placement options are now compatible with geant4
5977 - fixed Geant4SensitiveDetector::getVolumeID()
5978 - modified ILDEx model to not use assemblies (for now !?)
5979 - removed obsolete geant4 example ILDEx
5980 - Fix population procedure of volume manager
5981 - Fix uniqueness of volume identifiers.
5982 - Remove call with lookups by placed volume to the volume manager
5983 - improved ILDEx toy example:
5984 - fixed creation of cellIDS for simhits
5985 - creates SimTrackerHits for VXD, SIT and TPC
5986 - creates SimCalorimeterHits for AHcal barrele and endcap
5987 - works now wigth ILDExSimu _and_ SLIC if no assemblies are used
5988 - assemblies work with the dd4hep Geant4Converter and VolumeManager
5989 - added a prototype example for a ROOT independent
5990 plugin mechanism for SensitiveDetectors
5991 - added example implemetation for Calice test beam
5992 calorimeters: CaliceTbeam (Shaojun Lu, DESY)
5993
5994
5995 * 2013/21/06 Markus Frank
5996 - Since the placement model for combined translations and rotations
5997 caused more confusion than good, it was agreed to move to a more
5998 Geant4 like placement model using Vectors, Rotations and Transformations
5999 from ROOT::Math. To place a physical volume only one of these
6000 is allowed as an argument: either a rotation or a translation
6001 for simple placements. Combinations may be constructed with Transform3D
6002 objects allowing more complicated placements.
6003 The same mechanism was applied for the operations to construct
6004 boolean solids.
6005 - The CLICSid Examples were updated according to the changes necessary
6006 from 1)
6007 - The Tesla drivers from the ILDExDet example were removed. They are
6008 not compliant to 1).
6009 - The G4 package allows now to translate TGeo geometries to Geant4.
6010 Visual inspection has shown an agreement between the two geometries.
6011 - The TGeo to Detector/GDML conversion is still buggy. Hence, simulations
6012 using slic as an engine do not yet work. This is being looked at.
6013
6014 IMPORTANT NOTICE:
6015 The changes described in above may affect existing detector constructors.
6016 Unless all problems are solved you should be careful to move to the svn
6017 head. In any case save your checkout or use the tag v00-03.
6018
6019
6020
6021 # v00-03
6022 - broken geometry (for some rotations/translations)
6023 - 'backup release' before placement options
6024 will be reduced
6025
6026 # v00-02
6027 * 2013/02/06 Markus Frank
6028 - Simplyfy inheritance for common objects from TNamed.
6029 Use direct inheritance of Object from TNamed rather than hidden
6030 using the Value<a,b> construct.
6031 - Added physical volume manager to simplyfy the detector element
6032 and sensitive detector lookup from a given physical volume.
6033 This implies: If the volume manager is instantiated, the readout specifiers
6034 MUST be correct. This is in most xml files NOT the case.
6035 The "system" field holding the sibdetector-id is MANDATORY!
6036 Otherwise you will receive messages like this:
6037
6038 Exception:SITCollection: This ID descriptor has no field with the name:CellID0
6039 while programming VolumeManager. Are your volIDs correct?
6040
6041 - To check the volume identification, add argument -volmgr to geoConverter,
6042 geoDisplay, etc.
6043 - To trace possible memory leaks:
6044 export DD4HEP_TRACE=Yes
6045 then run you converter etc. At the end a table is displayed with a "leakage"
6046 column, showing how many objects were not deleted.
6047 ```
6048 +----------------------------------------------------------------+
6049 | I n s t a n c e c o u n t e r s b y T Y P E I N F O |
6050 +----------+---------+-------------------------------------------+
6051 | Total | Leaking | Type identifier |
6052 +----------+---------+-------------------------------------------+
6053 | 13| 0|dd4hep::DetElement::Object
6054 | 3| 0|dd4hep::SensitiveDetector::Object
6055 | 3| 0|dd4hep::Readout::Object
6056 | 1| 0|dd4hep::OverlayedField::Object
6057 | 1| 0|dd4hep::CartesianField::Object
6058 ....
6059 Ideally the second column only has "0"s. Instances of 1 may be OK (singletons).
6060 ```
6061 - Prenotice:
6062 As soon as ROOT v 6.00 is out, we will have to use it!
6063 Andrei kindly agreed to implement a few changes to TGeo, which will make
6064 life much easier and the implementation cleaner and less cumbersome.
6065
6066
6067 # v00-01
6068 * 2013/20/03 Markus Frank
6069 - Finished the compact->description converter
6070 Extract description information
6071 ```
6072 $ > geoConverter -compact2description -input file:<compact-input-xml-file> -output <detector>.description
6073 $ > <SimDist>/scripts/slic.sh -o output.slcio -g SiD.description -m <geant4-macro>.mac -r 100
6074 ```
6075
6076 - Finished the compact->gdml converter
6077 Full GDML cycle can be tested (deplace <detector> with some meaningful identifier):
6078 - Extract gdml information
6079 `$ > geoConverter -compact2gdml -input file:<compact-input-xml-file> -output <detector>.gdml`
6080 - Extract visualisation hints to csv file
6081 `$ > geoConverter -compact2vis -input file:<compact-input-xml-file> -output <detector>.vis.csv -ascii`
6082 - Load GDML into ROOT:
6083 `$ > root.exe ../doc/gdml_root.C+\(\"<detector>\"\)`
6084 The macro expects *at least* the <detector>.gdml file. If no visualisation
6085 information is found, the resulting graphics however is not very nice!
6086
6087
6088 * 2013/22/02 Markus Frank
6089 - Today a decision was taken to remove all _X() and _A() macros
6090 accessing static unicode strings. A common macro will be used to
6091 address both XML elements and XML attributes using the macro _U(...).
6092 The original usage only created confusion.
6093 All _X and _A macros were replaced by _U.
6094
6095 - Improve the executables running the plugin mechanism in UtitlityApps.
6096 They now complain if the plugin was not found.
6097
6098
6099 * 2013/21/02 Markus Frank
6100 - Require strict checks for the existence of xml attributes.
6101 e.g. default=false for Element::attr<bool>() is no longer an option.
6102 if the attribute is not present in the element, an exception
6103 is thrown.
6104
6105 - Slightly change the factory method for creating detector elements.
6106 Use a more generic pattern do support also more generic XML
6107 processing.
6108
6109 * 2013/20/02 Markus Frank
6110 - Install rootmap mechanism for the usage of plugins.
6111 It is no longer necessary to have separate programs
6112 for the various detector models (ILD/SiD).
6113 One generic display program servest them all.
6114 ==> Creation of package DDExamples/UtilityApps
6115 example: $> bin/displayGeo -compact <compact-xml-file>
6116
6117 - This move has another consequence:
6118 All libraries are build into a common install area:
6119 the <build directory>/lib.
6120 All executable binaries are build into a common install area:
6121 the <build directory>/bin.
6122
6123 - The LD_LIBRARY_PATH and PATH variables as defined in
6124 'thisdd4hep.(c)sh' do include these directories
6125
6126 * 2013/20/02 Markus Frank
6127 - dd4hep release notes. Better start them late than never.
6128 If you perform significant changes to the dd4hep core,
6129 plase leave a small notice here.