From d2fef7201068e2c126667501a9098753757bd28a Mon Sep 17 00:00:00 2001
From: jhrdinka <julia.hrdinka@cern.ch>
Date: Mon, 18 Dec 2017 15:10:21 +0100
Subject: [PATCH] Update DD4hep examples to core

---
 .../Plugins/DD4hep/DD4hepDetectorOptions.hpp    | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/Plugins/DD4hep/include/ACTFW/Plugins/DD4hep/DD4hepDetectorOptions.hpp b/Plugins/DD4hep/include/ACTFW/Plugins/DD4hep/DD4hepDetectorOptions.hpp
index 604f667a..66337049 100644
--- a/Plugins/DD4hep/include/ACTFW/Plugins/DD4hep/DD4hepDetectorOptions.hpp
+++ b/Plugins/DD4hep/include/ACTFW/Plugins/DD4hep/DD4hepDetectorOptions.hpp
@@ -32,21 +32,30 @@ namespace Options {
     opt.add_options()(
         "dd4hep-input",
         po::value<read_strings>()->multitoken()->default_value(
-            {"file:Detectors/DD4hepDetector/compact/FCChhTrackerTkLayout.xml"}),
+            {"file:Detectors/DD4hepDetector/compact/FCChhBaseline/"
+             "FCChh_DectEmptyMaster.xml",
+             "file:Detectors/DD4hepDetector/compact/FCChhBaseline/"
+             "FCChhTrackerTkLayout.xml"}),
         "The locations of the input DD4hep files, use 'file:foo.xml'. In case "
         "you want to read in multiple files, just seperate the strings by "
         "space.")("dd4hep-envelopeR",
                   po::value<double>()->default_value(0.),
                   "The envelop cover in R for DD4hep volumes.")(
+        "dd4hep-envelopeR",
+        po::value<double>()->default_value(1. * Acts::units::_mm),
+        "The tolerance added to the geometrical extension in r of the "
+        "layers contained to build the volume envelope around in mm.")(
         "dd4hep-envelopeZ",
-        po::value<double>()->default_value(0.),
-        "The envelop cover in z for DD4hep volumes.")(
+        po::value<double>()->default_value(1. * Acts::units::_mm),
+        "The tolerance added to the geometrical extension in z of the "
+        "layers contained to build the volume envelope around in mm.")(
         "dd4hep-digitizationmodules",
         po::value<bool>()->default_value(false),
         "The envelop cover in z for DD4hep volumes.")(
         "dd4hep-loglevel",
         po::value<size_t>()->default_value(2),
-        "The output log level of the geometry building. Please set the wished "
+        "The output log level of the geometry building. Please set the "
+        "wished "
         "number (0 = VERBOSE, 1 = "
         "DEBUG, 2 = INFO, 3 = WARNING, 4 = ERROR, 5 = FATAL).");
   }
-- 
GitLab