| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Aida2RootEx::Aida2RootEx1 Class Reference

Simple algorithm which used aida2root utility. More...

List of all members.


Public Member Functions

def __init__
 Standard Constructor.
def execute
 the main excution method

Detailed Description

Simple algorithm which used aida2root utility.

Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2007-01-24

Definition at line 37 of file Aida2RootEx.py.


Member Function Documentation

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


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:59:39 2011 for GaudiExamples by doxygen 1.4.7