Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ErikHogenbirk/aaf11785ec8600389e2d561d31b046d5 to your computer and use it in GitHub Desktop.
Save ErikHogenbirk/aaf11785ec8600389e2d561d31b046d5 to your computer and use it in GitHub Desktop.
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-11-b0fa8b11a4d7> in <module>()
12 ],
13 trigger_data_special_path = '/project/lgrandi/xenon1t/trigger_monitor_data/Run{run_number:06}_trigmondata.zip',
---> 14 acquisition_monitor_special_path = '/project/lgrandi/xenon1t/acquisition_monitor_data/Run{run_number:06}_acqmondata.pickles'
15 )
/project/lgrandi/anaconda3/envs/pax_head/lib/python3.4/site-packages/hax-1.4.2-py3.4.egg/hax/__init__.py in init(filename, **kwargs)
67 import hax
68 hax.runs.update_datasets()
---> 69 hax.minitrees.update_treemakers()
70 hax.slow_control.init_sc_interface()
71
/project/lgrandi/anaconda3/envs/pax_head/lib/python3.4/site-packages/hax-1.4.2-py3.4.egg/hax/minitrees.py in update_treemakers()
129
130 # Import the module, after which we can do hax.treemakers.blah
--> 131 __import__('hax.treemakers.%s' % module_name, globals=globals())
132
133 # Now get all the treemakers defined in the module
/project/lgrandi/anaconda3/envs/pax_head/lib/ROOT.py in _importhook(name, *args, **kwds)
299 except Exception:
300 pass
--> 301 return _orig_ihook( name, *args, **kwds )
302
303 __builtin__.__import__ = _importhook
/project/lgrandi/anaconda3/envs/pax_head/lib/python3.4/site-packages/hax-1.4.2-py3.4.egg/hax/treemakers/MuonVetoTreemaker.py in <module>()
----> 1 class MuonVetoTreemaker(hax.minitrees.TreeMaker):
2 """Computing properties of the Muon Veto Events
3
4 This TreeMaker will ignore all TPC related events which are stored as objects of PAX classes like 'peaks' or 'interactions'.
5 It gets the information of the MV events from the array stored in events.all_hits as numpy dtype array similar to objects
NameError: name 'hax' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment