Belle II Software
release-08-01-10
|
Simple struct to group all information necessary for a single payload. More...
#include <PayloadMetadata.h>
Public Member Functions | |
PayloadMetadata (const std::string &_name, bool _required=true) | |
Constructor to request a payload with a given name and indicate whether non-existence is ok. | |
PayloadMetadata (const std::string &_name, const std::string &_globaltag, const std::string &_payloadUrl, const std::string &_baseUrl, const std::string &_checksum, int firstExp, int firstRun, int finalExp, int finalRun, int _revision) | |
Constructor for all the information which is usually obtained from providers. More... | |
void | update (const PayloadMetadata &other) |
Update information from another instance but keep the "required" flag untouched. | |
Public Attributes | |
std::string | name |
Name of the Payload. | |
std::string | globaltag {""} |
Name of the globaltag this payload was taken from. | |
std::string | filename {""} |
full filename to the payload file | |
std::string | payloadUrl {""} |
logical filename to the payload | |
std::string | baseUrl {""} |
base url if download is necessary | |
std::string | checksum {""} |
digest (checksum) of the payload | |
IntervalOfValidity | iov |
the interval of validity | |
size_t | revision {0} |
the revision of the payload | |
bool | required {true} |
if true a missing payload will not trigger an error | |
Simple struct to group all information necessary for a single payload.
Definition at line 15 of file PayloadMetadata.h.
|
inline |
Constructor for all the information which is usually obtained from providers.
"required" and "filename" are not part of this as they get filled in later steps or from other parties
Definition at line 19 of file PayloadMetadata.h.