Project

General

Profile

Support #1129

using xboa with Maus ROOT output

Added by Carlisle, Timothy over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
06 September 2012
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

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

Sim_6mm_1MeVc_1000mu_1e-08nsec_IV_none__t_.root (8.55 MB) Sim_6mm_1MeVc_1000mu_1e-08nsec_IV_none__t_.root Maus output Carlisle, Timothy, 06 September 2012 17:56
Plot.py (334 Bytes) Plot.py simple load script Carlisle, Timothy, 06 September 2012 17:56
Plot.py (339 Bytes) Plot.py Carlisle, Timothy, 07 September 2012 09:15
51xboa.bash (2.75 KB) 51xboa.bash Rogers, Chris, 07 September 2012 15:40
xboa-0.14.0.tar.gz.md5 (53 Bytes) xboa-0.14.0.tar.gz.md5 Rogers, Chris, 08 September 2012 08:35

Also available in: Atom PDF