Usage: hadd [-f[0-9]] [-k] [-T] [-O] [-n maxopenedfiles] [-v verbosity] targetfile source1 [source2 source3 …]
This program will add histograms from a list of root files and write them
to a target root file. The target file is newly created and must not
exist, or if -f (“force”) is given, must not be one of the source files.
Supply at least two source files for this to make sense…
If the option -k is used, hadd will not exit on corrupt or non-existant input files but skip the offending files instead.
If the option -T is used, Trees are not merged
If the option -O is used, when merging TTree, the basket size is re-optimized
If the option -v is used, explicitly set the verbosity level; 0 request no output, 99 is the default
If the option -n is used, hadd will open at most ‘maxopenedfiles’ at once, use 0 to request to use the system maximum.
When -the -f option is specified, one can also specify the compression
level of the target file. By default the compression level is 1, but
if “-f0” is specified, the target file will not be compressed.
if “-f6” is specified, the compression level 6 will be used.
if Target and source files have different compression levels
a slower method is used
Error in TFile::ReadBuffer: error reading all requested bytes from file g4numiv6_minervame_me000z200iALL.root, got 0 of 94105
Error in TKey::ReadFile: Failed to read data.
Error R__unzip_header: error in header
R__unzip: error -5 in inflate (zlib)
Info in TFileMerger::MergeRecursive: could not read object for key {dk2nuTree, g4numi Neutrino ntuple}
my apologies but after hadd g4numiv6_minervame_me000z200iALL.root `ls g4numiv6_minervame_me000z200i_^ast.root commands, should I use this one: ls -al g4numiv6_minervame_me000z200iALL.root
Unfortunately, it did not work and these are the errors:
Error in TBasket::Streamer: The value of fKeylen is incorrect (-12469) ; trying to recover by setting it to zero
Error in TBasket::Streamer: The value of fObjlen is incorrect (-966485925) ; trying to recover by setting it to zero
Error in TBasket::Streamer: The value of fNbytes is incorrect (-293273683) ; trying to recover by setting it to zero
Error in TBasket::Streamer: The value of fObjlen is incorrect (-1007292795) ; trying to recover by setting it to zero
Error in TBasket::Streamer: The value of fNbytes is incorrect (-590605459) ; trying to recover by setting it to zero
*** glibc detected *** hadd: malloc(): memory corruption: 0x0000000002f2b040