cbm-fles / flesnet

CBM FLES Timeslice Building
7 stars 22 forks source link

ArchiveType: Add entry to store processing results. #113

Closed fweig closed 1 year ago

fweig commented 1 year ago

Adds an entry to ArchiveType to store processing results.

This is a prerequisite to reuse fles-classes for reading / storing archives (InputArchive, OutputArchive) in CbmRoot Online code.

cuveland commented 1 year ago

Can we still change the new label?

The existing labels refer to what is inside this archive file, and in consequence also name the (base) class that is used for the items in the file. E.g., a TimesliceArchive contains Timeslice class objects.

So of what class exactly are the objects we are going to store? DigiTimeslice? RecoResults? TimesliceResults? I think we should keep this pattern and then name the enum accordingly (appending ...Archive).

What do you think?

fweig commented 1 year ago

Sure I like RecoResultsArchive. Eventually this archive should also be able to store Hits and Tracks. I used Processing to be consistent with the current file ending.

fweig commented 1 year ago

Changed the name to RecoResultsArchive

cuveland commented 1 year ago

...so the most fitting file name extension would be .rra? Anyway, not relevant to this PR.