Replies: 1 comment
-
The main purpose of the TH1D class is to store those metadata members, varName, range and bins. Thats why perhaps a dedicated metadata class, such as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am now retrieving histogram like definition inside
TRestComponent
. Something similar is done insideTRestDataSetOdds
, to fill in the following metadata members:Perhaps it would be interesting to create a
TRestHistDefinition
class? Or perhaps we could use directly aTH1D
? Perhaps we could implement insideTRestMetadata::InitFromConfigFile
the reading of aTH1D
instance?So we could define inside
TRestMetadata
:Then, inside any metadata class we can create definitions as:
which are created inside
InitFromConfigFile
.What do you think about something like this?
@juanangp @nkx111 @lobis
Beta Was this translation helpful? Give feedback.
All reactions