Ash/implement generators with vegas expressions
requested to merge ash/Implement_Generators_with_vegas_expressions into preparation_for_release_v0.2
To be merged after !42 (merged)
I'm using my package vegas_params to implement the random sampling of position, energy, time, direction etc. It's quite flexible.
In this PR I want to
- convert the existing modules to Dataclasses/EventProcessors:
- update their interface - since we shouldn't be bound by the command line arguments, we can have nested classes, passing one objects into constructors of other objects.
Modules to convert:
-
ToyGen -
Laser -
ParticlePropagator -
CherenkovGenerator -
MCPhotonPropagator -
SmartRayTracer -
H5Writer
Edited by Andrey Sheshukov