![]() |
The Gaudi Framework
v25r3
|
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... | |
Functions | |
def | _tool_ |
Useful method to locate the tool a certain. More... | |
def | _service_ |
Useful method to locate a service: More... | |
def | _init_ |
The constructor from unique algorithm instance name,. More... | |
def | _initialize_ |
The default initialization (initialization of base C++ class + data. More... | |
def | _initialize_histo_ |
The default initialization (initialization of base C++ class + data members) More... | |
def | _initialize_tuple_ |
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 |
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 |
Trivial function to access the data in TES. More... | |
def | _getDet |
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 |
Trivial helper function to access NTuple Service. More... | |
def | _evtcolSvc |
Trivial helper function to access Event Collection Service. More... | |
def | _finalize_ |
The default finalization (finalization of base C++ class) More... | |
def | _success_ |
Dummy method returning success. More... | |
def | _hasProperty_ |
check the existence of the property with the given name More... | |
def | _getProperty_ |
get the value of the given property More... | |
def | _setProperty_ |
set the value for the given property More... | |
def | _get_attr_ |
get the attribute or property More... | |
def | _set_attr_ |
set the attribute or property More... | |
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 More... | |
def | _Counters_a_ |
get all counters More... | |
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. More... | |
iAlgTool = GaudiPython.Bindings.iAlgTool | |
std = cpp.std | |
AIDA -> ROTO converter. More... | |
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 1307 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 1321 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 1254 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 1276 of file GaudiAlgs.py.
|
private |
Definition at line 1149 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 1235 of file GaudiAlgs.py.
|
private |
Get All histogram form the component
Definition at line 1343 of file GaudiAlgs.py.
|
private |
Get all tools
Definition at line 1185 of file GaudiAlgs.py.
|
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 1300 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 1446 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 1378 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 1399 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 |
Retrieve (book-on-demand) N-Tuple object
Definition at line 1007 of file GaudiAlgs.py.
|
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 |
Fill the fixed-size array column
Definition at line 1078 of file GaudiAlgs.py.
|
private |
Fill the certain column to n-tuple
Definition at line 1063 of file GaudiAlgs.py.
|
private |
Fill the 'long long' column
Definition at line 1068 of file GaudiAlgs.py.
|
private |
Fill the 'unsigned long long' column
Definition at line 1073 of file GaudiAlgs.py.
|
private |
Fill the floating-size array column
Definition at line 1088 of file GaudiAlgs.py.
|
private |
|
private |
Fill the fixed-size matrix column
Definition at line 1083 of file GaudiAlgs.py.
|
private |
Access to underlying INTuple object
Definition at line 1043 of file GaudiAlgs.py.
|
private |
Access to underlying NTuple::Tuple object
Definition at line 1048 of file GaudiAlgs.py.
|
private |
Valid NTuple::Tuple object?
Definition at line 1053 of file GaudiAlgs.py.
|
private |
Commit the row/record to n-tuple
Definition at line 1058 of file GaudiAlgs.py.
|
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 1198 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 1214 of file GaudiAlgs.py.
def GaudiPython.GaudiAlgs.mapvct | ( | func, | |
sequence, | |||
ovct = None |
|||
) |
Helper function to fill histogram/ntuple using 'map'-operation
Definition at line 1164 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 1123 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._Dec = TupleDecorator |
Definition at line 1042 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._detSvc_ |
Definition at line 227 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._evtcolSvc_ |
Definition at line 271 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._evtSvc_ |
Definition at line 223 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs._GaudiAlgorithm = cpp.GaudiPython.PyAlg( 'GaudiAlgorithm' ) |
Definition at line 485 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs._GaudiHistoAlg = cpp.GaudiPython.PyAlg( 'GaudiHistoAlg' ) |
Definition at line 486 of file GaudiAlgs.py.
tuple GaudiPython.GaudiAlgs._GaudiTupleAlg = cpp.GaudiPython.PyAlg( 'GaudiTupleAlg' ) |
Definition at line 487 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._histoSvc_ |
Definition at line 246 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs._ntupleSvc_ |
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.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.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 78 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.std = cpp.std |
AIDA -> ROTO converter.
Definition at line 73 of file GaudiAlgs.py.
GaudiPython.GaudiAlgs.TID = HID |
Definition at line 83 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.
tuple GaudiPython.GaudiAlgs.Vector = std.vector('double') |
"typedef" for GaudiPython::Vector
Definition at line 76 of file GaudiAlgs.py.