Public Member Functions | |
def | __init__ |
Standard Constructor. | |
def | execute |
the main excution method |
Definition at line 37 of file Aida2RootEx.py.
def Aida2RootEx::Aida2RootEx1::__init__ | ( | self, | ||
name = "Aida2RootEx1" | ||||
) |
Standard Constructor.
Definition at line 39 of file Aida2RootEx.py.
00039 : 00040 """ Standard Constructor """ 00041 HistoAlgo.__init__( self , name ) 00042 ## the main excution method
def Aida2RootEx::Aida2RootEx1::execute | ( | self | ) |
the main excution method
Definition at line 44 of file Aida2RootEx.py.
00044 : 00045 " The main excution method " 00046 00047 # list of booked histograms 00048 for path in paths : 00049 self.Print("AIDA object: '%s'" % path ) 00050 # get AIDA pointer 00051 aida = self.histoSvc( path ) 00052 if not aida : return self.Error ( "Invalid AIDA at '%s'" % path ) 00053 # explicitely convert to ROOT 00054 root = aida2root( aida ) 00055 if not root : return self.Error ( "Invalid conversion to ROOT '%s'" % path ) 00056 # use the native ROOT printout 00057 root.Print() 00058 00059 return SUCCESS 00060 # ============================================================================= 00061 00062 # ============================================================================= ## @class Aida2RootEx2