- Jul 31, 2018
-
-
Andre Sailer authored
Do not print error messages when dumping SteeringFile or parameters Fix crash when dumping steeringfile
-
Andre Sailer authored
-
Andre Sailer authored
DDSim: Add logic to add help for non-property helper variables, add logic to add choices for all helper options
-
Andre Sailer authored
Add control over distributions if a distribution is set activate isotrop if isotrop is activated use uniform by default Move set up gun function to Helper/Gun, keeps functionality closer together
-
Andre Sailer authored
previously only the main variable values were overwritten, now dumpSteeringFile and dumpParameters will also display the proper value
-
Andre Sailer authored
Add white line before documentation block for better readability
-
Andre Sailer authored
Otherwise error for unknown function, reported by Marko, Copied fix from DD4hep::DDG4.py change is compatible with root5
-
Andre Sailer authored
If used isotropic is mandatory so we turn it on in setup Note different capitalisations for options, keeping lower case starting char for ddsim options
-
Andre Sailer authored
-
Andre Sailer authored
needs dd4hep revision 2071
-
Andre Sailer authored
-
Andre Sailer authored
with the additional range cut parameter created Physics Helper object the DD4hepSimulation physicsList attribute is now deprecated, use physics.list instead The default value for the rangecut is the one from geant4 10.1: 700 micron
-
Andre Sailer authored
None is default for setupFuction, so we can allways pass the action and don't need the else setupSD now accepts tuples
-
Andre Sailer authored
-
Andre Sailer authored
DDSim: use different name for different GenAction when the same kind of inputfile is used multiple times
-
Andre Sailer authored
if not specific filter is set the default filter for tracker or calorimeter is applied (if a default filter is set) To turn off all filters just assign an empty string, empty list or None to the mapDetFilter update doc
-
Andre Sailer authored
-
Andre Sailer authored
Move applyFilter to Helper/Filter Adapt steeringFile
-
Andre Sailer authored
Move module doc to class doc so we can use it in the automatically created steering file Change docstrings to be more sensible
-
Andre Sailer authored
changed member variables to private: _errorMessages, _dumpParameter, _dumpSteeringFile removed abspath from macroFile and compactFile because otherwise the default values break error checking
-
Andre Sailer authored
See example/steeringFile.py and DDSim/Helper/Filter.py for examples
-
Andre Sailer authored
see the steering file or the ConfigHelper/Action docstring for an example for CaloPreShowerSDAction
-
Andre Sailer authored
use absolute path for steering, compact and macro file remove magneticFieldDict because no longer used
-
Andre Sailer authored
-
Andre Sailer authored
-
Andre Sailer authored
-
Andre Sailer authored
-
Andre Sailer authored
-
Andre Sailer authored
in command line for example "--action.mapActions 'tcp TPCSDAction'" or see example/steeringFile.py
-
Andre Sailer authored
ddsim: remove some commented lines, add dump[Parameter] flag to just print the configuration parameters
-
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
-
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
-