|
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 void setURLBase(
const std::string & crest_path);
44 std::vector<IovHashPair>
59 std::map<std::string, std::string>
69 std::pair<std::vector<cool::ChannelId> , std::vector<std::string>>
75 std::pair<uint64_t,uint64_t>
81 std::pair<uint64_t,uint64_t>
std::vector< IovHashPair > getIovsForTag(const std::string &tag, uint64_t since, uint64_t until)
Header file for CREST C++ Client Library.
std::pair< uint64_t, uint64_t > getIovInterval(const std::string &tag, const uint64_t since, const uint64_t until)
std::unique_ptr< Crest::CrestApiBase > m_crestCl
std::pair< uint64_t, uint64_t > getSinceUntilPair(const std::vector< uint64_t > &v, const uint64_t since, const uint64_t until)
void setURLBase(const std::string &crest_path)
std::pair< std::string, std::string > IovHashPair
std::pair< std::vector< cool::ChannelId >, std::vector< std::string > > extractChannelListFromString(const std::string &chanString)
nlohmann::json getTagProperties(const std::string &tag)
CrestFunctions(const std::string &crest_path)
std::string extractHashFromJson(const std::string &jsonReply)
std::string getTagInfoElement(nlohmann::json tag_info, const std::string &key)
nlohmann::json getTagInfo(const std::string &tag)
nlohmann::json getResources(nlohmann::json &js)
const std::string & getURLBase()
std::string getPayloadForHash(const std::string &hash)
std::vector< uint64_t > getIovGroups(const std::string &tag)
std::string folderDescriptionForTag(const std::string &tag)
int getTagSize(const std::string &tagname)
std::string getLastHashForTag(const std::string &tag)
std::map< std::string, std::string > getGlobalTagMap(const std::string &globaltag)
std::string extractDescriptionFromJson(const std::string &jsonReply)