You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before #441 we could access the event pointer stored inside the ROOT file. I.e. TRestGeant4Event, TRestRawSignalEvent, ... depending on which event was available.
Now we recover a pointer to the event tree.
Could we recover back the old behaviour? For me it was interesting to have ready access to the event as ev0.
Also, why not use the pointer instance name as md_mdName? instead of metadata0["restG4 run"] which we get right now?
I also think the 0 could disappear now from instance names.
The text was updated successfully, but these errors were encountered:
Could we recover back the old behaviour? For me it was interesting to have ready access to the event as ev0.
Now the input TRestEvent is accessible via ev
Also, why not use the pointer instance name as md_mdName? instead of metadata0["restG4 run"] which we get right now?
Now we have a map of TRestMetadata pointers, that's why we have the metadata["metaName"], it is not possible to define a variable with a particular name pattern. This was done previously with gROOT->ProcessLine(...); that I think we should try to avoid.
I also think the 0 could disappear now from instance names.
However, the interpreter seems to do not like it. See issue #450
Weel, it is not possible to attach an std::map<std::string, TRestMetadata*> as TRestMetadata* so the root interpreter gets confused. I have added a solution on #453 by using gROOT->ProcessLine. Please close the other issue...
Before #441 we could access the event pointer stored inside the ROOT file. I.e.
TRestGeant4Event
,TRestRawSignalEvent
, ... depending on which event was available.Now we recover a pointer to the event tree.
Could we recover back the old behaviour? For me it was interesting to have ready access to the event as
ev0
.Also, why not use the pointer instance name as
md_mdName
? instead ofmetadata0["restG4 run"]
which we get right now?I also think the
0
could disappear now from instance names.The text was updated successfully, but these errors were encountered: