![]() |
Belle II Software light-2505-deimos
|
Public Member Functions | |
| __init__ (self, filename, globaltag, payloads) | |
| check (self, exp, run) | |
Static Public Member Functions | |
| create_cpp_metadataprovider (filename, globaltags) | |
Protected Attributes | |
| _globaltag = globaltag | |
| Globaltag. | |
| _payloads = payloads | |
| Payloads. | |
| _localpy = LocalMetadataProvider(filename) | |
| Local metadata provider, python version. | |
| _localcpp = self.create_cpp_metadataprovider(filename, [globaltag]) | |
| 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.
| __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.
| 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.