Skip to content

Classes to hold a transient trigger menu configuration and corresponding I/O

Joerg Stelzer requested to merge stelzer/athena:master-hltconfig into master

TrigConfData contains the transient representation of trigger configuration data, which can be conveniently described in the json notation. The class DataStrucure is a wrapper around a boost::ptree, which currently is the only easy way in ATLAS to represent json data in c++.

DataStructure has helper functions for the user to generically access the data in the structure. Two concrete implementations, HLTMenu and HLTChain, for convenient access are derived from DataStructure.

TrigConfIO contains a class JsonFileLoader to load json files into a DataStructure or any derived class. A ctest read_config_info tests the reader and a manual writer function of the menu. Another executable utils/TestTriggerMenuAccess illustrates the different ways to access the content of the DataStructure and derived objects.

Edited by Joerg Stelzer

Merge request reports