All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Algorithms/mac/example.py
Go to the documentation of this file.
1 import sys
2 from ROOT import gSystem
3 gSystem.Load("libOpFlashAna_Algorithms")
4 from ROOT import sample
5 
6 try:
7 
8  print "PyROOT recognized your class %s" % str(sample)
9 
10 except NameError:
11 
12  print "Failed importing Algorithms..."
13 
14 sys.exit(0)
15