Skip to content

Add edm4eic::PodioMetadataPair type #109

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project(EDM4EIC
LANGUAGES CXX)

SET( ${PROJECT_NAME}_VERSION_MAJOR 8 )
SET( ${PROJECT_NAME}_VERSION_MINOR 1 )
SET( ${PROJECT_NAME}_VERSION_MINOR 2 )
SET( ${PROJECT_NAME}_VERSION_PATCH 0 )
SET( ${PROJECT_NAME}_VERSION "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}" )

Expand Down
14 changes: 13 additions & 1 deletion edm4eic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
## If there are schema version changes that can be evolved, see the podio documentation
## for an example: https://github.com/AIDASoft/podio/tree/master/tests/schema_evolution
##
schema_version: 801
schema_version: 820

options :
# should getters / setters be prefixed with get / set?
Expand Down Expand Up @@ -203,6 +203,18 @@ datatypes:
- float floatData // Iff elementType==1, values are stored here
- int64_t int64Data // Iff elementType==7, values are stored here

edm4eic::PodioMetadataPair:
Description: "Stores a key-value pair for values of type belonging to podio::SupportedGenericDataTypes"
Author: "D. Kalinkin"
Members:
- int32_t valueType // Type of the value
- int intValue // Iff valueType==0
- float floatValue // Iff valueType==1
- double doubleValue // Iff valueType==3
VectorMembers:
- char key // Key string
- char stringValue // Iff valueType==2

## ==========================================================================
## Simulation info
## ==========================================================================
Expand Down