From 7dc6631d40af9de423eb5c09685107882fb1738f Mon Sep 17 00:00:00 2001 From: jhrdinka <julia.hrdinka@cern.ch> Date: Tue, 31 Oct 2017 14:31:34 +0100 Subject: [PATCH] Explain how to hand over more than one value. --- .../ACTFW/ParticleGun/ParticleGunOptions.hpp | 15 ++++++++++----- .../include/ACTFW/ReadEvgen/ReadEvgenOptions.hpp | 8 +++++--- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Algorithms/ParticleGun/include/ACTFW/ParticleGun/ParticleGunOptions.hpp b/Algorithms/ParticleGun/include/ACTFW/ParticleGun/ParticleGunOptions.hpp index 4dce54c6..739ac8e7 100644 --- a/Algorithms/ParticleGun/include/ACTFW/ParticleGun/ParticleGunOptions.hpp +++ b/Algorithms/ParticleGun/include/ACTFW/ParticleGun/ParticleGunOptions.hpp @@ -46,19 +46,24 @@ namespace Options { "flip the charge (and change PDG accordingly).")( "pg-d0range", po::value<read_range>()->multitoken()->default_value({0., 0.}), - "range in which the d0 parameter is simulated in [mm].")( + "range in which the d0 parameter is simulated in [mm]. Please hand" + "over by simply seperating the values by space")( "pg-z0range", po::value<read_range>()->multitoken()->default_value({0., 0.}), - "range in which the z0 parameter is simulated in [mm].")( + "range in which the z0 parameter is simulated in [mm]. Please hand" + "over by simply seperating the values by space")( "pg-phirange", po::value<read_range>()->multitoken()->default_value({-M_PI, M_PI}), - "range in which the phi0 parameter is simulated.")( + "range in which the phi0 parameter is simulated. Please hand over by " + "simply seperating the values by space")( "pg-etarange", po::value<read_range>()->multitoken()->default_value({-4., 4.}), - "range in which the eta parameter is simulated.")( + "range in which the eta parameter is simulated. Please hand over by " + "simply seperating the values by space")( "pg-ptrange", po::value<read_range>()->multitoken()->default_value({100., 1e5}), - "range in which the pt in [MeV] parameter is simulated."); + "range in which the pt in [MeV] parameter is simulated. Please hand " + "over by simply seperating the values by space"); } /// read the particle gun options and return a Config file diff --git a/Algorithms/ReadEvgen/include/ACTFW/ReadEvgen/ReadEvgenOptions.hpp b/Algorithms/ReadEvgen/include/ACTFW/ReadEvgen/ReadEvgenOptions.hpp index bf7025ff..93fd375b 100644 --- a/Algorithms/ReadEvgen/include/ACTFW/ReadEvgen/ReadEvgenOptions.hpp +++ b/Algorithms/ReadEvgen/include/ACTFW/ReadEvgen/ReadEvgenOptions.hpp @@ -32,10 +32,12 @@ namespace Options { "Number of instantaneous pile-up events.")( "evg-vertex-xyrange", po::value<read_range>()->multitoken()->default_value({0., 0.015}), - "transverse range of the vertex in xy.")( + "transverse range of the vertex in xy. Please hand over by simply " + "seperating the values by space")( "evg-vertex-zrange", po::value<read_range>()->multitoken()->default_value({0., 5.5}), - "transverse range of the vertex in z."); + "transverse range of the vertex in z. Please hand over by simply " + "seperating the values by space"); } /// read the evgen options and return a Config file @@ -60,4 +62,4 @@ namespace Options { } } -#endif // ACTFW_OPTIONS_EVGENOPTIONS_HPP \ No newline at end of file +#endif // ACTFW_OPTIONS_EVGENOPTIONS_HPP -- GitLab