The Gaudi Framework  v36r7 (7f57a304)
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 59 of file Aida2RootEx.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 61 of file Aida2RootEx.py.

61  def __init__(self, name="Aida2RootEx1"):
62  """Standard Constructor"""
63  HistoAlgo.__init__(self, name)
64 

Member Function Documentation

◆ execute()

def Aida2RootEx.Aida2RootEx1.execute (   self)

Definition at line 66 of file Aida2RootEx.py.

66  def execute(self):
67  "The main execution method"
68 
69  # list of booked histograms
70  for path in paths:
71  self.Print("AIDA object: '%s'" % path)
72  # get AIDA pointer
73  aida = self.histoSvc(path)
74  if not aida:
75  return self.Error("Invalid AIDA at '%s'" % path)
76  # explicitly convert to ROOT
77  root = aida2root(aida)
78  if not root:
79  return self.Error("Invalid conversion to ROOT '%s'" % path)
80  # use the native ROOT printout
81  root.Print()
82 
83  return SUCCESS
84 
85 
86 # =============================================================================
87 
88 # =============================================================================
89 # @class Aida2RootEx2
90 # Simple algorithm which uses aida2root utility
91 # @author Vanya BELYAEV ibelyaev@physics.syr.edu
92 # @date 2007-01-24
93 
94 

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