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

Allow a placeholder for main FHiCL configuration name in output files (RootOutput, TFileService) #98

Open
knoepfel opened this issue Oct 28, 2021 · 0 comments
Labels
feature An enhancement to the project

Comments

@knoepfel
Copy link
Contributor

This issue has been migrated from https://cdcvs.fnal.gov/redmine/issues/22357 (FNAL account required)
Originally created by @PetrilloAtWork on 2019-04-12 00:04:06


I would like to be able to specify an output file name for, e.g., RootOutput module, like:

filename: "%c_%p-%tc.root"

that replaces the first token (%c in the example) with the basename of the configuration file, so that e.g.

art -c ./job/generateBeautifulEvents.fcl -n 10

would produce files like generateBeautifulEvents_Gen-20190402T170247.root.

@knoepfel knoepfel added the feature An enhancement to the project label Oct 28, 2021
@knoepfel knoepfel added this to Issues Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature An enhancement to the project
Projects
Status: No status
Development

No branches or pull requests

1 participant