![]() |
ATLAS Offline Software
|
#include <CrestFunctions.h>
Public Member Functions | |
CrestFunctions (const std::string &crest_path) | |
const std::string & | getURLBase () |
void | setURLBase (const std::string &crest_path) |
std::vector< IovHashPair > | extractIovAndHash (const std::string_view jsonReply) |
std::string | extractHashFromJson (const std::string &jsonReply) |
std::vector< IovHashPair > | getIovsForTag (const std::string &tag, const bool testing=false) |
std::string | getLastHashForTag (const std::string &tag, const bool testing=false) |
std::string | getPayloadForHash (const std::string &hash, const bool testing=false) |
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > | extractChannelListFromJson (const std::string &jsonReply) |
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > | channelListForTag (const std::string &tag, const bool testing=false) |
std::map< cool::ChannelId, std::string > | channelNameMap (const std::string &folderName) |
std::string | getPayloadForTag (const std::string &tag, const bool testing=false) |
std::string | folderDescriptionForTag (const std::string &tag, const bool testing=false) |
std::string | payloadSpecificationForTag (const std::string &tag, const bool testing=false) |
std::string | extractDescriptionFromJson (const std::string &jsonReply) |
std::string | resolveCrestTag (const std::string &globalTagName, const std::string &folderName, const std::string &forceTag="", const bool testing=false) |
std::string | jsonTagName (const std::string &globalTag, const std::string &folderName) |
std::map< std::string, std::string > | getGlobalTagMap (const std::string &globaltag) |
nlohmann::json | getTagInfo (const std::string &tag) |
nlohmann::json | getTagProperties (const std::string &tag) |
std::string | extractPayloadSpecification (const std::string &tag, nlohmann::json tagMeta) |
std::string | getTagInfoElement (nlohmann::json tag_info, const std::string &key) |
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > | extractChannelListFromString (const std::string &chanString) |
std::string | extractSpecificationFromJson (const std::string &jsonReply) |
Private Attributes | |
std::string | m_CREST_PATH = "" |
Definition at line 28 of file CrestFunctions.h.
IOVDbNamespace::CrestFunctions::CrestFunctions | ( | const std::string & | crest_path | ) |
std::pair<std::vector<cool::ChannelId> , std::vector<std::string> > IOVDbNamespace::CrestFunctions::channelListForTag | ( | const std::string & | tag, |
const bool | testing = false |
||
) |
std::map<cool::ChannelId, std::string> IOVDbNamespace::CrestFunctions::channelNameMap | ( | const std::string & | folderName | ) |
std::pair<std::vector<cool::ChannelId> , std::vector<std::string> > IOVDbNamespace::CrestFunctions::extractChannelListFromJson | ( | const std::string & | jsonReply | ) |
std::pair<std::vector<cool::ChannelId> , std::vector<std::string> > IOVDbNamespace::CrestFunctions::extractChannelListFromString | ( | const std::string & | chanString | ) |
std::string IOVDbNamespace::CrestFunctions::extractDescriptionFromJson | ( | const std::string & | jsonReply | ) |
std::string IOVDbNamespace::CrestFunctions::extractHashFromJson | ( | const std::string & | jsonReply | ) |
std::vector<IovHashPair> IOVDbNamespace::CrestFunctions::extractIovAndHash | ( | const std::string_view | jsonReply | ) |
std::string IOVDbNamespace::CrestFunctions::extractPayloadSpecification | ( | const std::string & | tag, |
nlohmann::json | tagMeta | ||
) |
std::string IOVDbNamespace::CrestFunctions::extractSpecificationFromJson | ( | const std::string & | jsonReply | ) |
std::string IOVDbNamespace::CrestFunctions::folderDescriptionForTag | ( | const std::string & | tag, |
const bool | testing = false |
||
) |
std::map<std::string, std::string> IOVDbNamespace::CrestFunctions::getGlobalTagMap | ( | const std::string & | globaltag | ) |
std::vector<IovHashPair> IOVDbNamespace::CrestFunctions::getIovsForTag | ( | const std::string & | tag, |
const bool | testing = false |
||
) |
std::string IOVDbNamespace::CrestFunctions::getLastHashForTag | ( | const std::string & | tag, |
const bool | testing = false |
||
) |
std::string IOVDbNamespace::CrestFunctions::getPayloadForHash | ( | const std::string & | hash, |
const bool | testing = false |
||
) |
std::string IOVDbNamespace::CrestFunctions::getPayloadForTag | ( | const std::string & | tag, |
const bool | testing = false |
||
) |
nlohmann::json IOVDbNamespace::CrestFunctions::getTagInfo | ( | const std::string & | tag | ) |
std::string IOVDbNamespace::CrestFunctions::getTagInfoElement | ( | nlohmann::json | tag_info, |
const std::string & | key | ||
) |
nlohmann::json IOVDbNamespace::CrestFunctions::getTagProperties | ( | const std::string & | tag | ) |
const std::string& IOVDbNamespace::CrestFunctions::getURLBase | ( | ) |
std::string IOVDbNamespace::CrestFunctions::jsonTagName | ( | const std::string & | globalTag, |
const std::string & | folderName | ||
) |
std::string IOVDbNamespace::CrestFunctions::payloadSpecificationForTag | ( | const std::string & | tag, |
const bool | testing = false |
||
) |
std::string IOVDbNamespace::CrestFunctions::resolveCrestTag | ( | const std::string & | globalTagName, |
const std::string & | folderName, | ||
const std::string & | forceTag = "" , |
||
const bool | testing = false |
||
) |
void IOVDbNamespace::CrestFunctions::setURLBase | ( | const std::string & | crest_path | ) |
|
private |
Definition at line 103 of file CrestFunctions.h.