RE: Can not fit user function

From: Pablo P Yepes (yepes@bonner-ibm2.rice.edu)
Date: Thu Jul 17 1997 - 18:15:14 MEST


Hello,
	When I compile the example program found in the TTree definition (http://root.cern.ch/root/html/TTree.html) with Visual C++. I get the following error:

C:\yepes\Explore\test\test.cpp(32) : error C2664: 'class TBranch *TTree::Branch(const char *,class TClonesArray *,int,int)' : cannot convert parameter 2 from 'class TH1F *' to 'class TClonesArray *' (new behavior; please see help)

in line:
tree->Branch("hpx",hpx,128000);

			Any suggestions?	
					Pablo Yepes



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET