File FrameCategories.h
-
namespace podio
Functions
-
inline std::string collMetadataParamName(const std::string &collName, const std::string ¶mName)
Create a parameterName that encodes the collection name and the parameter Name into one string.
This codifies a convention that was decided on to store collection level parameters. These are parameters / metadata that are valid for all collections of a given name in a file, e.g. CellID encoding strings. These parameters are usually stored in a dedicated metadata Frame inside a file, see the predefined category names in the Category namespace.
- Parameters:
collName – the name of the collection
paramName – the name of the parameter
- Returns:
A single key string that combines the collection and parameter name
-
namespace Category
This namespace mimics an enum (at least in its usage) and simply defines either commonly used category names, or category names that form a convention.
Variables
-
constexpr const auto Event = "events"
The event category.
-
constexpr const auto Run = "runs"
The run category.
-
constexpr const auto Metadata = "metadata"
The metadata category that is used to store a single Frame that holds data that is valid for a whole file, e.g.
collection level parameters
-
constexpr const auto Event = "events"
-
inline std::string collMetadataParamName(const std::string &collName, const std::string ¶mName)