Hadd can't merge files successfully

Dear ROOT expert:

I tried to use hadd to merge two files in
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/
but it does not go on smoothly, no matter with ROOT 5.28 or ROOT 5.32:

[valtical04] /work/users/qing/dq2 > hadd test.root
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000233.root.1
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000234.root.1

Target file: test.root
Source file 1:
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000233.root.1
Warning in TClass::TClass: no dictionary for class AttributeListLayout
is available
Warning in TClass::TClass: no dictionary for class pair<string,string>
is available
Source file 2:
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000234.root.1
Target path: test.root:/
Cannot merge object type, name: TObject title: Basic ROOT object
Found subdirectory physicsMeta
Target path: test.root:/physicsMeta
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000233.root.1
tree:physicsMeta/BunchConfTree entries=1234567890
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000234.root.1
tree:physicsMeta/BunchConfTree entries=1234567890
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000233.root.1
tree:physicsMeta/TrigConfTree entries=1234567890
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000234.root.1
tree:physicsMeta/TrigConfTree entries=1234567890
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000233.root.1
tree:physicsMeta/CutFlowTree entries=1234567890
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000234.root.1
tree:physicsMeta/CutFlowTree entries=1234567890
Found subdirectory Lumi
Target path: test.root:/Lumi
Cannot merge object type, name: <?xml version="1.0"?>

<!--This

document is created by
GoodRunsListWriter.–>LumiBlocks_GoodDQ010luminosity_uniquegrlselector191933
title: Collectable string class
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000233.root.1
tree:CollectionTree entries=1234567890
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000234.root.1
tree:CollectionTree entries=1234567890
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000233.root.1
tree:physics entries=1234567890
data11_7TeV.00191933.physics_Muons.merge.NTUP_SMDILEP.f415_m1025_p833_tid622052_00/NTUP_SMDILEP.622052._000234.root.1
tree:physics entries=1234567890

Problem still exists after sourcing the ATLAS enviroment:

[valtical04] /work/users/qing/dq2 > export
AtlasSetup=/afs/cern.ch/atlas/software/dist/AtlasSetup
[valtical04] /work/users/qing/dq2 > source
/afs/cern.ch/atlas/software/dist/AtlasSetup/scripts/asetup.sh
17.3.1.1,AtlasProduction,setup,here

Any idea how to avoid such warnings or errors?

Cheers,Gang

Hi,

hadd needs to be able to load the library corresponding to the custom objects (and they would need to implement the Merge function in order to be mergeable) ; for this ATLAS would need to provide ‘rootmap’ files for its library.

You may also want to check whether the file where produce with a version of ROOT more recent than the one you are using.

Cheers,
Philippe.