Skip to content

Commit

Permalink
Update README and Use Key4hep instead of Key4HEP
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Oct 1, 2024
1 parent dcca269 commit 8d5ee4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Algorithm to write data to an output file on disk.
## k4run
```
$ k4run --help
usage: k4run [--dry-run] [-v] [-n NUM_EVENTS] [-l] [--gdb] [-h] [config_files ...]
usage: k4run [--dry-run] [-v] [-n NUM_EVENTS] [-l] [--gdb] [--interactive-root] [-h] [config_files ...]
Run job in the Key4HEP framework
Run job in the Key4hep framework
positional arguments:
config_files Gaudi config (python) files describing the job
Expand All @@ -36,9 +36,9 @@ options:
-v, --verbose Run job with verbose output
-n NUM_EVENTS, --num-events NUM_EVENTS
Number of events to run
-l, --list Print all the configurable components available in the
framework and exit
-l, --list Print all the configurable components available in the framework and exit
--gdb Attach gdb debugger
--interactive-root Run with ROOT in interactive mode (e.g. to see plots)
-h, --help show this help message and exit
```
When supplied with a Gaudi steering file `k4run --help file.py` also shows the settable properties of the Gaudi algorithms used in the file. Additionally, it is possible to add further arguments and use them in the steering file by using the Python `argparse.ArgumentParser` shared by `k4run`.
Expand Down Expand Up @@ -77,6 +77,8 @@ types of algorithms, depending on your use case:
- The `Transformer` is the more general one (both the `Consumer` and the
`Producer` are a particular case of this one) and takes both inputs and
outputs
- The `Filter`, for removing events from the events that are going to be
processed.

A more complete list of algorithms can be found in
https://lhcb.github.io/DevelopKit/03a-gaudi/, in the `Gaudi::Functional`
Expand All @@ -91,5 +93,3 @@ each one of the above-mentioned algorithms. In addition, there are tests that
have either multiple inputs and / or multiple outputs (like
`ExampleFunctionalProducerMultiple`) that can be used as a template for the more
typical case when working with multiple inputs or outputs.

**`GaudiAlg` is deprecated and will be removed in future versions of Gaudi.**
2 changes: 1 addition & 1 deletion k4FWCore/python/k4FWCore/parseArgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
#
import argparse

parser = argparse.ArgumentParser(description="Run job in the Key4HEP framework", add_help=False)
parser = argparse.ArgumentParser(description="Run job in the Key4hep framework", add_help=False)

0 comments on commit 8d5ee4e

Please sign in to comment.