Hi ,
I have root files in whic I have put objects of classes and vectors of classes that I have defined using rootcint and LinkDef.h
I have a problem with merging them.
I try this code for merging them:
{
TChain chain("t");
chain.Add("ttwh1.root");
chain.Add("ttwh2.root");
chain.Merge("out.root");
}
but it gives a lot of warning from TSreamerInfo and although finally
it produces the out.root it is not readable and this message appears
when tryig to read the content of out.root:
Warning in TStreamerInfo::BuildCheck:
The StreamerInfo of class myevent read from file majid.root
has the same version (=1) as the active class but a different checksum.
You should update the version to ClassDef(myevent,2).
Do not try to write objects with the current class definition,
the files will not be readable.
Is there any way to merge such root files whic do not have histo in them?
Thanks for any comment,
Majid