-
Notifications
You must be signed in to change notification settings - Fork 443
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
Store Reconstruction and AO2D Parameters in Metadata #13806
Comments
Posting older e-mail exchange with DavidHi Marian, Thank you for your detailed explanation and suggestions. I understand your points, and I agree that the disk space overhead for adding metadata is minimal. Having the metadata saved at the same time as the generation ensures a 1-to-1 correspondence, which is highly convenient and eliminates the need for additional CCDB maintenance. As far as I understand, the AO2D metadata is implemented as a Context and DiscussionEmail Excerpt from Marian on 25 Nov 2024:
Response Summary: As discussed, using AO2D metadata to store reconstruction parameters seems like the most viable and efficient approach. This avoids the limitations of CCDB for such purposes and provides a clean, flexible way to manage these parameters. Thank you and best regards, |
Store Reconstruction and AO2D Parameters in Metadata
Problem Description
Currently, many parameters used during reconstruction and AO2D creation are hardcoded into the code or configuration files. This creates challenges in adapting to changes in encoding or decoding configurations and complicates the process of querying reconstruction parameters after production. The absence of a standardized mechanism for storing reconstruction/AO2D metadata often necessitates manual searches through logs or source code.
Proposal
Store reconstruction parameters and AO2D creation settings as metadata directly in the AO2D files. This approach offers several advantages:
sigma/nBins
. IfnBins
changes (e.g., reduced to 2 for better compression), decoding can automatically adapt by referencing the updated metadata.Background
As discussed in the emails summarized below, using the CCDB to store such metadata may not be ideal:
Instead, embedding these parameters directly in AO2D metadata would provide a more robust solution. Similarly, metadata for reconstruction outputs (e.g.,
tpctracks
,combinedtracks
,itstracks
) should also be included in their respective output files.Suggested Implementation
tpctracks
anditstracks
to record reconstruction settings.Benefits
Related Discussions
Email 1 (Summary):
The challenge of managing parameters like
sigma/nBins
for encoding and decoding. Including these settings in AO2D metadata would allow flexibility for future changes, such as adjustingnBins
to reduce data volume.Email 2 (Summary):
Storing reconstruction parameters in metadata provides significant advantages over CCDB for production-specific settings. The CCDB is designed for data-taking conditions, not reconstruction configurations. A metadata-based solution offers a scalable, space-efficient, and queryable approach to managing reconstruction and AO2D parameters.
The text was updated successfully, but these errors were encountered: