The Gaudi Framework
v30r3 (a5ef0a68)
|
Classes | |
class | GaudiAlgo |
class | HistoAlgo |
class | objectmethod |
class | TupleAlgo |
class | TupleDecColumnDispatcher |
Functions | |
def | _tool_ (self, interface, typename, name=None, parent=None, create=True) |
def | _service_ (self, interface, name, create=True) |
def | _init_ (self, name, args) |
def | _initialize_ (self) |
def | _initialize_histo_ (self) |
def | _initialize_tuple_ (self) |
def | _evtSvc (self, location=None) |
def | _detSvc (self) |
def | _histoSvc (self, address=None) |
def | _get (self, location) |
def | _getDet (self, location) |
def | _get_ (self, location, rootInTES=True) |
def | _exist_ (self, location, rootInTES=True) |
def | _ntupleSvc (self) |
def | _evtcolSvc (self) |
def | _finalize_ (self) |
def | _success_ (self) |
def | _hasProperty_ (self, pname) |
def | _getProperty_ (self, pname) |
def | _setProperty_ (self, pname, pvalue) |
def | _get_attr_ (self, pname) |
def | _set_attr_ (self, pname, pvalue) |
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) |
def | _Counters_a_ (self, name=None) |
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_ () |
Variables | |
string | __author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr' |
tuple | __all__ |
iAlgorithm = GaudiPython.Bindings.iAlgorithm | |
iAlgTool = GaudiPython.Bindings.iAlgTool | |
std = cpp.std | |
Vector = std.vector('double') | |
Matrix = std.vector('std::vector<double>') | |
HID = cpp.GaudiAlg.ID | |
HistoID = HID | |
TID = HID | |
TupleID = TID | |
AlgDecorator = cpp.GaudiPython.AlgDecorator | |
HistoDecorator = cpp.GaudiPython.HistoDecorator | |
TupleAlgDecorator = cpp.GaudiPython.TupleAlgDecorator | |
TupleDecorator = cpp.GaudiPython.TupleDecorator | |
_GaudiAlgorithm = cpp.GaudiPython.PyAlg('GaudiAlgorithm') | |
_GaudiHistoAlg = cpp.GaudiPython.PyAlg('GaudiHistoAlg') | |
_GaudiTupleAlg = cpp.GaudiPython.PyAlg('GaudiTupleAlg') | |
Tuple = cpp.Tuples.Tuple | |
_Dec = TupleDecorator | |
column | |
nTuple | |
ntuple | |
valid | |
write | |
column_ll | |
column_ull | |
array | |
matrix | |
farray | |
fmatrix | |
dictionary | _alg_map_ |
Tools | |
Counters | |
Counter | |
Histos | |
_evtSvc_ | |
_detSvc_ | |
_histoSvc_ | |
_ntupleSvc_ | |
_evtcolSvc_ | |
|
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 1474 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 1491 of file GaudiAlgs.py.
|
private |
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 1413 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 1438 of file GaudiAlgs.py.
|
private |
Definition at line 1294 of file GaudiAlgs.py.
|
private |
Definition at line 1071 of file GaudiAlgs.py.
|
private |
Definition at line 1109 of file GaudiAlgs.py.
|
private |
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 351 of file GaudiAlgs.py.
|
private |
Retrieve (book-on-demand) N-Tuple object for Event Tag Collections
Definition at line 1098 of file GaudiAlgs.py.
|
private |
|
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')
Definition at line 316 of file GaudiAlgs.py.
|
private |
The fictive 'execute' method, which MUST be overwitten by user
Definition at line 925 of file GaudiAlgs.py.
|
private |
Check the object in Transient Event Store using GaudiCommon machinery, respecting RootInTES behaviour
Definition at line 435 of file GaudiAlgs.py.
|
private |
|
private |
Trivial function to access the data in TES using the data service
Definition at line 405 of file GaudiAlgs.py.
|
private |
Get the object from Transient Event Store using GaudiCommon machinery, respecting RootInTES behaviour
Definition at line 425 of file GaudiAlgs.py.
|
private |
get all counters
Definition at line 1391 of file GaudiAlgs.py.
|
private |
Get All histogram form the component
Definition at line 1517 of file GaudiAlgs.py.
|
private |
|
private |
Get the attribute (or property) - if the attribute name corresponds to the property name, property value is returned
Definition at line 514 of file GaudiAlgs.py.
|
private |
get the counter
Definition at line 1465 of file GaudiAlgs.py.
|
private |
Trivial function to access the data in TDS using data service
Definition at line 415 of file GaudiAlgs.py.
|
private |
|
private |
The trivial function which checks the existence of the property with given name
Definition at line 480 of file GaudiAlgs.py.
|
private |
Definition at line 1633 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 1559 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 1583 of file GaudiAlgs.py.
|
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')
Definition at line 385 of file GaudiAlgs.py.
|
private |
The constructor from unique algorithm instance name & parameters
Definition at line 203 of file GaudiAlgs.py.
|
private |
The default initialization (initialization of base C++ class + data)
Definition at line 228 of file GaudiAlgs.py.
|
private |
The default initialization (initialization of base C++ class + data members)
Definition at line 254 of file GaudiAlgs.py.
|
private |
The default initialization (initialization of base C++ class + data members)
Definition at line 276 of file GaudiAlgs.py.
|
private |
|
private |
|
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 952 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 972 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 995 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 1021 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 1041 of file GaudiAlgs.py.
|
private |
Useful method to locate a service: Usage: ntsvc = self.svc( INTupleSvc , 'NTUpleSvc' )
Definition at line 176 of file GaudiAlgs.py.
|
private |
Set the attribute (or property) : - if the attribute name corresponds to the property name, the property is updated
Definition at line 527 of file GaudiAlgs.py.
|
private |
Set the property from the value
Definition at line 502 of file GaudiAlgs.py.
|
private |
The stub 'start' method needed by the internal implementation of PyAlg<>.
Definition at line 912 of file GaudiAlgs.py.
|
private |
The stub 'stop' method needed by the internal implementation of PyAlg<>.
Definition at line 937 of file GaudiAlgs.py.
|
private |
Definition at line 475 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: # 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 123 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 1350 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 1369 of file GaudiAlgs.py.
def GaudiPython.GaudiAlgs.mapvct | ( | func, | |
sequence, | |||
ovct = None |
|||
) |
Helper function to fill histogram/ntuple using 'map'-operation
Definition at line 1314 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 1268 of file GaudiAlgs.py.
|
private |
Definition at line 1131 of file GaudiAlgs.py.
|
private |
Definition at line 243 of file GaudiAlgs.py.
|
private |
Definition at line 293 of file GaudiAlgs.py.
|
private |
Definition at line 239 of file GaudiAlgs.py.
|
private |
Definition at line 538 of file GaudiAlgs.py.
|
private |
Definition at line 539 of file GaudiAlgs.py.
|
private |
Definition at line 540 of file GaudiAlgs.py.
|
private |
Definition at line 265 of file GaudiAlgs.py.
|
private |
Definition at line 288 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.AlgDecorator = cpp.GaudiPython.AlgDecorator |
Definition at line 87 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.array |
Definition at line 1263 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.column |
Definition at line 1164 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.column_ll |
Definition at line 1261 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.column_ull |
Definition at line 1262 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Counter |
Definition at line 1620 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Counters |
Definition at line 1618 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.farray |
Definition at line 1265 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.fmatrix |
Definition at line 1266 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.HID = cpp.GaudiAlg.ID |
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 1622 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.iAlgorithm = GaudiPython.Bindings.iAlgorithm |
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>') |
Definition at line 78 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.matrix |
Definition at line 1264 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.nTuple |
Definition at line 1256 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.ntuple |
Definition at line 1257 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 1616 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Tuple = cpp.Tuples.Tuple |
Definition at line 1130 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 1258 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Vector = std.vector('double') |
Definition at line 76 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.write |
Definition at line 1259 of file GaudiAlgs.py.