sys.stderr.write("It looks like you want to put %s in your LD_LIBRARY_PATH and PYTHONPATH shell variables.\n"%ROOTLIBDIR)
else:
sys.stderr.write("You should make sure that the directory containing libPyROOT and ROOT.py is in your LD_LIBRARY_PATH and PYTHONPATH shell variables.\n")
sys.stderr.write("You can test if PyROOT is properly set up by calling 'import ROOT' at the interactive Python shell\n")
sys.exit(1)
## TODO: replace with lighthisto
classHisto:
def__init__(self):
self._bins=[]
self.path=None
self.name=None
self.title=None
def__cmp__(self,other):
"""Sort by $path/$name string"""
returnself.fullPath()>other.fullPath()
def__str__(self):
out="Histogram '%s' with %d bins\n"%(self.fullPath(),self.numBins())