![]() |
The Gaudi Framework
v26r3
|
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_ |
Useful method to locate the tool a certain. More... | |
def | _service_ |
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 |
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 |
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_ |
get the data from TES using GaudiCommon methods, respecting RootInTES More... | |
def | _exist_ |
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 |
def | _get_all_tools_ (self, method) |
def | _Tools_a_ (self) |
def | _Tools_t_ (self) |
def | _get_all_counters_ |
get all counters More... | |
def | _Counters_a_ |
get all counters More... | |
def | _Counters_t_ |
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_ |
def | _Histos_t_ |
def | _help_ () |
Variables | |
string | __author__ = 'Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr' |
tuple | __all__ |
iAlgorithm = GaudiPython.Bindings.iAlgorithm | |
The basic module. More... | |
iAlgTool = GaudiPython.Bindings.iAlgTool | |
std = cpp.std | |
tuple | Vector = std.vector('double') |
"typedef" for GaudiPython::Vector More... | |
tuple | Matrix = std.vector('std::vector<double>') |
"typedef" for GaudiPython::Matrix More... | |
HID = cpp.GaudiAlg.ID | |
histogram and N-Tuple universal identifier More... | |
HistoID = HID | |
TID = HID | |
TupleID = TID | |
AlgDecorator = cpp.GaudiPython.AlgDecorator | |
get the decorator: More... | |
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_ | |
|
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 1339 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 1353 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 1286 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 1308 of file GaudiAlgs.py.
|
private |
Definition at line 1181 of file GaudiAlgs.py.
|
private |
Definition at line 992 of file GaudiAlgs.py.
|
private |
Definition at line 1024 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 327 of file GaudiAlgs.py.
|
private |
Retrieve (book-on-demand) N-Tuple object for Event Tag Collections
Definition at line 1015 of file GaudiAlgs.py.
|
private |
Trivial helper function to access Event Collection Service.
Trivial function to access Event Collection Service
Definition at line 417 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 294 of file GaudiAlgs.py.
|
private |
The fictive 'execute' method, which MUST be overwitten by user
Definition at line 861 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 400 of file GaudiAlgs.py.
|
private |
The default finalization (finalization of base C++ class)
The default finalization : finalize the base C++ class
Definition at line 426 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 376 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 392 of file GaudiAlgs.py.
|
private |
get all counters
get all counters
Definition at line 1267 of file GaudiAlgs.py.
|
private |
Get All histogram form the component
Definition at line 1375 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 467 of file GaudiAlgs.py.
|
private |
get the counter
Definition at line 1332 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 384 of file GaudiAlgs.py.
|
private |
get the value of the given property
Get the property by name
Definition at line 447 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 439 of file GaudiAlgs.py.
|
private |
Definition at line 1478 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 1410 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 1431 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 359 of file GaudiAlgs.py.
|
private |
The constructor from unique algorithm instance name,.
The constructor from unique algorithm instance name & parameters
Definition at line 193 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 215 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 238 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 257 of file GaudiAlgs.py.
|
private |
|
private |
Trivial helper function to access NTuple Service.
Trivial function to access N-Tuple Service
Definition at line 409 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 883 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 901 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 922 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 946 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 964 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 170 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 478 of file GaudiAlgs.py.
|
private |
set the value for the given property
Set the property from the value
Definition at line 457 of file GaudiAlgs.py.
|
private |
The stub 'start' method needed by the internal implementation of PyAlg<>.
Definition at line 850 of file GaudiAlgs.py.
|
private |
The stub 'stop' method needed by the internal implementation of PyAlg<>.
Definition at line 871 of file GaudiAlgs.py.
|
private |
Dummy method returning success.
Definition at line 434 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 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 1230 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 1246 of file GaudiAlgs.py.
def GaudiPython.GaudiAlgs.mapvct | ( | func, | |
sequence, | |||
ovct = None |
|||
) |
Helper function to fill histogram/ntuple using 'map'-operation
Definition at line 1196 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs.__all__ |
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.
dictionary GaudiPython.GaudiAlgs._alg_map_ |
Definition at line 1155 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._Dec = TupleDecorator |
Definition at line 1044 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._detSvc_ |
Definition at line 229 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._evtcolSvc_ |
Definition at line 273 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._evtSvc_ |
Definition at line 225 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs._GaudiAlgorithm = cpp.GaudiPython.PyAlg( 'GaudiAlgorithm' ) |
Definition at line 487 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs._GaudiHistoAlg = cpp.GaudiPython.PyAlg( 'GaudiHistoAlg' ) |
Definition at line 488 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs._GaudiTupleAlg = cpp.GaudiPython.PyAlg( 'GaudiTupleAlg' ) |
Definition at line 489 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._histoSvc_ |
Definition at line 248 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._ntupleSvc_ |
Definition at line 268 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.AlgDecorator = cpp.GaudiPython.AlgDecorator |
get the decorator:
Definition at line 89 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.HID = cpp.GaudiAlg.ID |
histogram and N-Tuple universal identifier
Definition at line 83 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.HistoDecorator = cpp.GaudiPython.HistoDecorator |
Definition at line 90 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.HistoID = HID |
Definition at line 84 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.iAlgorithm = GaudiPython.Bindings.iAlgorithm |
The basic module.
Definition at line 56 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.iAlgTool = GaudiPython.Bindings.iAlgTool |
Definition at line 57 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs.Matrix = std.vector('std::vector<double>') |
"typedef" for GaudiPython::Matrix
Definition at line 80 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.std = cpp.std |
Definition at line 75 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TID = HID |
Definition at line 85 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.Tuple = cpp.Tuples.Tuple |
Definition at line 1043 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TupleAlgDecorator = cpp.GaudiPython.TupleAlgDecorator |
Definition at line 91 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TupleDecorator = cpp.GaudiPython.TupleDecorator |
Definition at line 92 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TupleID = TID |
Definition at line 86 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs.Vector = std.vector('double') |
"typedef" for GaudiPython::Vector
Definition at line 78 of file GaudiAlgs.py.