Skip to content

Problems when trying to display the values from a dataset #488

Answered by juanangp
jgalan asked this question in Q&A
Discussion options

You must be logged in to vote

I think the issue is that the dataSet has been built with multiThreading enabled, looking at some ROOT forums there is not much to do while using Display with MT enabled.

I suggest the following:

  • Make configurable to enable or disable MT at TRestDataSet::GenerateDataSet (default be enabled by default)
  • Make configurable enable or disable MT at Import e.g. Import(const std::string& fileName, bool enableMT = true)

You should be able to do Display with a dataset which has been generated using MT enabled but it is imported with MT disabled.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jgalan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants