|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef IOVDbSvc_Cool2Json_h
9 #define IOVDbSvc_Cool2Json_h
14 #include "CoolKernel/ValidityKey.h"
15 #include "CoolKernel/IFolder.h"
16 #include "CoolKernel/pointers.h"
19 class ChannelSelection;
34 Cool2Json(
const cool::IFolderPtr & pFolder,
const cool::ValidityKey &
since,
35 const cool::ValidityKey &
until,
const cool::ChannelSelection &
m_chansel,
48 std::string
iov()
const;
51 unsigned int nchans()
const;
57 const std::string&
tag()
const;
88 static std::string
formatCvp(
const cool::IObjectIteratorPtr & itr);
89 static std::string
formatAttrList(
const cool::IObjectIteratorPtr & itr);
90 static std::string
formatPoolRef(
const cool::IObjectIteratorPtr & itr);
static std::string formatCvp(const cool::IObjectIteratorPtr &itr)
static std::string open()
json open tag, '{'
std::ostream & operator<<(std::ostream &o, const Cool2Json &c)
const cool::ValidityKey m_stop
Cool2Json(const cool::IFolderPtr &pFolder, const cool::ValidityKey &since, const cool::ValidityKey &until, const cool::ChannelSelection &m_chansel, const std::string &folderTag)
const cool::IFolderPtr m_pFolder
const cool::ValidityKey m_start
friend std::ostream & operator<<(std::ostream &o, const Cool2Json &c)
std::string payload()
Payload (data for the given channel selection and iov)
static std::string delimiter()
json standard delimiter ', '
const std::string & payloadSpec() const
Payload specification for this folder.
static std::string formatPoolRef(const cool::IObjectIteratorPtr &itr)
static std::string formatAttrList(const cool::IObjectIteratorPtr &itr)
const std::string & tag() const
Simply the tag string passed to the constructor.
std::string iov() const
Formatted iov as '[<since>, <until>]'.
static std::string close()
json close tag, '}'
std::string description() const
Folder description string.
std::string iovBase() const
'time' (ns of epoch) or 'run-lumi'
unsigned int nchans() const
Number of channels in the folder.
const cool::ChannelSelection m_chansel