Belle II Software development
|
Public Member Functions | |
def | __init__ (self, filename, globaltag, payloads) |
def | check (self, exp, run) |
Static Public Member Functions | |
def | create_cpp_metadataprovider (filename, globaltags) |
Protected Attributes | |
_globaltag | |
Globaltag. | |
_payloads | |
Payloads. | |
_localpy | |
Local metadata provider, python version. | |
_localcpp | |
Local metadata provider, C++ version. | |
Simple class to obtain all valid payloads matching a given set of names for a given experiment and run and compare the python and the C++ implementation.
Definition at line 21 of file local_metadata_provider.py.
def __init__ | ( | self, | |
filename, | |||
globaltag, | |||
payloads | |||
) |
Create the local metadata providers for the given globaltag and payload names
Definition at line 43 of file local_metadata_provider.py.
def check | ( | self, | |
exp, | |||
run | |||
) |
Check if the c++ and python version return the same payload revisions If not raise a ValueError, if yes return the list of payloads and their revision valid for the given exp,run
Definition at line 54 of file local_metadata_provider.py.
|
static |
Jump through some hoops to create a C++ instance of the local metadata provider so that we can check the framework implementation and compare it to the python version
Definition at line 28 of file local_metadata_provider.py.
|
protected |
Globaltag.
Definition at line 46 of file local_metadata_provider.py.
|
protected |
Local metadata provider, C++ version.
Definition at line 52 of file local_metadata_provider.py.
|
protected |
Local metadata provider, python version.
Definition at line 50 of file local_metadata_provider.py.
|
protected |
Payloads.
Definition at line 48 of file local_metadata_provider.py.