Hello,
I am working on lxplus (platform slc4_amd64_gcc34) and am trying to merge 3 ROOT files using hadd. The ROOT files were made using v5.18/00. I do
hadd Bs2KPi_AllEvts.root Bs2KPi_95kevts_ProperSel.root Bs2KPi_27kevts_NewSample.root Bs2KPi_4kevts_FinalSample.root
and I get
Target file: Bs2KPi_AllEvts.root
Source file 1: Bs2KPi_95kevts_ProperSel.root
Source file 2: Bs2KPi_27kevts_NewSample.root
Source file 3: Bs2KPi_4kevts_FinalSample.root
Target path: Bs2KPi_AllEvts.root:/
Bs2KPi_95kevts_ProperSel.root tree:DecayChainNTuple entries=1234567890
Bs2KPi_27kevts_NewSample.root tree:DecayChainNTuple entries=1234567890
Bs2KPi_4kevts_FinalSample.root tree:DecayChainNTuple entries=1234567890
Fatal in TClass::: i==info->GetClassVersion() || (i==-1&&info->GetClassVersion()==1) violated at line 4428 of `meta/src/TClass.cxx’
aborting
(no debugging symbols found)
Using host libthread_db library “/lib64/tls/libthread_db.so.1”.
Attaching to program: /proc/25702/exe, process 25702
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
[Thread debugging using libthread_db enabled]
[New Thread 182933878048 (LWP 25702)]
0x0000003f0e28f9c4 in waitpid () from /lib64/tls/libc.so.6
#1 0x0000003f0e239bbf in do_system () from /lib64/tls/libc.so.6
#2 0x0000002a9579e88d in TUnixSystem::StackTrace ()
from /afs/cern.ch/sw/lcg/external/root/5.18.00/slc4_amd64_gcc34/root/lib/libCore.so
#3 0x0000002a956f3439 in DefaultErrorHandler ()
from /afs/cern.ch/sw/lcg/external/root/5.18.00/slc4_amd64_gcc34/root/lib/libCore.so
#4 0x0000002a956f38c4 in ErrorHandler ()
from /afs/cern.ch/sw/lcg/external/root/5.18.00/slc4_amd64_gcc34/root/lib/libCore.so
#5 0x0000002a95701cd2 in TObject::Fatal ()
from /afs/cern.ch/sw/lcg/external/root/5.18.00/slc4_amd64_gcc34/root/lib/libCore.so
#6 0x0000002a95779828 in TClass::FindStreamerInfo ()
from /afs/cern.ch/sw/lcg/external/root/5.18.00/slc4_amd64_gcc34/root/lib/libCore.so
#7 0x0000002a974a0218 in TTreeCloner::CopyStreamerInfos ()
from /afs/cern.ch/sw/lcg/external/root/5.18.00/slc4_amd64_gcc34/root/lib/libTree.so
#8 0x0000002a974a0839 in TTreeCloner::Exec ()
from /afs/cern.ch/sw/lcg/external/root/5.18.00/slc4_amd64_gcc34/root/lib/libTree.so
#9 0x0000002a974811e3 in TChain::Merge ()
from /afs/cern.ch/sw/lcg/external/root/5.18.00/slc4_amd64_gcc34/root/lib/libTree.so
#10 0x0000000000402fef in MergeRootfile ()
#11 0x00000000004040f0 in main ()
Abort
The target ROOT file is created, but is tiny (234 bytes) and has no keys.
As far as I can see the individual ROOT files are perfectly fine.
Does anyone know what is stopping hadd from working?
Thanks,
Laurence