The Gaudi Framework  v36r9 (fd2bdac3)
GaudiPython.GaudiAlgs.objectmethod Class Reference
Inheritance diagram for GaudiPython.GaudiAlgs.objectmethod:
Collaboration diagram for GaudiPython.GaudiAlgs.objectmethod:

Public Member Functions

def __init__ (self, m)
 
def __call__ (self, *args)
 

Public Attributes

 method
 

Detailed Description

Definition at line 929 of file GaudiAlgs.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiPython.GaudiAlgs.objectmethod.__init__ (   self,
  m 
)

Definition at line 930 of file GaudiAlgs.py.

930  def __init__(self, m):
931  self.method = m
932 

Member Function Documentation

◆ __call__()

def GaudiPython.GaudiAlgs.objectmethod.__call__ (   self,
args 
)

Definition at line 933 of file GaudiAlgs.py.

933  def __call__(self, *args):
934  print(args)
935  return self.method(*args)
936 
937 
938 GaudiAlgo._Base = _GaudiAlgorithm
939 HistoAlgo._Base = _GaudiHistoAlg
940 TupleAlgo._Base = _GaudiTupleAlg
941 
942 # initialize is 'unique' method :
943 GaudiAlgo.initialize = _initialize_
944 HistoAlgo.initialize = _initialize_histo_
945 TupleAlgo.initialize = _initialize_tuple_
946 
947 

Member Data Documentation

◆ method

GaudiPython.GaudiAlgs.objectmethod.method

Definition at line 931 of file GaudiAlgs.py.


The documentation for this class was generated from the following file:
Counter.__call__
__call__
Definition: Counter.py:42