Gaudi Framework, version v23r4

Home   Generated: Mon Sep 17 2012
Classes | Functions | Variables

GaudiPython::GaudiAlgs Namespace Reference

Classes

class  GaudiAlgo
 the base class for all algorithm Python-image of C++ clkass GaudiAlgorithm More...
class  HistoAlgo
 The base class for easy histogramming. More...
class  TupleAlgo
 The base class for easy manupulations with N-Tuples. More...
class  objectmethod

Functions

def _tool_
 Useful method to locate the tool a certain.
def _service_
 Useful method to locate a service:
def _init_
 The constructor from unique algorithm instance name,.
def _initialize_
 The default initialization (initialization of base C++ class + data.
def _initialize_histo_
 The default initialization (initialization of base C++ class + data members)
def _initialize_tuple_
 The default initialization (initialization of base C++ class + data members)
def _evtSvc
 Trivial helper function to access Event Data and Event Data Service.
def _detSvc
 Trivial helper function to access Detector Data and Detector Data Service.
def _histoSvc
 Trivial helper function to access Histogram Data and Histogram Data Service.
def _get
 Trivial function to access the data in TES.
def _getDet
 Trivial function to access the data in TDS.
def _get_
 get the data from TES using GaudiCommon methods, respecting RootInTES
def _exist_
 check the data from TES using GaudiCommon methods, respecting RootInTES
def _ntupleSvc
 Trivial helper function to access NTuple Service.
def _evtcolSvc
 Trivial helper function to access Event Collection Service.
def _finalize_
 The default finalization (finalization of base C++ class)
def _success_
 Dummy method returning success.
def _hasProperty_
 check the existence of the property with the given name
def _getProperty_
 get the value of the given property
def _setProperty_
 set the value for the given property
def _get_attr_
 get the attribute or property
def _set_attr_
 set the attribute or property
def _start_
def _execute_
def _stop_
def _plot1D_
def _plot2D_
def _plot3D_
def _profile1D_
def _profile2D_
def _decorate_plots_
def _nTuple_
def _evtCol_
def _decorate_tuples_
def _t_nTuple_
def _t_ntuple_
def _t_valid_
def _t_write_
def _t_column_
def _t_column_ll_
def _t_column_ull_
def _t_array_
def _t_matrix_
def _t_farray_
def _t_fmatrix_
def _decorate_algs_
def mapvct
def _get_all_tools_
def _Tools_a_
def _Tools_t_
def _get_all_counters_
 get all counters
def _Counters_a_
 get all counters
def _Counters_t_
def _get_counter_
def _Counter_a_
def _Counter_t_
def _get_all_histos_
def _Histos_a_
def _Histos_t_
def _help_

Variables

string __author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr'
tuple __all__
 iAlgorithm = GaudiPython.Bindings.iAlgorithm
 The basic module.
 iAlgTool = GaudiPython.Bindings.iAlgTool
 std = cpp.std
 AIDA -> ROTO converter ============================================================================= std C++ namespace.
tuple Vector = std.vector('double')
 "typedef" for GaudiPython::Vector
tuple Matrix = std.vector('std::vector<double>')
 "typedef" for GaudiPython::Matrix
 HID = cpp.GaudiAlg.ID
 histogram and N-Tuple universal identifier
 HistoID = HID
 TID = HID
 TupleID = TID
 AlgDecorator = cpp.GaudiPython.AlgDecorator
 get the decorator:
 HistoDecorator = cpp.GaudiPython.HistoDecorator
 TupleAlgDecorator = cpp.GaudiPython.TupleAlgDecorator
 TupleDecorator = cpp.GaudiPython.TupleDecorator
tuple _GaudiAlgorithm = cpp.GaudiPython.PyAlg( 'GaudiAlgorithm' )
tuple _GaudiHistoAlg = cpp.GaudiPython.PyAlg( 'GaudiHistoAlg' )
tuple _GaudiTupleAlg = cpp.GaudiPython.PyAlg( 'GaudiTupleAlg' )
 Tuple = cpp.Tuples.Tuple
 _Dec = TupleDecorator
dictionary _alg_map_
 _evtSvc_
 _detSvc_
 _histoSvc_
 _ntupleSvc_
 _evtcolSvc_

Function Documentation

def GaudiPython::GaudiAlgs::_Counter_a_ (   self,
  name 
) [private]
Retrieve the counter managed GaudiCommon<TYPE> base by name:

>>> alg  = ...                     ## get the algorithm
>>> cnt  = alg.Counter('#accept')  ## get the counter
>>> print cnt

Definition at line 1306 of file GaudiAlgs.py.

01307                                 :
01308     """
01309     Retrieve the counter managed GaudiCommon<TYPE> base by name:
01310 
01311     >>> alg  = ...                     ## get the algorithm
01312     >>> cnt  = alg.Counter('#accept')  ## get the counter
01313     >>> print cnt
01314 
01315     """
01316     _cmp  = getattr ( self , '_ialg' )
01317     if not _cmp : self.retrieveInterface()
01318     _cmp  = getattr ( self , '_ialg' )
01319     return _get_counter_ ( _cmp , '_counter_a_' , name )
# ==============================================================================
def GaudiPython::GaudiAlgs::_Counter_t_ (   self,
  name 
) [private]
Retrieve the counter managed GaudiCommon<TYPE> base by name:

>>> tool = ...                      ## get the tool
>>> cnt  = tool.Counter('#accept')  ## get the counter
>>> print cnt

Definition at line 1320 of file GaudiAlgs.py.

01321                                 :
01322     """
01323     Retrieve the counter managed GaudiCommon<TYPE> base by name:
01324 
01325     >>> tool = ...                      ## get the tool
01326     >>> cnt  = tool.Counter('#accept')  ## get the counter
01327     >>> print cnt
01328 
01329     """
01330     _cmp  = getattr ( self , '_itool' )
01331     if not _cmp : self.retrieveInterface()
01332     _cmp  = getattr ( self , '_itool' )
01333     return _get_counter_ ( _cmp , '_counter_t_' , name )
01334 
01335 # =============================================================================
01336 # get all histos
01337 # =============================================================================
01338 cpp.GaudiAlg.ID .__repr__ = cpp.GaudiAlg.ID.idAsString
01339 cpp.GaudiAlg.ID . __str__ = cpp.GaudiAlg.ID.idAsString
01340 cpp.StatEntity  .__repr__ = cpp.StatEntity.toString
01341 cpp.StatEntity  . __str__ = cpp.StatEntity.toString
# =============================================================================
def GaudiPython::GaudiAlgs::_Counters_a_ (   self,
  name = None 
) [private]

get all counters

Retrieve the counters, managed GaudiCommon<TYPE> base:

>>> alg  = ...             ## get the algorithm
>>> cnts = alg.Counters()  ## get the counters
>>> for key in cnts :
...        print key, cnts[key]


Retrieve the counter, managed GaudiCommon<TYPE> base by name:

>>> alg = ...                        ## get the algorithm
>>> cnt = alg.Counters('MyCounter')  ## get the counter
>>> print cnt

Definition at line 1253 of file GaudiAlgs.py.

01254                                         :
01255     """
01256     Retrieve the counters, managed GaudiCommon<TYPE> base:
01257 
01258     >>> alg  = ...             ## get the algorithm
01259     >>> cnts = alg.Counters()  ## get the counters
01260     >>> for key in cnts :
01261     ...        print key, cnts[key]
01262 
01263 
01264     Retrieve the counter, managed GaudiCommon<TYPE> base by name:
01265 
01266     >>> alg = ...                        ## get the algorithm
01267     >>> cnt = alg.Counters('MyCounter')  ## get the counter
01268     >>> print cnt
01269 
01270     """
01271     _cmp  = getattr ( self , '_ialg' )
01272     if not _cmp : self.retrieveInterface()
01273     _cmp  = getattr ( self , '_ialg' )
01274     return _get_all_counters_ ( _cmp , '_counters_a_' , name )
# =============================================================================
def GaudiPython::GaudiAlgs::_Counters_t_ (   self,
  name = None 
) [private]
Retrieve the counters, managed GaudiCommon<TYPE> base:

>>> tool = ...              ## get the tool
>>> cnts = tool.Counters()  ## get the counters
>>> for key in cnts :
...        print key, cnts[key]


Retrieve the counter, managed GaudiCommon<TYPE> base by name:

>>> tool = ...                         ## get the tool
>>> cnt  = tool.Counters('MyCounter')  ## get the counter
>>> print cnt

Definition at line 1275 of file GaudiAlgs.py.

01276                                         :
01277     """
01278     Retrieve the counters, managed GaudiCommon<TYPE> base:
01279 
01280     >>> tool = ...              ## get the tool
01281     >>> cnts = tool.Counters()  ## get the counters
01282     >>> for key in cnts :
01283     ...        print key, cnts[key]
01284 
01285 
01286     Retrieve the counter, managed GaudiCommon<TYPE> base by name:
01287 
01288     >>> tool = ...                         ## get the tool
01289     >>> cnt  = tool.Counters('MyCounter')  ## get the counter
01290     >>> print cnt
01291 
01292     """
01293     _cmp  = getattr ( self , '_itool' )
01294     if not _cmp : self.retrieveInterface()
01295     _cmp  = getattr ( self , '_itool' )
01296     return _get_all_counters_ ( _cmp , '_counters_t_' , name )
01297 # =============================================================================
01298 # get the counter
# =============================================================================
def GaudiPython::GaudiAlgs::_decorate_algs_ (   klasses ) [private]

Definition at line 1148 of file GaudiAlgs.py.

01149                                 :
01150     t = type( klasses )
01151     if not issubclass ( t , list  ) and  \
01152        not issubclass ( t , tuple ) : klasses = [ klasses ]
01153     for _alg in klasses :
01154         for key in _alg_map_ : setattr( _alg , key , _alg_map_[key] )
01155 
# =
def GaudiPython::GaudiAlgs::_decorate_plots_ (   klasses ) [private]

Definition at line 989 of file GaudiAlgs.py.

00990                                  :
00991     t = type( klasses )
00992     if not issubclass ( t , list  ) and  \
00993        not issubclass ( t , tuple ) : klasses = [ klasses ]
00994     for klass in klasses :
00995         klass .plot       = _plot1D_
00996         klass .plot1D     = _plot1D_
00997         klass .plot2D     = _plot2D_
00998         klass .plot3D     = _plot3D_
00999         klass .profile1D  = _profile1D_
01000         klass .profile2D  = _profile2D_

def GaudiPython::GaudiAlgs::_decorate_tuples_ (   klasses ) [private]

Definition at line 1021 of file GaudiAlgs.py.

01022                                   :
01023     t = type( klasses )
01024     if not issubclass ( t , list  ) and  \
01025        not issubclass ( t , tuple ) : klasses = [ klasses ]
01026     for klass in klasses :
01027         klass . nTuple    = _nTuple_
01028         klass . evtCol    = _evtCol_
01029         klass . ntupleSvc = _ntupleSvc
01030         klass .  tupleSvc = _ntupleSvc
01031         klass .   ntupSvc = _ntupleSvc
01032         klass .    tupSvc = _ntupleSvc
01033         klass . evtColSvc = _evtcolSvc
01034         klass . evtcolSvc = _evtcolSvc
01035 
# ==========================================================
def GaudiPython::GaudiAlgs::_detSvc (   self ) [private]

Trivial helper function to access Detector Data and Detector Data Service.

Usage:

    # get detector data service
    svc = self.detSvc()

    # get the data
    lhcb = self.detSvc('/dd/Structure/LHCb')
Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
Trivial helper function to access Detector Data and Event Data Service

Usage:
# get detector data service
svc = self.detSvc()

# get the data
lhcb = self.detSvc('/dd/Structure/LHCb')

Definition at line 324 of file GaudiAlgs.py.

00325                        :
00326     """
00327     Trivial helper function to access Detector Data and Event Data Service
00328 
00329     Usage:
00330     # get detector data service
00331     svc = self.detSvc()
00332 
00333     # get the data
00334     lhcb = self.detSvc('/dd/Structure/LHCb')
00335     """
00336     if not location :
00337         return self._detSvc_
00338     return self._detSvc_[location]
00339 
# =============================================================================
def GaudiPython::GaudiAlgs::_evtCol_ (   s,
  a 
) [private]
Retrieve (book-on-demand) N-Tuple object for Event Tag Collections

Definition at line 1012 of file GaudiAlgs.py.

01013                          :
01014     """
01015     Retrieve (book-on-demand) N-Tuple object for Event Tag Collections
01016     """
01017     return TupleAlgDecorator.evtCol ( s , *a )
01018 
01019 _nTuple_.__doc__  += '\n' + TupleAlgDecorator.nTuple.__doc__
01020 _evtCol_.__doc__  += '\n' + TupleAlgDecorator.evtCol.__doc__

def GaudiPython::GaudiAlgs::_evtcolSvc (   self ) [private]

Trivial helper function to access Event Collection Service.

Trivial function to access Event Collection Service

Definition at line 414 of file GaudiAlgs.py.

00415                         :
00416     """
00417     Trivial function to access Event Collection Service
00418     """
00419     return self._evtcolSvc_
00420 
00421 
# =============================================================================
def GaudiPython::GaudiAlgs::_evtSvc (   self,
  location = None 
) [private]

Trivial helper function to access Event Data and Event Data Service.

Usage:

    # get event data service
    svc = self.evtSvc()

    # get the data
    hits = self.evtSvc('MC/Calo/Hits')
Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
Trivial helper function to access Event Data and Event Data Service

Usage:

# get event data service
svc = self.evtSvc()

# get the data
hits = self.evtSvc('MC/Calo/Hits')

Definition at line 291 of file GaudiAlgs.py.

00292                                          :
00293     """
00294     Trivial helper function to access Event Data and Event Data Service
00295 
00296     Usage:
00297 
00298     # get event data service
00299     svc = self.evtSvc()
00300 
00301     # get the data
00302     hits = self.evtSvc('MC/Calo/Hits')
00303     """
00304     if not location :
00305         return self._evtSvc_
00306     return self._evtSvc_[location]
00307 
# =============================================================================
def GaudiPython::GaudiAlgs::_execute_ (   self ) [private]
The fictive 'execute' method, which MUST be overwitten by user

Definition at line 858 of file GaudiAlgs.py.

00859                        :
00860     """
00861     The fictive 'execute' method, which MUST be overwitten by user
00862     """
00863     raise RuntimeError, 'Execute method is not implemented for %s' % self.name()
00864 
00865 GaudiAlgo.execute = _execute_
00866 HistoAlgo.execute = _execute_
00867 TupleAlgo.execute = _execute_

def GaudiPython::GaudiAlgs::_exist_ (   self,
  location,
  rootInTES = True 
) [private]

check the data from TES using GaudiCommon methods, respecting RootInTES

Check  the object in Transient Event Store using GaudiCommon machinery,
respecting RootInTES behaviour 

Definition at line 397 of file GaudiAlgs.py.

00398                                                    :
00399     """
00400     Check  the object in Transient Event Store using GaudiCommon machinery,
00401     respecting RootInTES behaviour 
00402     """
00403     return AlgDecorator.exist_ ( self , location  , rootInTES )
00404 
# =============================================================================
def GaudiPython::GaudiAlgs::_finalize_ (   self ) [private]

The default finalization (finalization of base C++ class)

The default finalization : finalize the base C++ class

Definition at line 423 of file GaudiAlgs.py.

00424                           :
00425     """
00426     The default finalization : finalize the base C++ class
00427     """
00428     status = self._Base.finalize_  ( self )
00429     return status
# =============================================================================
def GaudiPython::GaudiAlgs::_get (   self,
  location 
) [private]

Trivial function to access the data in TES.

Trivial function to access the data in TES using the data service

Definition at line 373 of file GaudiAlgs.py.

00374                                   :
00375     """
00376     Trivial function to access the data in TES using the data service
00377     """
00378     return self._evtSvc_[location]
00379 
# =============================================================================
def GaudiPython::GaudiAlgs::_get_ (   self,
  location,
  rootInTES = True 
) [private]

get the data from TES using GaudiCommon methods, respecting RootInTES

Get the object from Transient Event Store using GaudiCommon machinery,
respecting RootInTES behaviour 

Definition at line 389 of file GaudiAlgs.py.

00390                                                   :
00391     """
00392     Get the object from Transient Event Store using GaudiCommon machinery,
00393     respecting RootInTES behaviour 
00394     """
00395     return AlgDecorator.get_ ( self , location  , rootInTES )
# =============================================================================
def GaudiPython::GaudiAlgs::_get_all_counters_ (   self,
  method,
  name = None 
) [private]

get all counters

get all counters

Definition at line 1234 of file GaudiAlgs.py.

01235                                                        :
01236     """
01237     get all counters
01238     """
01239     _cnts = std.vector('const StatEntity*')()
01240     _nams = std.vector('std::string')      ()
01241     _func = getattr ( AlgDecorator , method )
01242     _num  = _func   ( self , _nams , _cnts )
01243     if _nams.size() != _num or _cnts.size() != _num  :
01244         raise RuntimeError, 'Unable to extract Counters'
01245     _res = {}
01246     for _i in range(0,_num) :
01247         _nam = _nams[_i]
01248         _cnt = _cnts[_i]
01249         _res [ _nam ] = _cnt
01250     if not name : return _res
01251     return _res.get( name , None )
# =============================================================================
def GaudiPython::GaudiAlgs::_get_all_histos_ (   component,
  method,
  name 
) [private]
Get All histogram form the component

Definition at line 1342 of file GaudiAlgs.py.

01343                                                     :
01344     """
01345     Get All histogram form the component
01346     """
01347     _res = {}
01348     for _his in (  std.vector('AIDA::IProfile2D*'   ) ,
01349                    std.vector('AIDA::IProfile1D*'   ) ,
01350                    std.vector('AIDA::IHistogram3D*' ) ,
01351                    std.vector('AIDA::IHistogram2D*' ) ,
01352                    std.vector('AIDA::IHistogram1D*' ) ) :
01353         _his = _his()
01354         _ids = std.vector('GaudiAlg::ID')     ()
01355         _fun = getattr ( HistoDecorator , method )
01356         _num = _fun ( component , _ids , _his )
01357         if _ids.size() != _num or _his.size() != _num  :
01358             raise RuntimeError, 'Unable to extract Histos!'
01359         for _i in range(0,_num) :
01360             _id = _ids[ _i ]
01361             if   _id.numeric() : _id = _id.numericID  ()
01362             elif _id.literal() : _id = _id.literalID  ()
01363             else               : _id = _is.idAsString ()
01364             _res [ _id ] = _his[ _i ]
01365 
01366     if not name : return _res                          ## return the dictionary
01367 
01368     id = cpp.GaudiAlg.ID ( name ) 
01369     for i in ( name            ,
01370                id.literalID () ,
01371                id.numericID () ,
01372                id.idAsString() , id  ) :
01373         h = _res.get( i , None  )
01374         if not not h : return h   ## return the histogram
01375         
01376     return None
# =============================================================================
def GaudiPython::GaudiAlgs::_get_all_tools_ (   self,
  method 
) [private]
Get all tools

Definition at line 1184 of file GaudiAlgs.py.

01185                                       :
01186     """
01187     Get all tools
01188     """
01189     _tools = std.vector('IAlgTool*')()
01190     _func  = getattr ( AlgDecorator , method )
01191     _num   = _func ( self , _tools )
01192     if _tools.size() != _num :
01193         raise RuntimeError, 'Unable to extract Tools'
01194     _res = []
01195     for _tool in _tools : _res += [ iAlgTool ( _tool.name() , _tool ) ]
01196     return _res
# =============================================================================
def GaudiPython::GaudiAlgs::_get_attr_ (   self,
  pname 
) [private]

get the attribute or property

Get the attribute (or property)
- if the attribute name corresponds to the property name, property value is returned

Definition at line 464 of file GaudiAlgs.py.

00465                                 :
00466     """
00467     Get the attribute (or property)
00468     - if the attribute name corresponds to the property name, property value is returned
00469     """
00470     if self.hasProperty( pname ) :
00471         return iAlgorithm.__getattr__ ( self , pname )
00472     raise AttributeError, 'attribute/property %s does not exist' % pname
00473 
# =============================================================================
def GaudiPython::GaudiAlgs::_get_counter_ (   self,
  method,
  name 
) [private]
get the counter

Definition at line 1299 of file GaudiAlgs.py.

01300                                            :
01301     """
01302     get the counter
01303     """
01304     _func = getattr ( AlgDecorator , method )
01305     return _func ( self , name )
# ==============================================================================
def GaudiPython::GaudiAlgs::_getDet (   self,
  location 
) [private]

Trivial function to access the data in TDS.

Trivial function to access the data in TDS using data service

Definition at line 381 of file GaudiAlgs.py.

00382                                   :
00383     """
00384     Trivial function to access the data in TDS using data service
00385     """
00386     return self._detSvc_[location]
00387 
# =============================================================================
def GaudiPython::GaudiAlgs::_getProperty_ (   self,
  pname 
) [private]

get the value of the given property

Get the property by name

Definition at line 444 of file GaudiAlgs.py.

00445                                    :
00446     """
00447     Get the property by name
00448     """
00449     if not self.hasProperty( pname ) :
00450         raise AttributeError, 'property %s does not exist' % pname
00451     return iAlgorithm.__getattr__( self , pname )
00452 
# =============================================================================
def GaudiPython::GaudiAlgs::_hasProperty_ (   self,
  pname 
) [private]

check the existence of the property with the given name

The trivial function which checks the existence of the property with given name

Definition at line 436 of file GaudiAlgs.py.

00437                                    :
00438     """
00439     The trivial function which checks the existence of the property with given name
00440     """
00441     return cpp.Gaudi.Utils.hasProperty ( self , pname )
00442 
# =============================================================================
def GaudiPython::GaudiAlgs::_help_ (  ) [private]

Definition at line 1445 of file GaudiAlgs.py.

01446              :
01447     print __doc__ , __author__
01448     print '\t\t\tDoc-string for class GaudiAlgo \n' , GaudiAlgo.__doc__
01449     print '\t\t\tDoc-string for class HistoAlgo \n' , HistoAlgo.__doc__
01450     print '\t\t\tDoc-string for class TupleAlgo \n' , TupleAlgo.__doc__
01451 
01452 # =============================================================================
01453 # pseudo-test suite
# =============================================================================
def GaudiPython::GaudiAlgs::_Histos_a_ (   self,
  name = None 
) [private]
Retrieve all histograms & profiles, booked through GauydiHistos<TYPE> base:

>>> alg = ...              ## get the algorithm
>>> histos = alg.Histos()  ## get all histograms & profiles
>>> for key in histos :
...        print key, histos[key]

Retrive the histogram with the certain ID :

>>> alg = ...                           ## get the algorithm
>>> histo = alg.Histos('some histo ID') ## get the histo by ID
>>> print histo

Definition at line 1377 of file GaudiAlgs.py.

01378                                       :
01379     """
01380     Retrieve all histograms & profiles, booked through GauydiHistos<TYPE> base:
01381 
01382     >>> alg = ...              ## get the algorithm
01383     >>> histos = alg.Histos()  ## get all histograms & profiles
01384     >>> for key in histos :
01385     ...        print key, histos[key]
01386 
01387     Retrive the histogram with the certain ID :
01388 
01389     >>> alg = ...                           ## get the algorithm
01390     >>> histo = alg.Histos('some histo ID') ## get the histo by ID
01391     >>> print histo
01392 
01393     """
01394     _cmp  = getattr ( self , '_ialg' )
01395     if not _cmp : self.retrieveInterface()
01396     _cmp  = getattr ( self , '_ialg' )
01397     return _get_all_histos_ ( _cmp , '_histos_a_' , name )
# =============================================================================
def GaudiPython::GaudiAlgs::_Histos_t_ (   self,
  name = None 
) [private]
Retrieve all histograms & profiles, booked through GauydiHistos<TYPE> base:

>>> tool = ...              ## get the tool
>>> histos = tool.Histos()  ## get all histograms & profiles
>>> for key in histos :
...        print key, histos[key]

Retrive the historgam with certain ID :

>>> tool = ...                           ## get the tool
>>> histo = tool.Histos('some histo ID') ## get the histo by ID
>>> print histo

Definition at line 1398 of file GaudiAlgs.py.

01399                                       :
01400     """
01401     Retrieve all histograms & profiles, booked through GauydiHistos<TYPE> base:
01402 
01403     >>> tool = ...              ## get the tool
01404     >>> histos = tool.Histos()  ## get all histograms & profiles
01405     >>> for key in histos :
01406     ...        print key, histos[key]
01407 
01408     Retrive the historgam with certain ID :
01409 
01410     >>> tool = ...                           ## get the tool
01411     >>> histo = tool.Histos('some histo ID') ## get the histo by ID
01412     >>> print histo
01413 
01414     """
01415     _cmp  = getattr ( self , '_itool' )
01416     if not _cmp : self.retrieveInterface()
01417     _cmp  = getattr ( self , '_itool' )
01418     return _get_all_histos_ ( _cmp , '_histos_t_' , name )
01419 # =============================================================================
01420 

def GaudiPython::GaudiAlgs::_histoSvc (   self,
  address = None 
) [private]

Trivial helper function to access Histogram Data and Histogram Data Service.

Usage:

    # get histogram data service
    svc = self.histoSvc()

    # get the data
    histo = self.histoSvc('/stat/Calo/1')
Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
Trivial helper function to access Histogram  Data and Histogram  Data Service

Usage:

# get histogram data service
svc = self.histoSvc()

# get the data
histo = self.histoSvc('/stat/Calo/1')

Definition at line 356 of file GaudiAlgs.py.

00357                                          :
00358     """
00359     Trivial helper function to access Histogram  Data and Histogram  Data Service
00360 
00361     Usage:
00362 
00363     # get histogram data service
00364     svc = self.histoSvc()
00365 
00366     # get the data
00367     histo = self.histoSvc('/stat/Calo/1')
00368     """
00369     if not address : return self._histoSvc_
00370     return self._histoSvc_[ address ]
00371 
# =============================================================================
def GaudiPython::GaudiAlgs::_init_ (   self,
  name,
  args 
) [private]

The constructor from unique algorithm instance name,.

Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
The constructor from unique algorithm instance name & parameters

Definition at line 190 of file GaudiAlgs.py.

00191                                     :
00192     """
00193     The constructor from unique algorithm instance name & parameters
00194     """
00195     self._Base.__init__( self , self , name )
00196     appMgr = AppMgr()
00197     algMgr = appMgr._algmgr
00198     status = algMgr.addAlgorithm( self )
00199     if status.isFailure() :
00200         raise RuntimeError, 'Unable to add Algorithm "' + name + '"'
00201     iAlgorithm.__init__ ( self , name , self )
00202     for key in args : setattr ( self , key , args[key] )
00203     # take some care about the ownership of the algorithms
00204     if not appMgr.__dict__.has_key ( 'GaudiPythonAlgos') :
00205         appMgr.__dict__[ 'GaudiPythonAlgos'] = []
00206     appMgr.__dict__[ 'GaudiPythonAlgos'].append( self ) 
00207 
# =============================================================================
def GaudiPython::GaudiAlgs::_initialize_ (   self ) [private]

The default initialization (initialization of base C++ class + data.

Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
The default initialization (initialization of base C++ class + data)

Definition at line 212 of file GaudiAlgs.py.

00213                           :
00214     """
00215     The default initialization (initialization of base C++ class + data)
00216     """
00217     status = self._Base.initialize_( self )
00218     if status.isFailure() : return status
00219 
00220     # set the basic services
00221     _e = self._Base.evtSvc( self )
00222     _s = InterfaceCast(cpp.IService)(_e)
00223     self._evtSvc_ = iDataSvc ( _s.name() , _e )
00224 
00225     _d = self._Base.detSvc( self )
00226     _s = InterfaceCast(cpp.IService)(_d)
00227     self._detSvc_ = iDataSvc ( _s.name() , _d )
00228 
00229     return status
00230 
# =============================================================================
def GaudiPython::GaudiAlgs::_initialize_histo_ (   self ) [private]

The default initialization (initialization of base C++ class + data members)

Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
The default initialization (initialization of base C++ class + data members)

Definition at line 235 of file GaudiAlgs.py.

00236                                 :
00237     """
00238     The default initialization (initialization of base C++ class + data members)
00239     """
00240     status = _initialize_( self )
00241     if status.isFailure() : return status
00242 
00243     # set the basic services
00244     _h = self._Base.histoSvc( self )
00245     _s = InterfaceCast(cpp.IService)(_h)
00246     self._histoSvc_ = iHistogramSvc ( _s.name() , _h )
00247 
00248     return status
00249 
# =============================================================================
def GaudiPython::GaudiAlgs::_initialize_tuple_ (   self ) [private]

The default initialization (initialization of base C++ class + data members)

Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
The default initialization (initialization of base C++ class + data members)

Definition at line 254 of file GaudiAlgs.py.

00255                                 :
00256     """
00257     The default initialization (initialization of base C++ class + data members)
00258     """
00259     status = _initialize_histo_( self )
00260     if status.isFailure() : return status
00261 
00262     # set the basic services
00263     if self.produceNTuples() :
00264         _n = self._Base.ntupleSvc( self )
00265         _s = InterfaceCast(cpp.IService)(_n)
00266         self._ntupleSvc_ = iNTupleSvc ( _s.name() , _n )
00267 
00268     if self.produceEvtCols() :
00269         _n = self._Base.evtColSvc( self )
00270         _s = InterfaceCast(cpp.IService)(_n)
00271         self._evtcolSvc_ = iNTupleSvc ( _s.name() , _n )
00272 
00273     return status
00274 
# =============================================================================
def GaudiPython::GaudiAlgs::_nTuple_ (   s,
  a 
) [private]
Retrieve (book-on-demand) N-Tuple object

Definition at line 1006 of file GaudiAlgs.py.

01007                          :
01008     """
01009     Retrieve (book-on-demand) N-Tuple object
01010     """
01011     return TupleAlgDecorator.nTuple ( s , *a )
# =============================================================================
def GaudiPython::GaudiAlgs::_ntupleSvc (   self ) [private]

Trivial helper function to access NTuple Service.

Trivial function to access N-Tuple Service

Definition at line 406 of file GaudiAlgs.py.

00407                         :
00408     """
00409     Trivial function to access N-Tuple Service
00410     """
00411     return self._ntupleSvc_
00412 
# =============================================================================
def GaudiPython::GaudiAlgs::_plot1D_ (   s,
  a 
) [private]
The basic method to fill (book-on-demand) 1D-histogram

The histogram will be created/booked dautomatically according to the
specifications:

   - literal or numerical ID (optional)
   - title
   - low edge
   - high edge
   - number of bins (default is 100)

The reference to the histogram is returned and could be used for later manipulations

Definition at line 880 of file GaudiAlgs.py.

00881                           :
00882     """
00883     The basic method to fill (book-on-demand) 1D-histogram
00884 
00885     The histogram will be created/booked dautomatically according to the
00886     specifications:
00887 
00888        - literal or numerical ID (optional)
00889        - title
00890        - low edge
00891        - high edge
00892        - number of bins (default is 100)
00893 
00894     The reference to the histogram is returned and could be used for later manipulations
00895 
00896     """
00897     return HistoDecorator.plot1D    (s,*a)
# =============================================================================
def GaudiPython::GaudiAlgs::_plot2D_ (   s,
  a 
) [private]
The basic method to fill (book-on-demand) 2D-histogram

The histogram will be created/booked dautomatically according to the
specifications:

   - literal or numerical ID (optional)
   - title
   - low X-edge
   - high X-edge
   - low Y-edge
   - high Y-edge
   - number of X-bins (default is 50)
   - number of Y-bins (default is 50)

The reference to the histogram is returned and could be used for later manipulations

Definition at line 898 of file GaudiAlgs.py.

00899                           :
00900     """
00901     The basic method to fill (book-on-demand) 2D-histogram
00902 
00903     The histogram will be created/booked dautomatically according to the
00904     specifications:
00905 
00906        - literal or numerical ID (optional)
00907        - title
00908        - low X-edge
00909        - high X-edge
00910        - low Y-edge
00911        - high Y-edge
00912        - number of X-bins (default is 50)
00913        - number of Y-bins (default is 50)
00914 
00915     The reference to the histogram is returned and could be used for later manipulations
00916 
00917     """
00918     return HistoDecorator.plot2D    (s,*a)
# =============================================================================
def GaudiPython::GaudiAlgs::_plot3D_ (   s,
  a 
) [private]
The basic method to fill (book-on-demand) 3D-histogram

The histogram will be created/booked dautomatically according to the
specifications:

   - literal or numerical ID (optional)
   - title
   - low X-edge
   - high X-edge
   - low Y-edge
   - high Y-edge
   - low Z-edge
   - high Z-edge
   - number of X-bins (default is 10)
   - number of Y-bins (default is 10)
   - number of Y-bins (default is 10)

The reference to the histogram is returned and could be used for later manipulations

Definition at line 919 of file GaudiAlgs.py.

00920                           :
00921     """
00922     The basic method to fill (book-on-demand) 3D-histogram
00923 
00924     The histogram will be created/booked dautomatically according to the
00925     specifications:
00926 
00927        - literal or numerical ID (optional)
00928        - title
00929        - low X-edge
00930        - high X-edge
00931        - low Y-edge
00932        - high Y-edge
00933        - low Z-edge
00934        - high Z-edge
00935        - number of X-bins (default is 10)
00936        - number of Y-bins (default is 10)
00937        - number of Y-bins (default is 10)
00938 
00939     The reference to the histogram is returned and could be used for later manipulations
00940 
00941     """
00942     return HistoDecorator.plot3D    (s,*a)
# =============================================================================
def GaudiPython::GaudiAlgs::_profile1D_ (   s,
  a 
) [private]
The basic method to fill (book-on-demand) 1D profile histogram

The profile histogram will be created/booked dautomatically
according to the specifications:

   - literal or numerical ID (optional)
   - title
   - low X-edge
   - high X-edge
   - number of X-bins (default is 100)

The reference to the histogram is returned and could be used for later manipulations

Definition at line 943 of file GaudiAlgs.py.

00944                           :
00945     """
00946     The basic method to fill (book-on-demand) 1D profile histogram
00947 
00948     The profile histogram will be created/booked dautomatically
00949     according to the specifications:
00950 
00951        - literal or numerical ID (optional)
00952        - title
00953        - low X-edge
00954        - high X-edge
00955        - number of X-bins (default is 100)
00956 
00957     The reference to the histogram is returned and could be used for later manipulations
00958 
00959     """
00960     return HistoDecorator.profile1D (s,*a)
# =============================================================================
def GaudiPython::GaudiAlgs::_profile2D_ (   s,
  a 
) [private]
The basic method to fill (book-on-demand) 2D profile histiogram

The profile histogram will be created/booked automatically
according to the specifications:

   - literal or numerical ID (optional)
   - title
   - low X-edge
   - high X-edge
   - low Y-edge
   - high Y-edge
   - number of X-bins (default is 50)
   - number of Y-bins (default is 50)

The reference to the histogram is returned and could be used for later manipulations

Definition at line 961 of file GaudiAlgs.py.

00962                           :
00963     """
00964     The basic method to fill (book-on-demand) 2D profile histiogram
00965 
00966     The profile histogram will be created/booked automatically
00967     according to the specifications:
00968 
00969        - literal or numerical ID (optional)
00970        - title
00971        - low X-edge
00972        - high X-edge
00973        - low Y-edge
00974        - high Y-edge
00975        - number of X-bins (default is 50)
00976        - number of Y-bins (default is 50)
00977 
00978     The reference to the histogram is returned and could be used for later manipulations
00979 
00980     """
00981     return HistoDecorator.profile2D (s,*a)
00982 # =============================================================================

def GaudiPython::GaudiAlgs::_service_ (   self,
  interface,
  name,
  create = True 
) [private]

Useful method to locate a service:

Usage:

     ntsvc = self.svc( INTupleSvc , 'NTUpleSvc' )
Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
Useful method to locate a service:

Usage:

ntsvc = self.svc( INTupleSvc , 'NTUpleSvc' )

Definition at line 164 of file GaudiAlgs.py.

00168                                   :
00169     """
00170     Useful method to locate a service:
00171 
00172     Usage:
00173 
00174     ntsvc = self.svc( INTupleSvc , 'NTUpleSvc' )
00175 
00176     """
00177     if not interface : interface = cpp.IInterface
00178     _svc = AlgDecorator.svc_ ( self , name , create )
00179     if not _svc : return None
00180     _svc = InterfaceCast(interface)(_svc)
00181     if not _svc :
00182         self.Warning('Invalid cast to interface %s' % interface )
00183         return None
00184     return _svc
00185 
# =============================================================================
def GaudiPython::GaudiAlgs::_set_attr_ (   self,
  pname,
  pvalue 
) [private]

set the attribute or property

Set the attribute (or property) :
- if the attribute name corresponds to the property name, the property is updated

Definition at line 475 of file GaudiAlgs.py.

00476                                          :
00477     """
00478     Set the attribute (or property) :
00479     - if the attribute name corresponds to the property name, the property is updated
00480     """
00481     if not self.hasProperty( pname ) : self.__dict__[pname] = pvalue
00482     else : iAlgorithm.__setattr__ ( self , pname , pvalue )
00483 

def GaudiPython::GaudiAlgs::_setProperty_ (   self,
  pname,
  pvalue 
) [private]

set the value for the given property

Set the property from the value

Definition at line 454 of file GaudiAlgs.py.

00455                                             :
00456     """
00457     Set the property from the value
00458     """
00459     if not self.hasProperty( pname ) :
00460         raise AttributeError, 'property %s does not exist' % pname
00461     return iAlgorithm.__setattr__ ( self , pname , pvalue )
00462 
# =============================================================================
def GaudiPython::GaudiAlgs::_start_ (   self ) [private]
The stub 'start' method needed by the internal implementation of PyAlg<>.

Definition at line 847 of file GaudiAlgs.py.

00848                      :
00849     """
00850     The stub 'start' method needed by the internal implementation of PyAlg<>.
00851     """
00852     # return self._Base.start_(self)
00853     return SUCCESS
00854 
00855 GaudiAlgo.start = _start_
00856 HistoAlgo.start = _start_
00857 TupleAlgo.start = _start_

def GaudiPython::GaudiAlgs::_stop_ (   self ) [private]
The stub 'stop' method needed by the internal implementation of PyAlg<>.

Definition at line 868 of file GaudiAlgs.py.

00869                     :
00870     """
00871     The stub 'stop' method needed by the internal implementation of PyAlg<>.
00872     """
00873     # return self._Base.stop_(self)
00874     return SUCCESS
00875 
00876 GaudiAlgo.stop = _stop_
00877 HistoAlgo.stop = _stop_
00878 TupleAlgo.stop = _stop_
00879 
# =============================================================================
def GaudiPython::GaudiAlgs::_success_ (   self ) [private]

Dummy method returning success.

Definition at line 431 of file GaudiAlgs.py.

00431                        : return SUCCESS
00432 
00433 
00434 # =============================================================================
def GaudiPython::GaudiAlgs::_t_array_ (   s,
  a 
) [private]
Fill the fixed-size array column 

Definition at line 1077 of file GaudiAlgs.py.

01078                                :
01079     """
01080     Fill the fixed-size array column 
01081     """
    return _Dec.array      ( s , *a )
def GaudiPython::GaudiAlgs::_t_column_ (   s,
  a 
) [private]
Fill the certain column to n-tuple 

Definition at line 1062 of file GaudiAlgs.py.

01063                                :
01064     """
01065     Fill the certain column to n-tuple 
01066     """
    return _Dec.column     ( s , *a )
def GaudiPython::GaudiAlgs::_t_column_ll_ (   s,
  a 
) [private]
Fill the 'long long' column 

Definition at line 1067 of file GaudiAlgs.py.

01068                                :
01069     """
01070     Fill the 'long long' column 
01071     """
    return _Dec.column_ll  ( s , *a )
def GaudiPython::GaudiAlgs::_t_column_ull_ (   s,
  a 
) [private]
Fill the 'unsigned long long' column 

Definition at line 1072 of file GaudiAlgs.py.

01073                                :
01074     """
01075     Fill the 'unsigned long long' column 
01076     """
    return _Dec.column_ull ( s , *a )
def GaudiPython::GaudiAlgs::_t_farray_ (   s,
  a 
) [private]
Fill the floating-size array column 

Definition at line 1087 of file GaudiAlgs.py.

01088                                :
01089     """
01090     Fill the floating-size array column 
01091     """
    return _Dec.farray     ( s , *a )
def GaudiPython::GaudiAlgs::_t_fmatrix_ (   s,
  a 
) [private]
Fill the floating-size matrix column 

Definition at line 1092 of file GaudiAlgs.py.

01093                                :
01094     """
01095     Fill the floating-size matrix column 
01096     """
01097     return _Dec.fmatrix    ( s , *a )

def GaudiPython::GaudiAlgs::_t_matrix_ (   s,
  a 
) [private]
Fill the fixed-size matrix column 

Definition at line 1082 of file GaudiAlgs.py.

01083                                :
01084     """
01085     Fill the fixed-size matrix column 
01086     """
    return _Dec.matrix     ( s , *a )
def GaudiPython::GaudiAlgs::_t_ntuple_ (   s,
  a 
) [private]
Access to underlying NTuple::Tuple object

Definition at line 1047 of file GaudiAlgs.py.

01048                                :
01049     """
01050     Access to underlying NTuple::Tuple object
01051     """    
    return _Dec.ntuple     ( s , *a )
def GaudiPython::GaudiAlgs::_t_nTuple_ (   s,
  a 
) [private]
Access to underlying INTuple object

Definition at line 1042 of file GaudiAlgs.py.

01043                                :
01044     """
01045     Access to underlying INTuple object
01046     """
    return _Dec.nTuple     ( s , *a )
def GaudiPython::GaudiAlgs::_t_valid_ (   s,
  a 
) [private]
Valid NTuple::Tuple object?

Definition at line 1052 of file GaudiAlgs.py.

01053                                :
01054     """
01055     Valid NTuple::Tuple object?
01056     """
    return _Dec.valid      ( s , *a )
def GaudiPython::GaudiAlgs::_t_write_ (   s,
  a 
) [private]
Commit the row/record to n-tuple 

Definition at line 1057 of file GaudiAlgs.py.

01058                                :
01059     """
01060     Commit the row/record to n-tuple 
01061     """
    return _Dec.write      ( s , *a )
def GaudiPython::GaudiAlgs::_tool_ (   self,
  interface,
  typename,
  name = None,
  parent = None,
  create = True 
) [private]

Useful method to locate the tool a certain.

Usage:

      # locate public tool
      t1 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator')
      # locate private tool
      t2 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator',parent=self)
      # locate public tool with defined name
      t3 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator/MyExt1')
      # locate private tool with defined name
      t4 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator/MyExt2',parent=self)
      # locate public tool with defined name
      t5 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator','MyExt3')
      # locate private tool with defined name
      t6 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator','MyExt4',parent=self)
Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-11-26
Useful method to locate the tool a certain

Usage:

# locate public tool
t1 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator')
# locate private tool
t2 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator',parent=self)
# locate public tool with defined name
t3 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator/MyExt1')
# locate private tool with defined name
t4 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator/MyExt2',parent=self)
# locate public tool with defined name
t5 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator','MyExt3')
# locate private tool with defined name
t6 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator','MyExt4',parent=self)

Definition at line 115 of file GaudiAlgs.py.

00121                                 :
00122     """
00123     Useful method to locate the tool a certain
00124 
00125     Usage:
00126 
00127     # locate public tool
00128     t1 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator')
00129     # locate private tool
00130     t2 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator',parent=self)
00131     # locate public tool with defined name
00132     t3 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator/MyExt1')
00133     # locate private tool with defined name
00134     t4 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator/MyExt2',parent=self)
00135     # locate public tool with defined name
00136     t5 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator','MyExt3')
00137     # locate private tool with defined name
00138     t6 = self.tool(ITrExtrapolator,'TrParabolicExtrapolator','MyExt4',parent=self)
00139 
00140     """
00141     if not interface : interface = cpp.IAlgTool
00142     if not parent    : parent    = self
00143     if name          : typename  += '/' + name
00144     _tool = AlgDecorator.tool_( self , typename , parent , create )
00145     if not _tool : return None
00146     _tool = InterfaceCast(interface)(_tool)
00147     if not _tool :
00148         self.Warning('Invalid cast to interface %s' % interface )
00149         return None
00150     return _tool
00151 
# =============================================================================
def GaudiPython::GaudiAlgs::_Tools_a_ (   self ) [private]
Retrieve the list of tools,
    aquired by component through GaudiCommon<TYPE> base:

>>> alg   = ...             ## get the algorithm
>>> tools = alg.Tools()     ## get the tools
>>> for tool in tools :
...        print tool

Definition at line 1197 of file GaudiAlgs.py.

01198                        :
01199     """
01200     Retrieve the list of tools,
01201         aquired by component through GaudiCommon<TYPE> base:
01202 
01203     >>> alg   = ...             ## get the algorithm
01204     >>> tools = alg.Tools()     ## get the tools
01205     >>> for tool in tools :
01206     ...        print tool
01207 
01208     """
01209     _cmp  = getattr ( self , '_ialg' )
01210     if not _cmp : self.retrieveInterface()
01211     _cmp  = getattr ( self , '_ialg' )
01212     return _get_all_tools_ ( _cmp , '_tools_a_' )
# =============================================================================
def GaudiPython::GaudiAlgs::_Tools_t_ (   self ) [private]
Retrieve the list of tools,
    aquired by component through GaudiCommon<TYPE> base:

>>> tool  = ...              ## get the tool
>>> tools = tool.Tools()     ## get the tools
>>> for t in tools :
...        print t

Definition at line 1213 of file GaudiAlgs.py.

01214                        :
01215     """
01216     Retrieve the list of tools,
01217         aquired by component through GaudiCommon<TYPE> base:
01218 
01219     >>> tool  = ...              ## get the tool
01220     >>> tools = tool.Tools()     ## get the tools
01221     >>> for t in tools :
01222     ...        print t
01223 
01224     """
01225     _cmp  = getattr ( self , '_itool' )
01226     if not _cmp : self.retrieveInterface()
01227     _cmp  = getattr ( self , '_itool' )
01228     return _get_all_tools_ ( _cmp , '_tools_t_' )
01229 
01230 
01231 # =============================================================================
01232 # get the list of counters
# =============================================================================
def GaudiPython::GaudiAlgs::mapvct (   func,
  sequence,
  ovct = None 
)
Helper function to fill histogram/ntuple using 'map'-operation 

Definition at line 1163 of file GaudiAlgs.py.

01164                                              :
01165     """ Helper function to fill histogram/ntuple using 'map'-operation """
01166     if not ovct :
01167         vct = GaudiPython.Vector
01168     else :
01169         vct = ovct
01170     if   hasattr( sequence, 'size' ) :
01171         vct.reserve ( vct.size() + sequence.size() )
01172     elif hasattr( sequence, '__len__' ) :
01173         vct.reserve ( vct.size() + len( sequence ) )
01174     for object in sequence :
01175         vct.push_back( func( object ) )
01176     if not ovct : return vct
01177 # =============================================================================
01178 
01179 
01180 
01181 
01182 # =============================================================================
01183 # get the list of tools
# =============================================================================

Variable Documentation

Initial value:
00001 (
00002     'GaudiAlgo' ,                    ##               base class for algorithms
00003     'HistoAlgo' ,                    ## base class for histo-related algorithms
00004     'TupleAlgo' ,                    ## base class for tuple-related algorithms
00005     'Tuple'     ,                    ##                                 N-Tuple
00006     'HistoID'   ,                    ##                         ID for N-tuples
00007     'TupleID'   ,                    ##                       ID for Histograms
00008     'aida2root' ,                    ##                  AIDA -> ROOT converter
00009     'SUCCESS'                        ##                             status code
00010     )

Definition at line 43 of file GaudiAlgs.py.

string GaudiPython::GaudiAlgs::__author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr'

Definition at line 39 of file GaudiAlgs.py.

Initial value:
00001 {
00002     '__init__'    : _init_        , # constructor
00003     'tool'        : _tool_        , # service locator
00004     'svc'         : _service_     , # tool locator
00005     'evtSvc'      : _evtSvc       , # event data service
00006     'eventSvc'    : _evtSvc       , # event data service
00007     'detSvc'      : _detSvc       , # detector data service
00008     'histoSvc'    : _histoSvc     , # histogram data service
00009     'histSvc'     : _histoSvc     , # histogram data service
00010     'get'         : _get          , # access to  event data
00011     'get_'        : _get_         , # access to  event data
00012     'exist_'      : _exist_       , # check  the event data
00013     'getDet'      : _getDet       , # access to detector data
00014     'finalize'    : _finalize_    , # algorithm finalization
00015     'beginRun'    : _success_     , # dummy function returning success
00016     'endRun'      : _success_     , # dummy function returning success
00017     #
00018     'hasProperty' : _hasProperty_ , # check the existence of property with given name
00019     'getProperty' : _getProperty_ , # get the property value with given name
00020     'setProperty' : _setProperty_ , # set the property with given name
00021     '__setattr__' : _set_attr_    , # set the attribute/property with given name
00022     '__getattr__' : _get_attr_      # set the attribute/property with given name
00023     }

Definition at line 1122 of file GaudiAlgs.py.

Definition at line 1041 of file GaudiAlgs.py.

Definition at line 214 of file GaudiAlgs.py.

Definition at line 256 of file GaudiAlgs.py.

Definition at line 214 of file GaudiAlgs.py.

tuple GaudiPython::GaudiAlgs::_GaudiAlgorithm = cpp.GaudiPython.PyAlg( 'GaudiAlgorithm' )

Definition at line 484 of file GaudiAlgs.py.

tuple GaudiPython::GaudiAlgs::_GaudiHistoAlg = cpp.GaudiPython.PyAlg( 'GaudiHistoAlg' )

Definition at line 485 of file GaudiAlgs.py.

tuple GaudiPython::GaudiAlgs::_GaudiTupleAlg = cpp.GaudiPython.PyAlg( 'GaudiTupleAlg' )

Definition at line 486 of file GaudiAlgs.py.

Definition at line 237 of file GaudiAlgs.py.

Definition at line 256 of file GaudiAlgs.py.

GaudiPython::GaudiAlgs::AlgDecorator = cpp.GaudiPython.AlgDecorator

get the decorator:

Definition at line 86 of file GaudiAlgs.py.

GaudiPython::GaudiAlgs::HID = cpp.GaudiAlg.ID

histogram and N-Tuple universal identifier

Definition at line 80 of file GaudiAlgs.py.

GaudiPython::GaudiAlgs::HistoDecorator = cpp.GaudiPython.HistoDecorator

Definition at line 87 of file GaudiAlgs.py.

Definition at line 81 of file GaudiAlgs.py.

The basic module.

Definition at line 56 of file GaudiAlgs.py.

Definition at line 57 of file GaudiAlgs.py.

"typedef" for GaudiPython::Matrix

Definition at line 77 of file GaudiAlgs.py.

AIDA -> ROTO converter ============================================================================= std C++ namespace.

Definition at line 72 of file GaudiAlgs.py.

Definition at line 82 of file GaudiAlgs.py.

GaudiPython::GaudiAlgs::Tuple = cpp.Tuples.Tuple

Definition at line 1040 of file GaudiAlgs.py.

GaudiPython::GaudiAlgs::TupleAlgDecorator = cpp.GaudiPython.TupleAlgDecorator

Definition at line 88 of file GaudiAlgs.py.

GaudiPython::GaudiAlgs::TupleDecorator = cpp.GaudiPython.TupleDecorator

Definition at line 89 of file GaudiAlgs.py.

Definition at line 83 of file GaudiAlgs.py.

"typedef" for GaudiPython::Vector

Definition at line 75 of file GaudiAlgs.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Sep 17 2012 13:49:58 for Gaudi Framework, version v23r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004