[ROOT] TNtuple class

From: Daniel Holmes (Daniel.Holmes@cern.ch)
Date: Mon Jan 06 2003 - 12:00:55 MET


ok, i have 2 questions regarding this class:

#1 how do i call it from within a CMS/OSCAR/G4 (on afs) application..
(what should my #include path be??)

#2 i would like one of the leaves to be a 2D array so i would have
x[1->100]. ..how should i update the code below??


so far i have only 1D variables of type:

TNtuple *nt1=new TNtuple("ntuple1","arg11","x:y:z");

which i fill with 

nt1->Fill(4,5,6);  

..now i want to access elements of x[100] individually..

many thanks in advance for your help..

Dan.




CMS-Bristol
http://cern.ch/dan.holmes



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET