[ROOT] Problem to write TCutG in the file

From: Andrei Daniel (daniel@jinr.ru)
Date: Mon Nov 26 2001 - 15:07:34 MET


Hi Rooters.

What is wrong? When I try to save TCutG object
in the file I get a messages

ERROR, Streamer is null
  TString*      fNames          offset=1448 type=501 [fNpar] Array of
parameter names
ERROR, Streamer is null
  TString*      fNames          offset=1448 type=501 [fNpar] Array of
parameter names
ERROR, Streamer is null
  TString*      fNames          offset=1448 type=501 [fNpar] Array of
parameter names

Object is saved. I can see and copy it in another file. But
1.	When I quit from the root it returns with error
2.	When file is opened in the next time I get a warning

Warning in <TClass::TClass>: no dictionary for class TTreeFormula is
available

TCutG is written by the next commands
	char cutname[10];
	TCutG *gcut;
	sprintf(cutname,"CUT%2.2iD%1iS5",nf,ndet);
	gcut = (TCutG*)gROOT->FindObject(cutname);
	gcut->Print(); //== This line work
	gcut->Write();

ROOT 3.02/04 for Windows.

Andrei Daniel

----------------------------------------------
Andrei Daniel
FLNR, JINR, Dubna 141980 Russia
e-mail: daniel@jinr.ru
tel: 7 (09621) 64568   fax: 7 (09621) 65083



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET