Hello,
I tryed with latest master for the file that you kindly provided us and it works for the 6.15/01 and for example, for 6.10.08 (these releases have enabled the support of LZ4 compression algorithm and ROOT 6.15/01 is compressing files already using LZ4 as default compression, unless you will specify other algorithm to be used), but in the same time I am getting the same error as you for 6.10.04.
The reason is that 6.10.04 was a last release before 6.10.08 when ROOT was didn’t have even LZ4 support (https://root.cern.ch/doc/v610/release-notes.html#release-6.1008).
oksana@oksana-ThinkPad-E470:~/CERN_sources/root/builds$ root
-------------------------------------------------------------------
| Welcome to ROOT 6.15/01 http://root.cern.ch |
| (c) 1995-2018, The ROOT Team |
| Built for linuxx8664gcc |
| From heads/master@v6-13-04-272-g5a9eff4f9a, Jun 04 2018, 19:22:52 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
-------------------------------------------------------------------
root [0] TFile *_file0 = TFile::Open("~/Downloads/ttw_mc16a.root")
(TFile *) 0x5578a9b78860
oksana@oksana-ThinkPad-E470:~/CERN_sources/root/builds$ root
------------------------------------------------------------
| Welcome to ROOT 6.10/08 http://root.cern.ch |
| (c) 1995-2017, The ROOT Team |
| Built for linuxx8664gcc |
| From tag v6-10-08, 16 October 2017 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------
root [0] TFile *_file0 = TFile::Open("~/Downloads/ttw_mc16a.root")
Warning in <TClass::Init>: no dictionary for class ROOT::TIOFeatures is available
(TFile *) 0x21c0a50
oksana@oksana-ThinkPad-E470:~/CERN_sources/root/builds$ source /cvmfs/sft.cern.ch/lcg/app/releases/ROOT/6.10.04/x86_64-ubuntu16-gcc54-opt/root/bin/thisroot.sh
oksana@oksana-ThinkPad-E470:~/CERN_sources/root/builds$ root
------------------------------------------------------------
| Welcome to ROOT 6.10/04 http://root.cern.ch |
| (c) 1995-2017, The ROOT Team |
| Built for linuxx8664gcc |
| From tag v6-10-04, 28 July 2017 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------
root [0] TFile *_file0 = TFile::Open("~/Downloads/ttw_mc16a.root")
Error R__unzip_header: error in header
Info in <TFile::GetStreamerInfoList>: cannot find the StreamerInfo record in file /home/oksana/Downloads/ttw_mc16a.root
(TFile *) nullptr
My recommendations is to try to update a version of ROOT to be able to use at least 6.10.08.
Cheers,
Oksana.