Re: [ROOT] Probolems with creating a tree using own class

From: Frankland John (frankland@ganil.fr)
Date: Wed May 28 2003 - 22:10:20 MEST


Whoops, sorry about the typos - as you can see, I called your class 
DietzTest
so as not to get mixed up with all my "Test" classes....

so in the "Test.C" it should be:

>
> ClassImp(DietzTest)
>
> ///////////////////////////////////////////////////////
> // DietzTest
> // 

etc. etc. and in the main.C

>
> // pointer to new Object
> DietzTest* test=new DietzTest();
>
> // creating new branch
> t4->Branch("test","DietzTest",&test, 16000,2);
>

-- 
John D. Frankland
Beam Coordinator
GANIL
B.P. 55027
14076 CAEN Cedex 05

tel: +33 (0)231454628
fax: +33 (0)231454665



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