Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic parameter control through command line arguments of internal RML definitions. #32

Open
jgalan opened this issue Mar 7, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@jgalan
Copy link
Member

jgalan commented Mar 7, 2022

Perhaps it would be interesting to introduce a generic way to be able to control any parameter through command line.

Doing something like:

restG4 --g4metadata:gdml_file=geometry.gdml --run:outputFileName=output.root

If we achieve something generic, then we could have full freedom. I.e. I could fix also the number of events as follows:

restG4 --g4metadata:Nevents=100

This issue could be transferred to the rest-for-physics/framework , since it might be a generic way to pass arguments, also interesting for restManager or other future executables.

As it was recently discussed in #29

@jgalan jgalan added the enhancement New feature or request label Mar 7, 2022
@jgalan jgalan changed the title Generic parameter control of internal RML definitions. Generic parameter control through command line arguments of internal RML definitions. Mar 7, 2022
@lobis
Copy link
Member

lobis commented Sep 18, 2022

#58 implements some improvements / features to the CLI, but not complete generic parameter initialization, perhaps https://github.com/rest-for-physics/restG4/blob/master/src/Application.cxx#L127 is a good point to start if someone wants to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants