![]() |
The Gaudi Framework
v28r1
|
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 | objectmethod |
class | TupleAlgo |
The base class for easy manupulations with N-Tuples. More... | |
class | TupleDecColumnDispatcher |
Functions | |
def | _tool_ (self, interface, typename, name=None, parent=None, create=True) |
Useful method to locate the tool a certain. More... | |
def | _service_ (self, interface, name, create=True) |
Useful method to locate a service: More... | |
def | _init_ (self, name, args) |
The constructor from unique algorithm instance name,. More... | |
def | _initialize_ (self) |
The default initialization (initialization of base C++ class + data. More... | |
def | _initialize_histo_ (self) |
The default initialization (initialization of base C++ class + data members) More... | |
def | _initialize_tuple_ (self) |
The default initialization (initialization of base C++ class + data members) More... | |
def | _evtSvc (self, location=None) |
Trivial helper function to access Event Data and Event Data Service. More... | |
def | _detSvc (self) |
Trivial helper function to access Detector Data and Detector Data Service. More... | |
def | _histoSvc (self, address=None) |
Trivial helper function to access Histogram Data and Histogram Data Service. More... | |
def | _get (self, location) |
Trivial function to access the data in TES. More... | |
def | _getDet (self, location) |
Trivial function to access the data in TDS. More... | |
def | _get_ (self, location, rootInTES=True) |
get the data from TES using GaudiCommon methods, respecting RootInTES More... | |
def | _exist_ (self, location, rootInTES=True) |
check the data from TES using GaudiCommon methods, respecting RootInTES More... | |
def | _ntupleSvc (self) |
Trivial helper function to access NTuple Service. More... | |
def | _evtcolSvc (self) |
Trivial helper function to access Event Collection Service. More... | |
def | _finalize_ (self) |
The default finalization (finalization of base C++ class) More... | |
def | _success_ (self) |
Dummy method returning success. More... | |
def | _hasProperty_ (self, pname) |
check the existence of the property with the given name More... | |
def | _getProperty_ (self, pname) |
get the value of the given property More... | |
def | _setProperty_ (self, pname, pvalue) |
set the value for the given property More... | |
def | _get_attr_ (self, pname) |
get the attribute or property More... | |
def | _set_attr_ (self, pname, pvalue) |
set the attribute or property More... | |
def | _start_ (self) |
def | _execute_ (self) |
def | _stop_ (self) |
def | _plot1D_ (s, a) |
def | _plot2D_ (s, a) |
def | _plot3D_ (s, a) |
def | _profile1D_ (s, a) |
def | _profile2D_ (s, a) |
def | _decorate_plots_ (klasses) |
def | _nTuple_ (s, a) |
def | _evtCol_ (s, a) |
def | _decorate_tuples_ (klasses) |
def | _t_nTuple_ (s, a) |
def | _t_ntuple_ (s, a) |
def | _t_valid_ (s, a) |
def | _t_write_ (s, a) |
def | _t_column_ (s, a) |
def | _t_column_ll_ (s, a) |
def | _t_column_ull_ (s, a) |
def | _t_array_ (s, a) |
def | _t_matrix_ (s, a) |
def | _t_farray_ (s, a) |
def | _t_fmatrix_ (s, a) |
def | _decorate_algs_ (klasses) |
def | mapvct (func, sequence, ovct=None) |
def | _get_all_tools_ (self, method) |
def | _Tools_a_ (self) |
def | _Tools_t_ (self) |
def | _get_all_counters_ (self, method, name=None) |
get all counters More... | |
def | _Counters_a_ (self, name=None) |
get all counters More... | |
def | _Counters_t_ (self, name=None) |
def | _get_counter_ (self, method, name) |
def | _Counter_a_ (self, name) |
def | _Counter_t_ (self, name) |
def | _get_all_histos_ (component, method, name) |
def | _Histos_a_ (self, name=None) |
def | _Histos_t_ (self, name=None) |
def | _help_ () |
|
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 1337 of file GaudiAlgs.py.
|
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 1351 of file GaudiAlgs.py.
|
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 1284 of file GaudiAlgs.py.
|
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 1306 of file GaudiAlgs.py.
|
private |
Definition at line 1179 of file GaudiAlgs.py.
|
private |
Definition at line 990 of file GaudiAlgs.py.
|
private |
Definition at line 1022 of file GaudiAlgs.py.
|
private |
Trivial helper function to access Detector Data and Detector Data Service.
Usage:
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 325 of file GaudiAlgs.py.
|
private |
Retrieve (book-on-demand) N-Tuple object for Event Tag Collections
Definition at line 1013 of file GaudiAlgs.py.
|
private |
Trivial helper function to access Event Collection Service.
Trivial function to access Event Collection Service
Definition at line 415 of file GaudiAlgs.py.
|
private |
Trivial helper function to access Event Data and Event Data Service.
Usage:
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 292 of file GaudiAlgs.py.
|
private |
The fictive 'execute' method, which MUST be overwitten by user
Definition at line 859 of file GaudiAlgs.py.
|
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 398 of file GaudiAlgs.py.
|
private |
The default finalization (finalization of base C++ class)
The default finalization : finalize the base C++ class
Definition at line 424 of file GaudiAlgs.py.
|
private |
Trivial function to access the data in TES.
Trivial function to access the data in TES using the data service
Definition at line 374 of file GaudiAlgs.py.
|
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 390 of file GaudiAlgs.py.
|
private |
get all counters
get all counters
Definition at line 1265 of file GaudiAlgs.py.
|
private |
Get All histogram form the component
Definition at line 1373 of file GaudiAlgs.py.
|
private |
|
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 465 of file GaudiAlgs.py.
|
private |
get the counter
Definition at line 1330 of file GaudiAlgs.py.
|
private |
Trivial function to access the data in TDS.
Trivial function to access the data in TDS using data service
Definition at line 382 of file GaudiAlgs.py.
|
private |
get the value of the given property
Get the property by name
Definition at line 445 of file GaudiAlgs.py.
|
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 437 of file GaudiAlgs.py.
|
private |
Definition at line 1476 of file GaudiAlgs.py.
|
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 1408 of file GaudiAlgs.py.
|
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 1429 of file GaudiAlgs.py.
|
private |
Trivial helper function to access Histogram Data and Histogram Data Service.
Usage:
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 357 of file GaudiAlgs.py.
|
private |
The constructor from unique algorithm instance name,.
The constructor from unique algorithm instance name & parameters
Definition at line 191 of file GaudiAlgs.py.
|
private |
The default initialization (initialization of base C++ class + data.
The default initialization (initialization of base C++ class + data)
Definition at line 213 of file GaudiAlgs.py.
|
private |
The default initialization (initialization of base C++ class + data members)
The default initialization (initialization of base C++ class + data members)
Definition at line 236 of file GaudiAlgs.py.
|
private |
The default initialization (initialization of base C++ class + data members)
The default initialization (initialization of base C++ class + data members)
Definition at line 255 of file GaudiAlgs.py.
|
private |
|
private |
Trivial helper function to access NTuple Service.
Trivial function to access N-Tuple Service
Definition at line 407 of file GaudiAlgs.py.
|
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 881 of file GaudiAlgs.py.
|
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 899 of file GaudiAlgs.py.
|
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 920 of file GaudiAlgs.py.
|
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 944 of file GaudiAlgs.py.
|
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 962 of file GaudiAlgs.py.
|
private |
Useful method to locate a service:
Usage:
Useful method to locate a service: Usage: ntsvc = self.svc( INTupleSvc , 'NTUpleSvc' )
Definition at line 168 of file GaudiAlgs.py.
|
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 476 of file GaudiAlgs.py.
|
private |
set the value for the given property
Set the property from the value
Definition at line 455 of file GaudiAlgs.py.
|
private |
The stub 'start' method needed by the internal implementation of PyAlg<>.
Definition at line 848 of file GaudiAlgs.py.
|
private |
The stub 'stop' method needed by the internal implementation of PyAlg<>.
Definition at line 869 of file GaudiAlgs.py.
|
private |
Dummy method returning success.
Definition at line 432 of file GaudiAlgs.py.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Useful method to locate the tool a certain.
Usage:
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 121 of file GaudiAlgs.py.
|
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 1228 of file GaudiAlgs.py.
|
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 1244 of file GaudiAlgs.py.
def GaudiPython.GaudiAlgs.mapvct | ( | func, | |
sequence, | |||
ovct = None |
|||
) |
Helper function to fill histogram/ntuple using 'map'-operation
Definition at line 1194 of file GaudiAlgs.py.
|
private |
Definition at line 41 of file GaudiAlgs.py.
|
private |
Definition at line 37 of file GaudiAlgs.py.
|
private |
Definition at line 1153 of file GaudiAlgs.py.
|
private |
Definition at line 1042 of file GaudiAlgs.py.
|
private |
Definition at line 227 of file GaudiAlgs.py.
|
private |
Definition at line 271 of file GaudiAlgs.py.
|
private |
Definition at line 223 of file GaudiAlgs.py.
|
private |
Definition at line 485 of file GaudiAlgs.py.
|
private |
Definition at line 486 of file GaudiAlgs.py.
|
private |
Definition at line 487 of file GaudiAlgs.py.
|
private |
Definition at line 246 of file GaudiAlgs.py.
|
private |
Definition at line 266 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.AlgDecorator = cpp.GaudiPython.AlgDecorator |
get the decorator:
Definition at line 87 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.array |
Definition at line 1148 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.column |
Definition at line 1071 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.column_ll |
Definition at line 1146 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.column_ull |
Definition at line 1147 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Counter |
Definition at line 1465 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Counters |
Definition at line 1463 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.farray |
Definition at line 1150 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.fmatrix |
Definition at line 1151 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.HID = cpp.GaudiAlg.ID |
histogram and N-Tuple universal identifier
Definition at line 81 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.HistoDecorator = cpp.GaudiPython.HistoDecorator |
Definition at line 88 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.HistoID = HID |
Definition at line 82 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Histos |
Definition at line 1467 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.iAlgorithm = GaudiPython.Bindings.iAlgorithm |
The basic module.
Definition at line 54 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.iAlgTool = GaudiPython.Bindings.iAlgTool |
Definition at line 55 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Matrix = std.vector('std::vector<double>') |
"typedef" for GaudiPython::Matrix
Definition at line 78 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.matrix |
Definition at line 1149 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.nTuple |
Definition at line 1141 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.ntuple |
Definition at line 1142 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.std = cpp.std |
Definition at line 73 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TID = HID |
Definition at line 83 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Tools |
Definition at line 1461 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Tuple = cpp.Tuples.Tuple |
Definition at line 1041 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TupleAlgDecorator = cpp.GaudiPython.TupleAlgDecorator |
Definition at line 89 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TupleDecorator = cpp.GaudiPython.TupleDecorator |
Definition at line 90 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TupleID = TID |
Definition at line 84 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.valid |
Definition at line 1143 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Vector = std.vector('double') |
"typedef" for GaudiPython::Vector
Definition at line 76 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.write |
Definition at line 1144 of file GaudiAlgs.py.