I do not understand what you are trying to achieve. Your histograms are
correctly merged with the statement
Bool_t result = m.Merge();
but I have no idea of what you want to do with the code following this
statement.
Your input files contain a TList of histograms, but you loop on the
TKeys as if each histogram was a TKey.
Rene Brun
Yaxian Mao wrote:
> Dear Rene and all,
> I encounterd one problem when I try to merge two different root files by TFileMerger,
> which never happened before. After merging, all names of histograms in the root file
> are reseted by itself. I can not understand why, could somebody help me to solve this
> problem? Thanks very much!
> My root version is: v5-19-04
> Best regards,
> Yaxian
Received on Tue Jun 10 2008 - 08:40:31 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 10 2008 - 11:50:02 CEST