GENFIT objects in the ROOT Browser [message #6330] |
Wed, 09 April 2008 18:02 ![Go to next message Go to previous message](/theme/gsi/images/down.png) |
Sebastian Neubert
Messages: 282 Registered: March 2006 Location: Munich
|
first-grade participant |
![basti.neubert](/theme/gsi/images/skype.png) From: *e18.physik.tu-muenchen.de
|
|
Hi Dipak!
I just tried and in fact I can plot data from the ROOT Browser. For example if you click on cbmsim->Track->getMom()->Mag() this works beautifully.
Make sure that you have the dictionaries loaded when you do try this!
In general you can do much more powerfull things if you use draw commands from the command line.
See the plot macro for an example. Here you can even give parameters to the functions that you access in your draw command. Such functions are not even listed in the Browser (getCovElem(i,j) for example) because the Browser does not allow function parameters.
Cheers! Sebastian.
PS: It is amazing what you can do with such draw commands. In Compass I have written a class that manages complete decay chains and I use root draw commands to steer the calculation of all kinds of substates in the decay chain on the fly.
Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
|
|
|