Re: [ROOT] lost histos??

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jan 17 2002 - 08:19:38 MET


Hi Victor,

>From the StreamerInfo of your class StVertex, I conclude that your member
mType is correctly read from the file (type=3, integer).
StreamerInfo for class: StVertex, version=2
  BASE          StMeasuredPoint offset=  0 type= 0                     
  StVertexId    mType           offset=  0 type= 3                     
  Int_t         mFlag           offset=  0 type= 3                     
  Float_t       mCovariantMatrix[6] offset=  0 type=25                     
  Float_t       mChiSquared     offset=  0 type= 5                     
  Float_t       mProbChiSquared offset=  0 type= 5                     
  StObjLink     mParent         offset=  0 type=61                     

The warning is printed because Root does not know the definition of
your enum StVertexId. You can pass the information about an enum in the
LinkDef.h file with;
#pragma link C++ enum StVertexId;

Rene Brun

Victor Perevoztchikov wrote:
> 
> Hi Rene,
> 
> > You are likely reading your data with
> >  - an old version of ROOT
> Version is 3.02.01, not the last but not too old.
> >  - without the classes
> All shared libraries are loaded.
> So, you mean this warning is not dangerous?
> 
> > > Warning in <TClass::TClass>: no dictionary for class StVertexId is available
> 
> Thank you very much,
> Victor
> 
> Rene Brun wrote:
> >
> > Hi Victor,
> >
> > enums are processed like integers.
> > You are likely reading your data with
> >  - an old version of ROOT
> >  - without the classes
> >
> > Anyhow, your data should be read correctly.
> >
> > Rene Brun
> >
> > Victor Perevoztchikov wrote:
> > >
> > > Hi Rene,
> > >
> > > reading STAR Data we see the following message:
> > >
> > > Warning in <TClass::TClass>: no dictionary for class StVertexId is available
> > > Warning in <TClass::TClass>: no dictionary for class StTrackModel is available
> > >
> > > These StVertexId and StTrackModel are not classes. They are enumerations.
> > > Do these messages mean, that these members are not read?
> > >
> > > Victor
> 
> --
> Victor M. Perevoztchikov   perev@bnl.gov  perev@vxcern.cern.ch
> Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000
> tel office : 631-344-7894; fax 631-344-4206; home 631-345-2690



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