Re: [ROOT] A problem about TProfle

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Oct 10 2002 - 11:59:02 MEST


Hi Cheng,

I cannot understand this warning. The current version of TProfile is 3.
Did you modify this class ?
Could you send me your file ptmean.root (or tell me how to access it
on AFS or a web server) ?

Rene Brun

On Thu, 10 Oct 2002, Cheng Yunhua wrote:

> 
> hi,
>   My ROOT version infor is------>
>   QAInfo:You are using STAR_LEVEL : new, ROOT_LEVEL : 3.02.07
> 
>   now,I am confronted with a strange problem as blow,
>   I drew some TProfiles and saved them in a root file.But every time I 
>   open it using TFile,there would be a warning like this----->
> 
> WARNING, the StreamerInfo of class TProfile read from file 
> /direct/star+u/chengyh/centrality/analysis/result/MC_Tree/5/ptmean.root
>         has the same version (=3) as the active class
>         but a different checksum.
>         You should update the version to ClassDef(TProfile,4).
>         Do not try to write objects with the current class definition,
>         the files will not be readable.
> 
> 
> When I list them and draw one TProfile,it works,but when I draw 
> one more  TProfile under the same ROOT session,it fails and gives infor 
> as below--->
> 
>      *** Break *** segmentation violation
>   Root > Function meanptvscent() busy flag cleared
> 
> and then stops.
> 
> I don't know why,but I guess it is because that the Nents of those 
> TProfile  are  very huge.Because I must draw these TProfiles one time,
> but it always fails,how can I do then?
> 
> You can have a look my macro for drawing,I have inclosed it to you.
> 
>  
> 
> 
> 
> 
> 
> 
> -- 
> Best regards!
> Cheng Yunhua
> **************************************************************************
> * Name:      Cheng Yunhua Major: high energe experiment physics      ***
> *--------------------------------------------------------------------**
> * Department:Institute of particle physics,Huazhong Normal University***
> *--------------------------------------------------------------------****
> * Adress:    Institute of particle physics,CCNU,Wuhan,Hubei,PRC.     *****
> *--------------------------------------------------------------------******
> * ZIP code:  430079       Tel:  027-87673314(O)  027-87340256(D)     *****
> *--------------------------------------------------------------------****
> * E-mail:    chengyh@iopp.ccnu.edu.cn chengyunhua11@263.net          ***
> **************************************************************************
> 
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:13 MET