Releases: AIDASoft/DD4hep
v01-11-01
v01-11
v01-11
-
2019-10-23 MarkusFrankATcernch (PR#587)
- Have separate compilation unit for shape utilities like
set_dimension(...)
,dimension()
,isA()
,instanceOf()
... - Improvements to basic shape test
- Have separate compilation unit for shape utilities like
-
2019-10-23 Andre Sailer (PR#579)
- CMake: Add possibility to build only shared libraries, fixes #493:
- Usage
cmake ... -D BUILD_SHARED_LIBS=OFF ...
- Usage
- CMake: Add possibility to build only shared libraries, fixes #493:
-
2019-10-23 Andre Sailer (PR#575)
- CMake: Add
DD4HEP_USE_EXISTING_DD4HEP
option which together withDD4HEP_BUILD_PACKAGES
can be used to rebuild, for example only DDG4.- This creates a new Package called "DD4hepSelected" which can then be used alongside the full DD4hep Package in a third project.
- CMake: Add
-
2019-10-22 Marko Petric (PR#586)
- Remove deprecated rootcling flags (
-cint
,-c
,-p
,-std=c++
) from dictionary creation script
- Remove deprecated rootcling flags (
-
2019-10-22 Marko Petric (PR#585)
- Fix bug that the c++ filesystem check is called from
${DD4hep_ROOT}
- Install
DD4hepConfig.cmake
only in__prefix__/cmake
to avoid path detection confusion - Enable choosing examples in the
examples/CMakeLists.cmake
via cmake flag-DDD4HEP_BUILD_EXAMPLES=OpticalSurfaces
(recommended method) - Make each example folder to compile standalone (not recommended method)
- Update cmake of Segmentation example to more current state and fix resulting errors
- include segmentation example as test
- Resolves #582 and resolves #583
- Fix bug that the c++ filesystem check is called from
-
2019-10-21 MarkusFrankATcernch (PR#584)
- Add function
bool isInstance(const Handle<TGeoShape>& solid)
- compares types of shapes and behaves like
dynamic_cast
, similar to python'sisinstance(obj,type)
- remove deprecated function
instanceOf
in favour ofisInstance
. Same behavior.
- compares types of shapes and behaves like
- Add function
bool isA(const Handle<TGeoShape>& solid)
- compares types of shapes and requires exact match, no polymorphism allowed.
- Add Geant4 conversion for shape
TGeoCtub
->G4CutTube
- Add function
-
2019-10-14 Marko Petric (PR#572)
- Install python files in
lib/pythonX.Y/site-packages
resolves #562- adapt
thisdd4hep.sh
scripts
- adapt
- Add missing RPATH to examples (basically bug fix for mac)
- Add DDG4 tools to bin to make them more accessible to users:
g4MaterialScan
,checkGeometry
,checkOverlaps
- Install python files in
-
2019-10-03 MarkusFrankATcernch (PR#577)
- Inhibit not allowed use of
DetectorImp.h
- Inhibit not allowed use of
-
2019-10-03 Andre Sailer (PR#574)
- CMake: When needing
boost::filesystem
(c++14, gcc < 8) require at least Boost 1.56, see #567
- CMake: When needing
-
2019-10-03 Markus Frank (PR#573)
- Fix memory leak introduced when generalizing placements to include left-handed coordinate systems.
-
2019-10-03 Markus Frank (PR#571)
- Add example to the volume reflection mechanism
- Fix bug in volume reflection
-
2019-10-02 Markus Frank (PR#569)
- First implementation to support reflection with left-handed volumes/solids
- Changes for volumes and solids.
- Conversion handling of
TGeoScaledShape
in DDG4
- First implementation to support reflection with left-handed volumes/solids
-
2019-09-30 Andre Sailer (PR#566)
- PythonBindings: fix issue when source files were not available, fixes #565
- CMake: drop DDCores dependency on DD4hepGaudiPluginMgr
- CMake: DD4hepConfig: use find_dependency instead of find_package
-
2019-09-24 Marko Petric (PR#564)
- Added test for Python3 compliance of code
- Added test to require flake8 python code formatting
-
2019-09-13 Marko Petric (PR#540)
- Make python code compatible to python 2 and 3
- add
absolute_import
andunicode_literals
to all files- fix API calls and cast
unicode
tostring
when needed
- fix API calls and cast
- replace print statement with logging
- remove old octal literal
- use future division
- use
six
:- replace
dict.iteritems
withsix.iteritems
- replace
xrange
withrange
fromsix.move
- replace
basestring
withsix.string_types
- replace
raw_input
withinput
fromsix.moves
- added a copy of six.py named ddsix.py to DDCore
- replace
- Replace deprecated
execfile
with call toopen
,compile
andexec
- Remove usage of
apply
- use
io.open
instead of standardopen
- convert
except a,b
toexcept a as b
- change
dict.has_key
tokey in dict
- add
- Require DD4hep Python3 CI tests to pass
- Remove obsolete
lcdd.py
- Remove deprecated
SystemOfUnits.py
and replace everywhere withg4units.py
- Flake8 all files
- Make python code compatible to python 2 and 3
-
2019-09-02 Andre Sailer (PR#561)
- CMake: add option
DD4HEP_BUILD_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. - CMake add option
DD4HEP_BUILD_EXAMPLES
to enable compilation of examples together with the main DD4hep packages. Default OFF - CMake: add
DD4hep::
aliases for all libraries and some executables
- CMake: add option
-
2019-08-26 Andre Sailer (PR#559)
- DD4hepConfig: make all DD4HEP_USE variables behave as booleans
-
2019-08-22 Markus Frank (PR#554)
- Fix property table translation to Geant4 according to suggestions from Dong Liu
(see issue #440 )
- Fix property table translation to Geant4 according to suggestions from Dong Liu
-
2019-08-22 Andre Sailer (PR#552)
-
DD4hepConfig:
DD4hepConfig.CMake
now exportsDD4hep::DDCore
DD4hep::<Component>
targets to be consumed by users of the DD4hep package, the CMake variablesDD4hep_LIBRARIES
etc. are still being filled for backward compatibility -
DD4hep CMake: Only the
dd4hep_add_plugin
anddd4hep_add_dictionary
CMake functions are to create targets still exist,dd4hep_add_package
/library
/executable
were removed and instead the cmakedefault add_library
/executable
have to be used. -
PluginManager: only link against boost filesystem if the compiler and standard library do not support the filesystem library
-
DD4hep Requirements: Now require cmake version 3.12
-
DD4hep Requirements: Now require c++ standard 14
-
-
2019-08-21 Markus Frank (PR#553)
- Fix unit conversion for optical surface properties. The units of the property tables were not converted from TGeo to Geant4. See dicussion in issue #440
- If an external world volume is supplied, the material
Air
is deduced from this solid (only used by CMS).
-
2019-08-15 Frank Gaede (PR#550)
- make compatible with MacOS (10.14.6)
- address latest developments w/ new Gaudi Plugin Manager
- make compatible with MacOS (10.14.6)
-
2019-08-14 Markus Frank (PR#551)
- Moved
setDimensions
call out of the individual dd4hep shapes into the base Solid. - Add
Solid::dimensions()
,Solid::setDimension()
implementation forPseudoTrap
andTruncatedTube
. The solution is not optimal, because a analytical solution tends to be ambiguous due to solutions of polynomials of degree 2 and the initial parameters had to be stored as a string. - Upgraded shape tests to also check the shapes (using mesh vertices) after a re-dimension using the same parameters.
- Geant4FieldTrackingSetup: Any failure in the creation of the
G4EquationOfMotion
or theG4MagIntegratorStepper
is now FATAL and causes an exception.
- Moved
-
2019-08-12 Markus Frank (PR#549)
- Adopted new Gaudi plugin manager V2. V1 can be enabled using compile switch in
DD4hep/config.h
. Removed the traces from the ROOT5 Reflex based plugin service. The new plugin service depends onBoost::file_system
andBoost::system
. - Improve GDML saving from ROOT. (requires ROOT >= 6.20)
- Fix ROOT persistency for the volume manager.
- Fix Geant4FieldTrackingSetup: Issue warning if the
G4MagIntegratorStepper
cannot be created. - Examples: based the CLICSiD example on the XML sources of DDDetectors. This ensures XML sources match C++ sources.
- Adopted new Gaudi plugin manager V2. V1 can be enabled using compile switch in
-
2019-08-12 Andre Sailer (PR#548)
- Shapes: fix conversion of
startTheta
for Sphere::setDimensions - Shapes::get_shape_dimension: add return value conversion for angles to internal unit (radians)
- Shapes: fix conversion of
-
2019-08-12 MarkusFrankATcernch (PR#547)
- make compatible w/ macos (c++14)
- replacestd::make_any
w/ make_any (defined in Any.h)
- usestd::lock_guard<std::mutex>
- make compatible w/ macos (c++14)
-
2019-08-07 MarkusFrankATcernch (PR#545)
-
2019-07-16 Markus Frank (PR#539)
- Remove clang warnings.
-
2019-07-16 MarkusFrankATcernch (PR#538)
- Fix coverity errors
- Fix Trap shape conversion to Geant4. The theta/phi angle was not converted from degree to radians (Resolves #536).
-
2019-07-15 Marko Petric (PR#537)
- Add a Python 3 pipeline to the CI (currently set to
allow_failure
)
- Add a Python 3 pipeline to the CI (currently set to
-
2019-07-13 Marko Petric ([PR#535...
v01-10
v01-10
-
2019-01-31 Markus Frank (PR#480)
- Fix bug in
geoDisplay
to allow passing the volume display depth as an argument - 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 existingTGeoManager
instances. - Allow direct access to the solid instance of the DetElements's placement.
- Fix bug in
-
2019-01-15 Markus Frank (PR#478)
- Fix bug in
geoDisplay
see #477
- Fix bug in
-
2019-01-10 Markus Frank (PR#476)
- Fix bug in ConditionsUserPool whan scanning DetElement conditions
- Improve conditions handling: Allow to bind sub-class entities of ConditionObject to thew opaque data block.
-
2018-12-14 Markus Frank (PR#475)
- Add named shape constructors (see #469)
-
2018-12-13 Markus Frank (PR#474)
- Fix possible access violation
-
2018-12-13 MarkusFrankATcernch (PR#473)
- Improve handling of condition dependencies ( main work item)
- Improve logic flow in the DDCond/ConditionDependencyHandler
- 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.
- Add a shape check for eight-point solids.
- Improve handling of condition dependencies ( main work item)
-
2018-12-07 Frank Gaede (PR#470)
- add
#include <memory>
torun_plugin.h
(needed forstd::unique_ptr
and gcc 4.9)
- add
-
2018-12-06 Markus Frank (PR#468)
-
To fix issue #466 we had to go back to the original implementation which was actually correct (see 36d4b01#diff-7219d47bc4ab7516e0ca6c4f35f2602f).
-
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
. -
Added conversion between
TGeoArb8
andG4GenericTrap
, fixes #465
-
-
2018-12-05 Markus Frank (PR#467)
- Harmonize argument names in
Shapes.h
with their actual functionality. For many shapes inDD4hep/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:Here opposite to all other constructors delta_phi was used as such - in contradiction to other constructors of the same class. This was rectified./// Legacy: Constructor to create a new identifiable tube object with attribute initialization Tube(const std::string& nam, double rmin, double rmax, double dz, double startPhi, double endPhi)
- Harmonize argument names in
-
2018-11-30 Andre Sailer (PR#462)
- Introduce compile flag to minimize conditions footprint
-
2018-11-27 Markus Frank (PR#461)
- 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.
-
2018-11-22 Markus Frank (PR#459)
- Fix bug in DDCodex geometry, add debugging to VolumeBuilder
-
2018-11-14 Markus Frank (PR#458)
- Improve ROOT persistency: flag user extensions as persistent only while saving/loading
- 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.
-
2018-11-13 Markus Frank (PR#457)
Provide support for Volume divisions.
Since DD4hep requires Volumes (aka
TGeoVolume
) and PlacedVolumes (akaTGeoNode
) 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 aVolume
. Unfortunately there is no reasonable way to intercept this call to theTGeo
objects - except to the sub-class each of them, which is not really acceptable either.Hence: If you use DD4hep: Never call the raw TGeo routines.
For any further documentation please see the following ROOT documentation on TGeo
For an example see
examples/ClientTests/src/VolumeDivisionTest.cpp
andexamples/ClientTests/compact/VolumeDivisionTest.xml
To execute:
geoDisplay -input file:<path>/examples/ClientTests/compact/VolumeDivisionTest.xml
-
2018-11-13 Hadrien Grasland (PR#438)
- Make FindPackage(DD4hep) work even if thisdd4hep.sh was not sourced
-
2018-11-09 Frank Gaede (PR#456)
- add
#include <memory>
inVolumeAssembly_geo.cpp
gcc 4.9 compatibility
- add
-
2018-11-07 Markus Frank (PR#455)
- Improve VolumeBuilder pattern matcher
- Allow XML based volume creation based on factories.
-
2018-11-02 Markus Frank (PR#454)
- Improve generic Volume assembly and XML volume builder
-
2018-11-01 Markus Frank (PR#452)
- Fixed the DetElement cloning mechanism it to properly replicate DetElement trees.
- Tested with one LHCb upgrade detector.
- Added numeric epsilon to the default math dictionary of the expression evaluator:
int:epsilon --> std::numeric_limits<int>::epsilon() long:epsilon --> std::numeric_limits<long>::epsilon() float:epsilon --> std::numeric_limits<float>::epsilon() double:epsilon --> std::numeric_limits<double>::epsilon()
- Fixed the DetElement cloning mechanism it to properly replicate DetElement trees.
-
2018-10-30 Markus Frank (PR#451)
- Add copyright notices
- Make ddeve a program not only a ROOT script
-
2018-10-30 Markus Frank (PR#450)
- 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.
- Issue #449 should be fixed now.
- The XML volume builder utility was improved.
-
2018-10-18 Markus Frank (PR#447)
- Fix plugin manager cmake file by removing explicit dependency on c++ standard.
v01-09
v01-09
-
2018-10-15 Markus Frank (PR#442)
- DDCMS: Update to support namespaces
- DDUpgrade test example for the LHCb upgrade
- Fix nested detectors (in fact worked only for first level parents)
- Add VolumeBuilder XML utility to work on XML-tree patterns
-
2018-09-12 Hadrien Grasland (PR#437)
- Remove if string equals ON/OFF in cmake IF statements and check default CMake truth values
-
2018-08-20 Oleksandr Viazlo (PR#434)
- DD4hep_Mask_o1_v01_geo
- allow rotation around x-axis (instead of y)
- phi1 and phi2 cone angles configurable from the xml-file
- DD4hep_Mask_o1_v01_geo
-
2018-08-10 Markus Frank (PR#433)
- Fix DDCMS example to use true namespace names rather than using "_"
This should resolve issue #421
- Fix DDCMS example to use true namespace names rather than using "_"
-
2018-08-09 Markus Frank (PR#432)
- Make the expression evaluator understand variable names with namespaces
- Variable names containing a
:
or::
are now accepted by the expression evaluator. This is first step towars resolving #421 - It has now to be seen what has to be done further. The DCMS example was not yet updated to use this feature.
- Variable names containing a
- Add new example in
examples/ClientTests
to test this functionality.
- Make the expression evaluator understand variable names with namespaces
-
2018-08-09 Andre Sailer (PR#429)
- DDG4: add possibility to simulate all events in a file by passing NumberOfEvents < 0. Fixes #237
- The de-facto limit is ~2 billion, which should be fine for input files.
- DDG4: add possibility to simulate all events in a file by passing NumberOfEvents < 0. Fixes #237
-
2018-08-08 Markus Frank (PR#430)
- Fix HEPMC reader for unknown generator status codes
- Update DDCodex example, feature imports from plain ROOT file
- Allow debugging Geant4VolumeManager
-
2018-08-07 Mircho Rodozov (PR#428)
- Adapt to root interfaces changes for
TGeoMatrix::Inverse
(root-project/root#2365), fixes #426
- Adapt to root interfaces changes for
-
2018-08-06 Andre Sailer (PR#424)
- CMake: Ensure proper tls flag (global-dynamic) for Geant4 build, added option DD4HEP_IGNORE_GEANT4_TLS to override the check. Closes #419
-
2018-07-31 Andre Sailer (PR#420)
- DDG4: Import the ddsim python program from https://github.com/iLCSoft/lcgeo
For example:ddsim --help
ddsim --dumpSteeringFile > mySteer.py
ddsim --steeringFile=mySteer.py --compactFile myDetector.xml
- DDG4: Import the ddsim python program from https://github.com/iLCSoft/lcgeo
v01-08
v01-08
-
2018-07-02 Markus Frank (PR#418)
- Add DDCodexB in standalone mode with simulation script and basic skeleton for DDEve
-
2018-06-28 Markus Frank (PR#417)
- Steer debug printouts in CondDB2DDDB and DDDB2Objects by parsing xml files.
-
2018-06-26 Markus Frank (PR#416)
- Separate the hit class and add dictionary. No base class - entirely independent.
- Allow to save the hit class to ROOT (but without MC truth)
See MyTrackerHit.h for details.
-
2018-06-26 Markus Frank (PR#415)
- Add small example how to specialize a new sensitive action and attach it to a detector in DDG4.
-
2018-06-26 Frank Gaede (PR#414)
- bug fix in Geant4EventReaderGuineaPig
- fix ignoring input lines with 'nan'
- bug fix in Geant4EventReaderGuineaPig
-
2018-06-26 Shaojun Lu (PR#412)
- Added one more if statement: If the track went into new Volume,
- then extracted the hit in previous Volume,
- and start a new hit in this current Volume,
- in this current process, also allow the same following treatments for the new hit.
- Added one more if statement: If the track went into new Volume,
-
2018-06-21 Markus Frank (PR#409)
- Support out-of-source builds of DD4hep examples.
Comes with an expense: A new environment DD4hepExamplesINSTALL.
has to be defined to support internal file accesses and loads.
The builds were also checked with read-only installation directories.
Solves issue #382 - Smallish improvement to the ConditionsManager.
- Support out-of-source builds of DD4hep examples.
-
2018-06-21 Andre Sailer (PR#408)
-
2018-06-07 Markus Frank (PR#404)
- Fix basic shape tests for PseudoTrap
-
2018-06-07 Markus Frank (PR#403)
- patch for truncated tubes shapes.
-
2018-06-04 Markus Frank (PR#402)
- Fix truncated tube shape
-
2018-06-04 Markus Frank (PR#400)
- 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 beforeDetector::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. - Add new basic shape tests.
- Allow for world volumes other than boxes. See
-
2018-06-01 Markus Frank (PR#399)
- As discussed in issue #398 The use of TGeoUnits is inconvenient. The dd4hep units are now exposed in the python modules.
- Basic shapes are now tested in the regular ctest executions. The mesh vertices of the shapes were
saved to a reference file and are compared to in subsequent runs. The reference files reside in
examples/ClienTests/ref
. Seeexamples/ClientTests/compact/Check_Shape_*.xml
for details. - The ROOT UI and some dump plugins were enhanced to expose more information.
-
2018-05-30 Markus Frank (PR#397)
- Enable to start DDG4 using a saved detector description in a ROOT file.
- Added corresponding test:
Persist_CLICSiD_Geant4_LONGTEST
- Added corresponding test:
- Fix shape constructors for Trap and PseudoTrap
- The python module
DD4hep.py
is gone as discussed in the developers meeting usedd4hep.py
instead.- 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.
- on masOS : your "git pull" possibly deletes both files. you may have to checkout
- Add example for LHCb CODEX-b.
- Enable to start DDG4 using a saved detector description in a ROOT file.
-
2018-05-29 Markus Frank (PR#394)
- Consistently handle cmake command line options in case no Geant4 or no documentation should be built.
-
2018-05-28 Markus Frank (PR#393)
- Improvements to
geoPluginRun
.
$> geoPluginRun -ui -interactive
results in DD4hep enabled ROOT prompt. - DD4hepUI: improvements to interact with DD4hep instance from ROOT prompt
- DDDB improve configuration for printing and debugging
- DDDB: allow to block certain XML branches
- Improvements to
-
2018-05-22 Frank Gaede (PR#389)
- fix bug in input handling, for details see discussion #387
- exclude leptons with zero lifetime from Geant4
- fix bug in input handling, for details see discussion #387
-
2018-05-22 Markus Frank (PR#388)
- Update doxygen information for some undocumented classes.
- Add licence header to files where not present.
-
2018-05-22 Marko Petric (PR#380)
- Update LICENSE to LGPLv3
- 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.
- The name of the file containing the LICENSE has ben changed from LICENCE->LICENSE as all source files reference
- Update LICENSE to LGPLv3
-
2018-05-16 Markus Frank (PR#386)
- Fix bug in variable order of
ExtrudedPolygon
(x<->y)
- Fix bug in variable order of
-
2018-05-15 Markus Frank (PR#384)
Implementation of non-cylindrical tracking region (resolves #371)
- 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
dd4hep::Volume parallel = dd4hep::Description::parallelWorldVolume()
This parallel world volume is created when the geometry is opened together (and with the same dimensions) as the world volume itself.
- 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:
dd4hep::Volume trackers = dd4hep::Description::trackingVolume()
- Although the concept is available in the DD4hep core, it's configuration from XML is only implemented for the compact notation. For details see the example
examples/ClientTests/compact/TrackingRegion.xml
. - 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.
<parallelworld_volume name="tracking_volume" anchor="/world" material="Air" connected="true" vis="VisibleBlue"> <shape type="BooleanShape" operation="Subtraction"> <shape type="BooleanShape" operation="Subtraction"> <shape type="BooleanShape" operation="Subtraction" > <shape type="Tube" rmin="0*cm" rmax="100*cm" dz="100*cm"/> <shape type="Cone" rmin2="0*cm" rmax2="60*cm" rmin1="0*cm" rmax1="30*cm" z="40*cm"/> <position x="0*cm" y="0*cm" z="65*cm"/> </shape> <shape type="Cone" rmin1="0*cm" rmax1="60*cm" rmin2="0*cm" rmax2="30*cm" z="40*cm"/> <position x="0" y="0" z="-65*cm"/> </shape> <shape type="Cone" rmin2="0*cm" rmax2="55*cm" rmin1="0*cm" rmax1="55*cm" z="30*cm"/> <position x="0" y="0" z="0*cm"/> </shape> <position x="0*cm" y="50*cm" z="0*cm"/> <rotation x="pi/2.0" y="0" z="0"/> </parallelworld_volume>
Enhancement of assemblies, regions and production cuts (resolves #373)
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
).- The hierarchy of cuts being applied is:
- If present particle specific production cuts for a region are applied.
- else the "cut" attribute of the compact region specification is used
- else the global Geant4 cut is automaticallly applied by Geant4.
<limits> <limitset name="VXD_RegionLimitSet"> <!-- These are particle specific limits applied to the region ending in Geant4 in a G4UserLimits instance --> <limit name="step_length_max" particles="*" value="5.0" unit="mm" /> <limit name="track_length_max" particles="*" value="5.0" unit="mm" /> <limit name="time_max" particles="*" value="5.0" unit="ns" /> <limit name="ekin_min" particles="*" value="0.01" unit="MeV" /> <limit name="range_min" particles="*" value="5.0" unit="mm" /> <!-- These are particle specific production cuts applied to the region ending in Geant4 in a G4ProductionCuts instance --> <cut particles="e+" value="2.0" unit="mm" /> <cut particles="e-" value="2.0" unit="mm" /> <cut particles="gamma" value="5.0" unit="mm" /> </limitset> </limits>
SensitiveDetector types not changed by Geant4SensDetActionSequence (resolves #378)
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 ...
- 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
v01-07-02
v01-07-01
v01-07
v01-07
-
2018-03-26 Javier Cervantes Villanueva (PR#343)
- Fix bug in calculating eta, introduced in #138
- use
magFromXYZ
instead ofradiusFromXYZ
to calculate pseudorapidity
- use
- Fix bug in calculating eta, introduced in #138
-
2018-03-19 Marko Petric (PR#338)
- Include fixes from Chris Burr for the alignments calculator.
- Add a small study for the LHCb upgrade defining reasonable detector element conditions for the Velo pixel detector using the DDCond derived condition mechanism.
- To be done: somehow get an example for this mechanism, which works outside Gaudi.
-
2018-03-23 Markus Frank (PR#340)
- Improvement for DDDB - case study to implement real-world detector elements.
-
2018-03-28 Marko Petric (PR#345)
- Remove
DDSurfaces
folder as it was merged inDDRec
- Remove
-
2018-03-28 Marko Petric (PR#341)
- Remove top level
DDSegmentation
folder as it is not needed anymore
- Remove top level
v01-06
v01-06
-
2018-01-31 Ete Remi (PR#297)
- Geant4Output2LCIO
- Switch run header writing order at beginning of run instead of end of run
- Geant4Output2LCIO
-
2018-03-15 Marko Petric (PR#335)
- Deduce CLHEP location from
CLHEP_INCLUDE_DIR
( Fixes #314 ) - Add
gSystem.Load('libglapi')
totestDDPython.py
which failed due to TLS issues on local machine - Add Geant4 10.4 to test suite
- Deduce CLHEP location from
-
2018-03-14 Markus Frank (PR#336)
- New shape definitions for CMS
Generic Polyhedra, ExtrudedPolygon, CutTube, TruncatedTube, PseudoTrap. - DDDB: allow to configure the match for the entity resolver.
- New shape definitions for CMS
-
2018-03-13 Daniel Jeans (PR#333)
- changed utility name from graphicalMaterialScan -> graphicalScan
- add visualisation of electric and magnetic fields (switched by parameter)
- change order of x/y/z range parameters for ease of use
- added parameter for name of output root file
-
2018-03-12 Markus Frank (PR#334)
step_length_max
not propagated to Geant4 forG4UserLimit
instances.- All limits can now be set separately for each particle type (or for all as a catchall situation if the particle type is '*'.
- Fixes #327
-
2017-11-29 Markus Frank (PR#271)
- Add
LHeD
example (contribution from Peter Kostka) - Fix to support
python3
inDDG4
- Fix issue in Volumes.h for backwards compatibility with gcc version < 5
- Fix type definition of
XmlChar
to also support Xerces-C 3.2.0 - Fix
AClick
initialization files inDDG4
(remove dependency onlibDDSegmentation
)
- Add
-
2017-11-29 Marko Petric (PR#270)
- Fields: Remove pessimizing move and shadow warnings
-
2018-02-06 Ete Remi (PR#301)
- Geant4Output2LCIO plugin
- Added run number and event number offset properties. Enable steering of run and event counters from outside
- Added 3 event parameters properties for int, float and string event parameters
- Geant4Output2LCIO plugin
-
2018-02-05 Markus Frank (PR#304)
- Restructure the files a bit to simplify the use of the
XML
andJSON
parsers and the spirit utilities in other projects.
- Restructure the files a bit to simplify the use of the
-
2018-02-28 Frank Gaede (PR#323)
- make Geant4InputHandling.cpp compatible w/ gcc49
- avoid stringstream move operation
- fixes #320
- make Geant4InputHandling.cpp compatible w/ gcc49
-
2018-01-24 Markus Frank (PR#292)
-
Fix bug in Alignment test:
- A long standing bug was fixed for the test
t_AlignDet_Telescope_align_new
. - It was assumed that the
DetElements
were ordered in memory, which is not true (probably due to memory randomization). - Moved to path dependent ordering. Test now OK.
- Closes #282
- A long standing bug was fixed for the test
-
Removed a Bunch of
rootcling
warnings- Apparently
rootcling
now expects a class with the name of the dictionary header file. - To satify this some dummy anonymous classes were added.
- Closes #290
- Apparently
-
-
2018-01-26 Marko Petric (PR#296)
- Check dynamic cast if it was successful
-
2018-01-22 Markus Frank (PR#289)
-
Add possibility to parse
XML
from string- Please see #288 for details.
- The main interface was not changed. Rather a view to the Detector class supports this functionality.
- The existing view
dd4hep::DetectorLoad
was enhanced to allow the required functionality:
Detector detector = ....; /// So here is the actual test: We parse the raw XML string DetectorLoad loader(detector); loader.processXMLString(buffer,0);
- An example was added (
ClientTests/src/XML_InMemory.cpp
, which illustrates the usage).
-
Improve DDCond manual
- Improve that the DDCond manual reflects the source code.
- The possible plugins provided are not all described. This shall be future work.
-
Enable the GDML reader plugin
- Closes #275
-
-
2018-03-01 Markus Frank (PR#325)
- Add dictionaries to
DDRec
.- Consequently add the python interface to access the exported classes.
- Add dictionaries to
-
2018-03-01 Ete Remi (PR#321)
- Geant4InputAction and Geant4EventReader :
- Register input action pointer to event reader, enabling the event reader to access the Geant4 context
- Added new class LCIOEventParameters to handle LCIO input event parameters
- LCIOFileReader :
- Add extension with LCIO input event parameters to Geant4event
- Geant4Output2LCIO :
- Get LCIO event parameters from event extension (if any) and write them to LCIO output event
- Geant4InputAction and Geant4EventReader :
-
2018-03-01 David Blyth (PR#317)
- DDCore: added CartesianStrip segmentations
-
2018-03-02 Frank Gaede (PR#328)
-
2018-03-06 Andre Sailer (PR#331)
- Geant4InputHandling: reject stable particles without lifetime (e.g., initial state electrons), fixes #330
-
2018-03-07 Markus Frank (PR#329)
-
2018-03-07 Daniel Jeans (PR#322)
- correct coded expressions for quadrupole, sextupole and octopole fields.
- correct expression for octopole field in documentation
-
2018-03-09 Ercan Pilicer (PR#319)
- Remove unnecessary
import exceptions
from python
- Remove unnecessary
-
2017-11-30 Markus Frank (PR#272)
DDG4 enhancements
-
Enable framework support in DDG4. The
Geant4Context
is the main thread specific accessor to thedd4hep
,DDG4
and the user framework.- The access to the
dd4hep
objects is via theGeant4Context::detectorDescription()
call, - the access to
DDG4
as a whole is supported viaGeant4Context::kernel()
and - the access to the user gframework using a specialized implementation of:
template <typename T> T& userFramework() const;
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.
This way any experiment/user related data processing framework can exhibit it's essential tools to
DDG4
actions.A possible specialized implementations would look like the following:
struct Gaudi { IMessageSvc* msg; IHistogramSvc* histos; .... }; template<> Gaudi& Geant4Context::userFramework<Gaudi>() const { UserFramework& fw = m_kernel->userFramework(); if ( fw.first && &typeid(T) == fw.second ) return *(T*)fw.first; throw std::runtime_error("No user specified framework context present!"); }
To access the user framework then use the following call:
Gaudi* fw = context->userFramework<Gaudi>();
of course after having initialized it:
Gaudi * fw = ...; GaudiKernel& kernel = ...; kernel.setUserFramework(fw);
- The access to the
-
G4RunManager
is now a plugin. To enable user defined run managers inDDG4
, the run manager is encapsulated in aGeant4Action
. SeeDDG4/plugins/Geant4RunManagers.cpp
how to implement such plugins. Currently there are to factories implemented:G4RunManager
-> factory invokes the single threadedG4RunManager
G4MTRunManager
-> factory invokes the multi threadedG4MTRunManager
The factory names here are identical to the names of the native G4 classes.
-
-
2017-11-30 Marko Petric (PR#268)
- Introduce new DD4hep web-site: http://dd4hep.cern.ch/
- Page is automatically build from this repo
- Restructured
doc
folder and removed not doc related stuff toetc
- Fixes to Doxygen configuration
- create reference manual
make reference
- create reference manual
- Better integration of DD4hep tex documentation and cmake
- create manuals in PDF format
make pdf
create manuals in HTML formatmake html
- allow creation of documentation if dependencies are not present
- create manuals in PDF format
- 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.
- Introduce new DD4hep web-site: http://dd4hep.cern.ch/
-
2018-02-14 Markus Frank (PR#310)
- Fix MC truth problem in DDG4
- Update of the
XML
reader to simplify externalization
-
2018-02-15 David Blyth (PR#302)
- Added "NOINSTALL" option to cmake build function dd4hep_add_library
-
2018-02-16 Andre Sailer (PR#315)
- DDG4::ExtraParticles: particles with too small life time were tagged as stable, now correctly marked unstable
- DDG4::Geant4InputHandling: pass all particles except strings, quarks and gluons to Geant4 to get completely cons...
v01-05
v01-05
-
2017-11-10 Dan Protopopescu (PR#262)
- Added createGearForSiD minimal plugin solely for use with LCCalibration
-
2017-11-10 Frank Gaede (PR#261)
- add
Geant4::HitData::MonteCarloContrib::length
(step length) - set in all CalorimeterSDActions
- write out it LCIO if
Geant4Sensitive::DETAILED_MODE
and LCIO_VERS>v02-10
- add
-
2017-11-10 Whitney Armstrong (PR#260)
- added electric and magnetic field functions that return the field value (taking the position as the only argument) directly in
dd4hep::OverlayedField
- added electric and magnetic field functions that return the field value (taking the position as the only argument) directly in