[FIXED] Produce ROOT file with FairRoot Structure [message #22371] |
Mon, 19 March 2018 13:24 |
wesmail
Messages: 2 Registered: March 2018 Location: Juelich
|
occasional visitor |
From: *ext.kfa-juelich.de
|
|
Dear experts,
I have a ROOT file that contains probability distributions of different particles (e, mu, pi, k, p) stored in TClonesArray "branch named PidAlgoMl" (image 1), but I want it to be of the same structure of image 2, that is the branch "PidAlgoMl" inside folder "Pid" which is inside folder "cbmout". How to do this using PANDARoot or FairROOT classes.
Thank you very much in advance,
-
Attachment: 1.png
(Size: 225.94KB, Downloaded 640 times)
-
Attachment: 2.png
(Size: 300.24KB, Downloaded 534 times)
Waleed Esmail
[Updated on: Wed, 21 March 2018 10:34] by Moderator Report message to a moderator
|
|
|
|
Re: Produce ROOT file with FairRoot Structure [message #22377 is a reply to message #22374] |
Mon, 19 March 2018 14:20 |
wesmail
Messages: 2 Registered: March 2018 Location: Juelich
|
occasional visitor |
From: *ext.kfa-juelich.de
|
|
Dear Stefano,
thank you very much for your instant reply. I am aware of the associator task, but I don't know how to use it because at Init() method it tries to get the TClonesArray from the input file and I face the same problem ("PidAlgoMl is not in cbmout folder" because my file is not in the same RootFair structure) and crashes.
N.B I fill the TClonesArray in a python program independent of FairRoot package, but I can access FairRoot from python. How to use Register method independent from associator Task?!.
Thank you again,
Waleed Esmail
|
|
|
|
|