[ROOT] Error while generating the analysis class on file converted from .hbook to .root

From: Tomasz Bold (bold@fatcat.ftj.agh.edu.pl)
Date: Fri Oct 22 2004 - 09:47:39 MEST


Dear ROOTers,
	I have converted  HBOOK file to root and then using
TChain::MakeClass("MyAnl") generated the class.
The code is inappropriate in following lines ( see long line with /F at
end):

private:
...
  Float_t         Timenewsct_clusterization;
   Float_t         Timeindetreco;
   Float_t         TimenewsitrackerspacepointfinderTimenewsitrackerspacepointfinder/F;
   Float_t         Timexkaseedsmanager;
   Float_t         Timexkamfield;
...

and in the mthod Init(TTree *):
...
 fChain->SetBranchAddress("Timeindetreco",&Timeindetreco);

fChain->SetBranchAddress("TimenewsitrackerspacepointfinderTimenewsitrackerspacepointfinder/F",&TimenewsitrackerspacepointfinderTimenewsitrac
kerspacepointfinder/F);
   fChain->SetBranchAddress("Timexkaseedsmanager",&Timexkaseedsmanager);
...

Is the name of variable to long? It is 33 characters long.

Regards,
	Tomasz Bold



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET