Reference

YAML configuration parsing

A plotIt YAML configuration file should have the following structure:

configuration:
  # Configuration block
files:
  file_name:
    # File block
  ...
groups: # optional
  group_name:
    # Group block
  ...
plots:
  plot_name:
    # Plot block
  ...
systematics: # optional
  # just name (for shape) or name with systematic block
  ...
legend: # optional
  # legend block

Such YAML files can be parsed with the loadFromYAML() method. It will return instances of the classes defined in the plotit.config module, whose attribute listings below serve as a reference of the allowed attributes in each block, and their types.