Loading [MathJax]/extensions/tex2jax.js
 |
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"
24 #include <CrestApi/CrestApiBase.h>
39 void setURLBase(
const std::string & crest_path);
44 std::vector<IovHashPair>
56 std::pair<uint64_t,uint64_t>
62 std::pair<uint64_t,uint64_t>
std::vector< IovHashPair > getIovsForTag(const std::string &tag, uint64_t since, uint64_t until)
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
CrestFunctions(const std::string &crest_path)
std::string extractHashFromJson(const std::string &jsonReply)
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)
int getTagSize(const std::string &tagname)
std::string getLastHashForTag(const std::string &tag)