Support #1129
using xboa with Maus ROOT output
100%
Description
I'm using filetype = maus_virtual_hit (same result with 'maus_primary'), and get the following error:
~/maus2/Harp python Plot.py Sim_6mm_1MeVc_1000mu_1e-08nsec_IV_none__t_.root
done
First loading the data...
Traceback (most recent call last):
File "Plot.py", line 14, in <module>
bunch_list = Bunch.new_list_from_read_builtin(filetype, filename)
File "/home/carlisle/maus2/devel_2/third_party/install/lib/python2.7/site-packages/xboa/Bunch.py", line 205, in new_list_from_read_builtin
bunch_dict = Bunch.new_dict_from_read_builtin(file_type_string, file_name, sort_variable)
File "/home/carlisle/maus2/devel_2/third_party/install/lib/python2.7/site-packages/xboa/Bunch.py", line 177, in new_dict_from_read_builtin
elif file_type_string.find('maus') > -1: bunch = Bunch.read_maus_file(file_name, list_of_maus_types=[file_type_string])
File "/home/carlisle/maus2/devel_2/third_party/install/lib/python2.7/site-packages/xboa/Bunch.py", line 331, in read_maus_file
raise IOError("Failed to parse json spill "+str(spill_index)+" in file "+file_name+"\n"+line)
IOError: Failed to parse json spill 0 in file Sim_6mm_1MeVc_1000mu_1e-08nsec_IV_none__t_.root
rootÏ
dÏ÷Ï[²▒ó1fø
á-£¾ï¾mFLµ2QdTFile/Sim_6mm_1MeVc_1000mu_1e-08nsec_IV_none__t_.root/Sim_6mm_1MeVc_1000mu_1e-08ns1føIV_none__t_.rootFLµ2FL¶¨dÏ
á-£¾ï®éìGËÔFL¶¦J"dTBasket_spillSpillGÌèGÌZÎûkÿÿÿxì½y8V_ÿ÷mç)sæ)ó<{¥RQ)Mf'2$CJQ(¡ÉT¦hvi2K¤"2æÙ¾W×u®KÝÇñÜÿüç>îöq¼Õ÷8_ßÏgíÏZkïµ×¹½3·m|°@kÌ7:ûîÚEcnÛXNCKæühXihè?▒'*¿ÆÒ:Ü+0Ð8NÒÐ▒PêgëB|ÜBöÑì ¡5l=éA|6va"#w¥ÎÛ>JÒÐTc
í©áSZµÁ(OùÞÁv4)ÜÿiBH±2äU
ÈcGç=`%²ÛÖZLü/Ìí¥a#ÄN'!.BÜñâ#ÄOH !!BË BD[i"$MH,!9B)R"¤LHÐ
What am I doing wrong? I understand the XBOA should burrow down into the ROOT file to locate the VirtualHits...
Thanks,
Tim
Files