On Wednesday, 8. August 2007 13:43, you wrote:
> Hi ROOTERS !!!
>
> I'm new in ROOT.
> Please help me...!!!
> I have one ntuple with information about Ideal Geometry and 4 ntuples with
> information about Misaligned Geometry. I have to plot about 60 variables
> that are in the tree named "ZEEL2" inside the ntuples and change the cuts
> or scale of some of the variables in order to get a good plot. After that,
> I have to compare the ideal and the misaligned geometry by plotting both in
> the same canvas.
>
> Thanks for your help.
> ;)
>
> Daniel
Daniel,
a)
ftp://root.cern.ch/root/doc/Users_Guide_5_16_TwoInOne.pdf
This is the comprehensive user guide of Root. It has a good structure and inside you can find explanations how to draw variables from different trees and how to manipulate the histograms or graphs that you get.
b)
http://root.cern.ch/root/htmldoc/ClassIndex.html
This is a Link to the class index of ROOT. There you can find documentation on what functionality a TNtuple and especially its base class, the TTree offers. To read this documentation properly, you have to be aware of of the fact, that there is something called inheritance in C++. Thus, you might a certain function in the class you are looking up, but in one of its base classes.
You will need this index to program your scripts, to look up and remember the correct syntax and functionality for a certain member function.
There are also many tutorials out there from which you can learn.
Best regards,
Hans
-- Dipl.-Phys. Hans Dembinski Tel.: +49 241 80 27324 III. Phys. Inst. A (3A) Physikzentrum RWTH Aachen 52056 AachenReceived on Thu Aug 09 2007 - 09:12:38 CEST
This archive was generated by hypermail 2.2.0 : Thu Aug 09 2007 - 11:50:02 CEST