![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef IOVDBSVC_CRESTFUNCTIONS_H
13 #define IOVDBSVC_CRESTFUNCTIONS_H
18 #include <string_view>
20 #include "CoolKernel/ChannelId.h"
22 #include "nlohmann/json.hpp"
39 std::vector<IovHashPair>
45 std::vector<IovHashPair>
54 std::pair<std::vector<cool::ChannelId> , std::vector<std::string>>
57 std::pair<std::vector<cool::ChannelId> , std::vector<std::string>>
60 std::map<cool::ChannelId, std::string>
76 resolveCrestTag(
const std::string & globalTagName,
const std::string &
folderName,
const std::string & forceTag=
"",
const bool testing=
false);
82 std::map<std::string, std::string>
95 std::pair<std::vector<cool::ChannelId> , std::vector<std::string>>
std::map< std::string, std::string > getGlobalTagMap(const std::string &globaltag)
std::string payloadSpecificationForTag(const std::string &tag, const bool testing=false)
void setURLBase(const std::string &crest_path)
const std::string & getURLBase()
std::pair< std::string, std::string > IovHashPair
std::vector< IovHashPair > extractIovAndHash(const std::string_view jsonReply)
std::string extractSpecificationFromJson(const std::string &jsonReply)
nlohmann::json getTagProperties(const std::string &tag)
CrestFunctions(const std::string &crest_path)
std::string resolveCrestTag(const std::string &globalTagName, const std::string &folderName, const std::string &forceTag="", const bool testing=false)
std::string extractHashFromJson(const std::string &jsonReply)
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > channelListForTag(const std::string &tag, const bool testing=false)
std::string folderDescriptionForTag(const std::string &tag, const bool testing=false)
std::string getLastHashForTag(const std::string &tag, const bool testing=false)
std::string extractPayloadSpecification(const std::string &tag, nlohmann::json tagMeta)
std::string getPayloadForTag(const std::string &tag, const bool testing=false)
std::map< cool::ChannelId, std::string > channelNameMap(const std::string &folderName)
std::string getTagInfoElement(nlohmann::json tag_info, const std::string &key)
nlohmann::json getTagInfo(const std::string &tag)
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > extractChannelListFromString(const std::string &chanString)
std::string jsonTagName(const std::string &globalTag, const std::string &folderName)
std::vector< IovHashPair > getIovsForTag(const std::string &tag, const bool testing=false)
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > extractChannelListFromJson(const std::string &jsonReply)
std::string getPayloadForHash(const std::string &hash, const bool testing=false)
std::string extractDescriptionFromJson(const std::string &jsonReply)