GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » GENFIT objects in the ROOT Browser
GENFIT objects in the ROOT Browser [message #6330] Wed, 09 April 2008 18:02 Go to previous message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

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
 
Read Message
Read Message
Read Message
Previous Topic: Problem with low momentum Pion
Next Topic: GEANE and GENFIT
Goto Forum:
  


Current Time: Mon Jun 17 18:56:25 CEST 2024

Total time taken to generate the page: 0.01088 seconds