The Gaudi Framework  v36r1 (3e2fb5a8)
Aida2RootEx.Aida2RootEx1 Class Reference
Inheritance diagram for Aida2RootEx.Aida2RootEx1:
Collaboration diagram for Aida2RootEx.Aida2RootEx1:

Public Member Functions

def __init__ (self, name="Aida2RootEx1")
 
def execute (self)
 

Detailed Description

Definition at line 47 of file Aida2RootEx.py.

Constructor & Destructor Documentation

◆ __init__()

def Aida2RootEx.Aida2RootEx1.__init__ (   self,
  name = "Aida2RootEx1" 
)
Standard Constructor 

Definition at line 49 of file Aida2RootEx.py.

49  def __init__(self, name="Aida2RootEx1"):
50  """ Standard Constructor """
51  HistoAlgo.__init__(self, name)
52 

Member Function Documentation

◆ execute()

def Aida2RootEx.Aida2RootEx1.execute (   self)

Definition at line 54 of file Aida2RootEx.py.

54  def execute(self):
55  " The main execution method "
56 
57  # list of booked histograms
58  for path in paths:
59  self.Print("AIDA object: '%s'" % path)
60  # get AIDA pointer
61  aida = self.histoSvc(path)
62  if not aida:
63  return self.Error("Invalid AIDA at '%s'" % path)
64  # explicitly convert to ROOT
65  root = aida2root(aida)
66  if not root:
67  return self.Error("Invalid conversion to ROOT '%s'" % path)
68  # use the native ROOT printout
69  root.Print()
70 
71  return SUCCESS
72 
73 
74 # =============================================================================
75 
76 # =============================================================================
77 # @class Aida2RootEx2
78 # Simple algorithm which uses aida2root utility
79 # @author Vanya BELYAEV ibelyaev@physics.syr.edu
80 # @date 2007-01-24
81 
82 

The documentation for this class was generated from the following file:
GaudiPython.Pythonizations.execute
execute
Definition: Pythonizations.py:566
GaudiMP.GMPBase.aida2root
aida2root
Definition: GMPBase.py:67