rest-for-physics / rest-for-physics/framework

Ideas for enhancing TRestDataSet

Open
#346 0 comments 0 reactions 2 assignees View on GitHub

@IAntolin is already working on this.

Since Mar 1, 2023.

development enhancement
Dominant language
C++
Stars
19
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Recently, TRestDataSet has been implemented at #345. Cool!

There are few enhancements that can still be interesting, or necessary!

  • The file selection using metadata rules might be really time consuming. We should have a FileSelection method that extracts metadata information from a metadata database that has been populated using the ROOT/REST official data repository. Using the restSQL tool. We could have simply an option to decide to use the "SQL" database inside TRestDataSet, or even better, create a new class TRestSQLDataSet::TRestDataSet (inheriting from TRestDataSet) that overloads FileSelection and defines the additional data members required to connect to the SQL database.

  • Include cuts on events so that if one of the branches or columns could be used as discriminant to generate a final table of selected events.

  • #388

  • Add a method that allows to cut-off events that do not fulfil certain conditions, and at the same time should reduce the fTotalDuration, it could be a method such as TRestDataSet::RemoveDataUnderConditions( std::string ). #443

  • Add unit tests / validation pipeline.

See also issue #13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.