Skip to content
Snippets Groups Projects
  1. Jul 31, 2018
    • Andre Sailer's avatar
      Add possiblity to steer the actions for sensitive detectors · 8b931dec
      Andre Sailer authored
      in command line for example "--action.mapActions 'tcp TPCSDAction'"
      or see example/steeringFile.py
      8b931dec
    • Andre Sailer's avatar
      ddsim: remove some commented lines, add dump[Parameter] flag to just print the... · 45068fbd
      Andre Sailer authored
      ddsim: remove some commented lines, add dump[Parameter] flag to just print the configuration parameters
      45068fbd
    • Andre Sailer's avatar
      Refactor and improve features for ddsim · 413823e6
      Andre Sailer authored
      * Move DD4hepSimulation et al into python module DDSim, needed for proper
        importing
      
      * Can now control magneticfield setup, gun, particle handler, output via command
        line.
      
      ** added ConfigHelper and daughter classes implementing these options
         DDSim/DDSim/Helper, easily extensible to additional features
      
      ** also easier changing of these parameters via steering file See
         example/steeringFile.py
      
      *** No more functions, no more "global GeV"
      
      ** --help string can be given by using @property, see e.g. Helper/Output.py
      
      * added optional argcomplete, allows command line "tab"complete for all command line options (and values!)
        Needs argcomplete (sudo pip install argcomplete), bash completion and bash (or zsh).
        and 'eval "$(register-python-argcomplete ddsim)"'
      
      * move import statements to reduce startup time until "--help", mandatory to
        reduce latency for argcomplete
      413823e6
    • Andre Sailer's avatar
      Make DD4hepSimulation and RunProg.py (-->ddsim) be executable from everywhere · 9d775129
      Andre Sailer authored
      Move DD4hepSimulation.py and RunProg.py to DDSim folder
      Rename RunProg.py to ddsim
      Add cmake install for DD4hepSimulation to lib/python, ddsim to bin which is already in PATH
      9d775129
Loading