ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
IOVDbNamespace::CrestFunctions Class Reference

#include <CrestFunctions.h>

Collaboration diagram for IOVDbNamespace::CrestFunctions:

Public Member Functions

 CrestFunctions (const std::string &crest_path)
 
const std::string & getURLBase ()
 
void setURLBase (const std::string &crest_path)
 
std::vector< IovHashPairextractIovAndHash (const std::string_view jsonReply)
 
std::string extractHashFromJson (const std::string &jsonReply)
 
std::vector< IovHashPairgetIovsForTag (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 = ""
 

Detailed Description

Definition at line 28 of file CrestFunctions.h.

Constructor & Destructor Documentation

◆ CrestFunctions()

IOVDbNamespace::CrestFunctions::CrestFunctions ( const std::string &  crest_path)

Member Function Documentation

◆ channelListForTag()

std::pair<std::vector<cool::ChannelId> , std::vector<std::string> > IOVDbNamespace::CrestFunctions::channelListForTag ( const std::string &  tag,
const bool  testing = false 
)

◆ channelNameMap()

std::map<cool::ChannelId, std::string> IOVDbNamespace::CrestFunctions::channelNameMap ( const std::string &  folderName)

◆ extractChannelListFromJson()

std::pair<std::vector<cool::ChannelId> , std::vector<std::string> > IOVDbNamespace::CrestFunctions::extractChannelListFromJson ( const std::string &  jsonReply)

◆ extractChannelListFromString()

std::pair<std::vector<cool::ChannelId> , std::vector<std::string> > IOVDbNamespace::CrestFunctions::extractChannelListFromString ( const std::string &  chanString)

◆ extractDescriptionFromJson()

std::string IOVDbNamespace::CrestFunctions::extractDescriptionFromJson ( const std::string &  jsonReply)

◆ extractHashFromJson()

std::string IOVDbNamespace::CrestFunctions::extractHashFromJson ( const std::string &  jsonReply)

◆ extractIovAndHash()

std::vector<IovHashPair> IOVDbNamespace::CrestFunctions::extractIovAndHash ( const std::string_view  jsonReply)

◆ extractPayloadSpecification()

std::string IOVDbNamespace::CrestFunctions::extractPayloadSpecification ( const std::string &  tag,
nlohmann::json  tagMeta 
)

◆ extractSpecificationFromJson()

std::string IOVDbNamespace::CrestFunctions::extractSpecificationFromJson ( const std::string &  jsonReply)

◆ folderDescriptionForTag()

std::string IOVDbNamespace::CrestFunctions::folderDescriptionForTag ( const std::string &  tag,
const bool  testing = false 
)

◆ getGlobalTagMap()

std::map<std::string, std::string> IOVDbNamespace::CrestFunctions::getGlobalTagMap ( const std::string &  globaltag)

◆ getIovsForTag()

std::vector<IovHashPair> IOVDbNamespace::CrestFunctions::getIovsForTag ( const std::string &  tag,
const bool  testing = false 
)

◆ getLastHashForTag()

std::string IOVDbNamespace::CrestFunctions::getLastHashForTag ( const std::string &  tag,
const bool  testing = false 
)

◆ getPayloadForHash()

std::string IOVDbNamespace::CrestFunctions::getPayloadForHash ( const std::string &  hash,
const bool  testing = false 
)

◆ getPayloadForTag()

std::string IOVDbNamespace::CrestFunctions::getPayloadForTag ( const std::string &  tag,
const bool  testing = false 
)

◆ getTagInfo()

nlohmann::json IOVDbNamespace::CrestFunctions::getTagInfo ( const std::string &  tag)

◆ getTagInfoElement()

std::string IOVDbNamespace::CrestFunctions::getTagInfoElement ( nlohmann::json  tag_info,
const std::string &  key 
)

◆ getTagProperties()

nlohmann::json IOVDbNamespace::CrestFunctions::getTagProperties ( const std::string &  tag)

◆ getURLBase()

const std::string& IOVDbNamespace::CrestFunctions::getURLBase ( )

◆ jsonTagName()

std::string IOVDbNamespace::CrestFunctions::jsonTagName ( const std::string &  globalTag,
const std::string &  folderName 
)

◆ payloadSpecificationForTag()

std::string IOVDbNamespace::CrestFunctions::payloadSpecificationForTag ( const std::string &  tag,
const bool  testing = false 
)

◆ resolveCrestTag()

std::string IOVDbNamespace::CrestFunctions::resolveCrestTag ( const std::string &  globalTagName,
const std::string &  folderName,
const std::string &  forceTag = "",
const bool  testing = false 
)

◆ setURLBase()

void IOVDbNamespace::CrestFunctions::setURLBase ( const std::string &  crest_path)

Member Data Documentation

◆ m_CREST_PATH

std::string IOVDbNamespace::CrestFunctions::m_CREST_PATH = ""
private

Definition at line 103 of file CrestFunctions.h.


The documentation for this class was generated from the following file: