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

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Oct 22 2004 - 11:38:30 MEST


Hi Tomasz,

IwillhavealookatthisproblemlatermeanwhileIencourageyoutouseshorternames.

Rene Brun

Tomasz Bold wrote:
> 
> 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